Mercurial > hg > graal-jvmci-8
diff src/share/vm/interpreter/rewriter.cpp @ 2273:2ab52cda08e5
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Thu, 03 Mar 2011 19:25:53 +0100 |
parents | d25d4ca69222 c5a923563727 |
children | 0654ee04b214 |
line wrap: on
line diff
--- a/src/share/vm/interpreter/rewriter.cpp Thu Feb 24 13:41:58 2011 +0100 +++ b/src/share/vm/interpreter/rewriter.cpp Thu Mar 03 19:25:53 2011 +0100 @@ -67,13 +67,11 @@ // Creates a constant pool cache given a CPC map -// This creates the constant pool cache initially in a state -// that is unsafe for concurrent GC processing but sets it to -// a safe mode before the constant pool cache is returned. void Rewriter::make_constant_pool_cache(TRAPS) { const int length = _cp_cache_map.length(); constantPoolCacheOop cache = - oopFactory::new_constantPoolCache(length, methodOopDesc::IsUnsafeConc, CHECK); + oopFactory::new_constantPoolCache(length, CHECK); + No_Safepoint_Verifier nsv; cache->initialize(_cp_cache_map); // Don't bother with the next pass if there is no JVM_CONSTANT_InvokeDynamic.