hotspot/src/share/vm/oops/constMethod.cpp
changeset 18439 725ce18186b3
parent 17858 c292f8791cca
child 24424 2658d7834c6e
equal deleted inserted replaced
18438:9ea6bbfe0b83 18439:725ce18186b3
   438 
   438 
   439 // Verification
   439 // Verification
   440 
   440 
   441 void ConstMethod::verify_on(outputStream* st) {
   441 void ConstMethod::verify_on(outputStream* st) {
   442   guarantee(is_constMethod(), "object must be constMethod");
   442   guarantee(is_constMethod(), "object must be constMethod");
   443   guarantee(is_metadata(), err_msg("Should be metadata " PTR_FORMAT, this));
       
   444 
   443 
   445   // Verification can occur during oop construction before the method or
   444   // Verification can occur during oop construction before the method or
   446   // other fields have been initialized.
   445   // other fields have been initialized.
   447   guarantee(method()->is_method(), "should be method");
   446   guarantee(method()->is_method(), "should be method");
   448 
   447