hotspot/src/share/vm/interpreter/rewriter.cpp
changeset 8296 b1c2163e4e59
parent 7913 dd096a83bdbb
child 9116 9bc44be338d6
--- a/hotspot/src/share/vm/interpreter/rewriter.cpp	Thu Feb 03 20:49:09 2011 -0800
+++ b/hotspot/src/share/vm/interpreter/rewriter.cpp	Mon Feb 07 22:19:57 2011 -0800
@@ -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.