< prev index next >

src/hotspot/share/classfile/dictionary.cpp

Print this page




 624   Klass* e = instance_klass();
 625   guarantee(e->is_instance_klass(),
 626                           "Verify of dictionary failed");
 627   e->verify();
 628   verify_protection_domain_set();
 629 }
 630 
 631 void Dictionary::verify() {
 632   guarantee(number_of_entries() >= 0, "Verify of dictionary failed");
 633 
 634   ClassLoaderData* cld = loader_data();
 635   // class loader must be present;  a null class loader is the
 636   // boostrap loader
 637   guarantee(cld != NULL || DumpSharedSpaces ||
 638             cld->class_loader() == NULL ||
 639             cld->class_loader()->is_instance(),
 640             "checking type of class_loader");
 641 
 642   ResourceMark rm;
 643   stringStream tempst;
 644   tempst.print("System Dictionary for %s", cld->loader_name());
 645   verify_table<DictionaryEntry>(tempst.as_string());
 646 }


 624   Klass* e = instance_klass();
 625   guarantee(e->is_instance_klass(),
 626                           "Verify of dictionary failed");
 627   e->verify();
 628   verify_protection_domain_set();
 629 }
 630 
 631 void Dictionary::verify() {
 632   guarantee(number_of_entries() >= 0, "Verify of dictionary failed");
 633 
 634   ClassLoaderData* cld = loader_data();
 635   // class loader must be present;  a null class loader is the
 636   // boostrap loader
 637   guarantee(cld != NULL || DumpSharedSpaces ||
 638             cld->class_loader() == NULL ||
 639             cld->class_loader()->is_instance(),
 640             "checking type of class_loader");
 641 
 642   ResourceMark rm;
 643   stringStream tempst;
 644   tempst.print("System Dictionary for %s class loader", cld->loader_name_and_id());
 645   verify_table<DictionaryEntry>(tempst.as_string());
 646 }
< prev index next >