hotspot/src/share/vm/interpreter/rewriter.cpp
changeset 15928 f9d5c6e4107f
parent 15799 6aa92f9debd2
child 21557 55115e0708f1
--- a/hotspot/src/share/vm/interpreter/rewriter.cpp	Thu Mar 07 14:06:44 2013 -0500
+++ b/hotspot/src/share/vm/interpreter/rewriter.cpp	Fri Mar 08 11:47:57 2013 -0500
@@ -84,15 +84,13 @@
   const int length = _cp_cache_map.length();
   ClassLoaderData* loader_data = _pool->pool_holder()->class_loader_data();
   ConstantPoolCache* cache =
-      ConstantPoolCache::allocate(loader_data, length, CHECK);
+      ConstantPoolCache::allocate(loader_data, length, _cp_cache_map,
+                                  _invokedynamic_references_map, CHECK);
 
   // initialize object cache in constant pool
   _pool->initialize_resolved_references(loader_data, _resolved_references_map,
                                         _resolved_reference_limit,
                                         CHECK);
-
-  No_Safepoint_Verifier nsv;
-  cache->initialize(_cp_cache_map, _invokedynamic_references_map);
   _pool->set_cache(cache);
   cache->set_constant_pool(_pool());
 }