src/hotspot/share/interpreter/rewriter.cpp
changeset 49372 3bb8b00832d0
parent 48826 c4d9d1b08e2e
child 49480 d7df2dd501ce
equal deleted inserted replaced
49371:59ad6672bf78 49372:3bb8b00832d0
   109 
   109 
   110   // Clean up constant pool cache if initialize_resolved_references() failed.
   110   // Clean up constant pool cache if initialize_resolved_references() failed.
   111   if (HAS_PENDING_EXCEPTION) {
   111   if (HAS_PENDING_EXCEPTION) {
   112     MetadataFactory::free_metadata(loader_data, cache);
   112     MetadataFactory::free_metadata(loader_data, cache);
   113     _pool->set_cache(NULL);  // so the verifier isn't confused
   113     _pool->set_cache(NULL);  // so the verifier isn't confused
   114   }
   114   } else {
   115 
   115     DEBUG_ONLY(
   116   DEBUG_ONLY(
   116     if (DumpSharedSpaces) {
   117   if (DumpSharedSpaces) {
   117       cache->verify_just_initialized();
   118     cache->verify_just_initialized();
   118     })
   119   })
   119   }
   120 }
   120 }
   121 
   121 
   122 
   122 
   123 
   123 
   124 // The new finalization semantics says that registration of
   124 // The new finalization semantics says that registration of