harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r544513 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/method_lookup.cpp
Date Tue, 05 Jun 2007 15:12:42 GMT
Author: gshimansky
Date: Tue Jun  5 08:12:41 2007
New Revision: 544513

URL: http://svn.apache.org/viewvc?view=rev&rev=544513
Log:
Applied HARMONY-4045 [drlvm][classloader][tc]Known/proven race conditions markup at vm\vmcore\src\class_support\method_lookup.cpp
at find function


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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/method_lookup.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/method_lookup.cpp?view=diff&rev=544513&r1=544512&r2=544513
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/method_lookup.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/method_lookup.cpp Tue Jun  5
08:12:41 2007
@@ -240,7 +240,9 @@
     }
 #endif //USE_METHOD_LOOKUP_CACHE
 #ifdef VM_STATS
+    UNSAFE_REGION_START
     VM_Statistics::get_vm_stats().num_method_lookup_cache_miss++;
+    UNSAFE_REGION_END
 #endif //VM_STATS
 
     vm_env->p_meth_addr_table_lock->_lock();



Mime
View raw message