hotspot/src/share/vm/oops/methodKlass.cpp
changeset 5702 201c5cde25bb
parent 5547 f4b087cbb361
parent 5696 93e15b419ad4
child 6248 2e661807cef0
equal deleted inserted replaced
5685:0e4c848d5c06 5702:201c5cde25bb
   235   ResourceMark rm;
   235   ResourceMark rm;
   236   assert(obj->is_method(), "must be method");
   236   assert(obj->is_method(), "must be method");
   237   Klass::oop_print_on(obj, st);
   237   Klass::oop_print_on(obj, st);
   238   methodOop m = methodOop(obj);
   238   methodOop m = methodOop(obj);
   239   // get the effect of PrintOopAddress, always, for methods:
   239   // get the effect of PrintOopAddress, always, for methods:
   240   st->print   (" - this oop:          "INTPTR_FORMAT, (intptr_t)m);
   240   st->print_cr(" - this oop:          "INTPTR_FORMAT, (intptr_t)m);
   241   st->print   (" - method holder:     ");    m->method_holder()->print_value_on(st); st->cr();
   241   st->print   (" - method holder:     ");    m->method_holder()->print_value_on(st); st->cr();
   242   st->print   (" - constants:         "INTPTR_FORMAT" ", (address)m->constants());
   242   st->print   (" - constants:         "INTPTR_FORMAT" ", (address)m->constants());
   243   m->constants()->print_value_on(st); st->cr();
   243   m->constants()->print_value_on(st); st->cr();
   244   st->print   (" - access:            0x%x  ", m->access_flags().as_int()); m->access_flags().print_on(st); st->cr();
   244   st->print   (" - access:            0x%x  ", m->access_flags().as_int()); m->access_flags().print_on(st); st->cr();
   245   st->print   (" - name:              ");    m->name()->print_value_on(st); st->cr();
   245   st->print   (" - name:              ");    m->name()->print_value_on(st); st->cr();