comparison src/share/vm/oops/methodKlass.cpp @ 1579:e9ff18c4ace7

Merge
author jrose
date Wed, 02 Jun 2010 22:45:42 -0700
parents c18cbe5936b8 beb77f0d41b3
children 9d7a8ab3736b
comparison
equal deleted inserted replaced
1562:dfe27f03244a 1579:e9ff18c4ace7
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();