You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/05/28 13:25:46 UTC
svn commit: r542202 -
/harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp
Author: gshimansky
Date: Mon May 28 04:25:45 2007
New Revision: 542202
URL: http://svn.apache.org/viewvc?view=rev&rev=542202
Log:
Applied HARMONY-3948 [drlvm][port][lil] Known/proven race conditions markup at at "stack_iterator_ia32.cpp":67 at si_unwind_from_m2n()
Modified:
harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp?view=diff&rev=542202&r1=542201&r2=542202
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp Mon May 28 04:25:45 2007
@@ -36,6 +36,7 @@
#include "clog.h"
#include "dump.h"
+#include "port_threadunsafe.h"
// Invariants:
// Native frames:
@@ -64,7 +65,9 @@
static void si_unwind_from_m2n(StackIterator* si, bool over_popped = true)
{
#ifdef VM_STATS
+ UNSAFE_REGION_START
VM_Statistics::get_vm_stats().num_unwind_native_frames_all++;
+ UNSAFE_REGION_END
#endif
M2nFrame* m2nfl = si->m2nfl;