comparison src/share/vm/code/dependencies.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 ef57c43512d6
children 6b0fd0964b87 ac9cb1d5a202
comparison
equal deleted inserted replaced
11033:d9eed26d638a 11034:e0c9a1d29eb4
653 if (_code != NULL) { 653 if (_code != NULL) {
654 o = _code->metadata_at(i); 654 o = _code->metadata_at(i);
655 } else { 655 } else {
656 o = _deps->oop_recorder()->metadata_at(i); 656 o = _deps->oop_recorder()->metadata_at(i);
657 } 657 }
658 assert(o == NULL || o->is_metadata(), 658 assert(o == NULL || o->is_metaspace_object(),
659 err_msg("Should be perm " PTR_FORMAT, o)); 659 err_msg("Should be metadata " PTR_FORMAT, o));
660 return o; 660 return o;
661 } 661 }
662 662
663 inline oop Dependencies::DepStream::recorded_oop_at(int i) { 663 inline oop Dependencies::DepStream::recorded_oop_at(int i) {
664 return (_code != NULL) 664 return (_code != NULL)