harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r544511 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp
Date Tue, 05 Jun 2007 15:11:57 GMT
Author: gshimansky
Date: Tue Jun  5 08:11:56 2007
New Revision: 544511

URL: http://svn.apache.org/viewvc?view=rev&rev=544511
Log:
Applied HARMONY-4027 [drlvm][object][tc]Known/proven race conditions markup at \vm\vmcore\src\object\vm_arrays.cpp
at vm_anewarray_resolved_array_type function.


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp?view=diff&rev=544511&r1=544510&r2=544511
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp Tue Jun  5 08:11:56 2007
@@ -64,7 +64,9 @@
 static Vector_Handle vm_anewarray_resolved_array_type(Class *arr_clss, int length)
 {
 #ifdef VM_STATS
+    UNSAFE_REGION_START
     VM_Statistics::get_vm_stats().num_anewarray++;  
+    UNSAFE_REGION_END
 #endif
     ASSERT_RAISE_AREA;
     assert(!hythread_is_suspend_enabled());



Mime
View raw message