harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r545254 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp
Date Thu, 07 Jun 2007 18:19:39 GMT
Author: gshimansky
Date: Thu Jun  7 11:19:38 2007
New Revision: 545254

URL: http://svn.apache.org/viewvc?view=rev&rev=545254
Log:
Apply patch from HARMONY-4071 [drlvm][classloader][tc] Known/proven race conditions markup
at class.h:(1781/1782) at instance_allocated function


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp?view=diff&rev=545254&r1=545253&r2=545254
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class.cpp Thu Jun  7 11:19:38
2007
@@ -482,8 +482,10 @@
     }
 
 #ifdef VM_STATS
+    UNSAFE_REGION_START
     VM_Statistics::get_vm_stats().num_class_alloc_new_object++;
     instance_allocated(m_instance_data_size);
+    UNSAFE_REGION_END
 #endif //VM_STATS
 
     return new_instance;



Mime
View raw message