equal
deleted
inserted
replaced
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 |