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:26:18 UTC
svn commit: r542203 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
Author: gshimansky
Date: Mon May 28 04:26:18 2007
New Revision: 542203
URL: http://svn.apache.org/viewvc?view=rev&rev=542203
Log:
Applied HARMONY-3959 [drlvm][exception] Known/proven race conditions markup at vm\vmcore\src\exception\exceptions_jit.cpp at exn_propagate_exception() function
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp?view=diff&rev=542203&r1=542202&r2=542203
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/exception/exceptions_jit.cpp Mon May 28 04:26:18 2007
@@ -43,6 +43,8 @@
#include "vm_stats.h"
#include "jvmti_break_intf.h"
#include "cci.h"
+#include "port_threadunsafe.h"
+
#ifdef _IPF_
#include "../m2n_ipf_internal.h"
@@ -238,7 +240,9 @@
#ifdef VM_STATS
exn_class->class_thrown();
+ UNSAFE_REGION_START
VM_Statistics::get_vm_stats().num_exceptions++;
+ UNSAFE_REGION_END
#endif // VM_STATS
// Remove single step breakpoints which could have been set on the