equal
deleted
inserted
replaced
107 // Clean up constant pool cache if initialize_resolved_references() failed. |
107 // Clean up constant pool cache if initialize_resolved_references() failed. |
108 if (HAS_PENDING_EXCEPTION) { |
108 if (HAS_PENDING_EXCEPTION) { |
109 MetadataFactory::free_metadata(loader_data, cache); |
109 MetadataFactory::free_metadata(loader_data, cache); |
110 _pool->set_cache(NULL); // so the verifier isn't confused |
110 _pool->set_cache(NULL); // so the verifier isn't confused |
111 } |
111 } |
|
112 |
|
113 DEBUG_ONLY( |
|
114 if (DumpSharedSpaces) { |
|
115 cache->verify_just_initialized(); |
|
116 }) |
112 } |
117 } |
113 |
118 |
114 |
119 |
115 |
120 |
116 // The new finalization semantics says that registration of |
121 // The new finalization semantics says that registration of |