Mercurial > hg > truffle
comparison src/share/vm/ci/ciObjectFactory.cpp @ 11034:e0c9a1d29eb4
8016325: JVM hangs verifying system dictionary
Summary: Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
author | coleenp |
---|---|
date | Mon, 24 Jun 2013 18:55:46 -0400 |
parents | d804e148cff8 |
children | 6b0fd0964b87 f98f5d48f511 |
comparison
equal
deleted
inserted
replaced
11033:d9eed26d638a | 11034:e0c9a1d29eb4 |
---|---|
262 // Get the ciObject corresponding to some oop. If the ciObject has | 262 // Get the ciObject corresponding to some oop. If the ciObject has |
263 // already been created, it is returned. Otherwise, a new ciObject | 263 // already been created, it is returned. Otherwise, a new ciObject |
264 // is created. | 264 // is created. |
265 ciMetadata* ciObjectFactory::get_metadata(Metadata* key) { | 265 ciMetadata* ciObjectFactory::get_metadata(Metadata* key) { |
266 ASSERT_IN_VM; | 266 ASSERT_IN_VM; |
267 | |
268 assert(key == NULL || key->is_metadata(), "must be"); | |
269 | 267 |
270 #ifdef ASSERT | 268 #ifdef ASSERT |
271 if (CIObjectFactoryVerify) { | 269 if (CIObjectFactoryVerify) { |
272 Metadata* last = NULL; | 270 Metadata* last = NULL; |
273 for (int j = 0; j< _ci_metadata->length(); j++) { | 271 for (int j = 0; j< _ci_metadata->length(); j++) { |