src/share/vm/oops/method.cpp

changeset 9327
f96fcd9e1e1b
parent 9184
fbcbfd2753b5
child 9448
73d689add964
equal deleted inserted replaced
9324:efdbe9b904ad 9327:f96fcd9e1e1b
1967 void Method::print_on(outputStream* st) const { 1967 void Method::print_on(outputStream* st) const {
1968 ResourceMark rm; 1968 ResourceMark rm;
1969 assert(is_method(), "must be method"); 1969 assert(is_method(), "must be method");
1970 st->print_cr("%s", internal_name()); 1970 st->print_cr("%s", internal_name());
1971 // get the effect of PrintOopAddress, always, for methods: 1971 // get the effect of PrintOopAddress, always, for methods:
1972 st->print_cr(" - this oop: "INTPTR_FORMAT, (intptr_t)this); 1972 st->print_cr(" - this oop: " INTPTR_FORMAT, (intptr_t)this);
1973 st->print (" - method holder: "); method_holder()->print_value_on(st); st->cr(); 1973 st->print (" - method holder: "); method_holder()->print_value_on(st); st->cr();
1974 st->print (" - constants: "INTPTR_FORMAT" ", (address)constants()); 1974 st->print (" - constants: " INTPTR_FORMAT " ", (address)constants());
1975 constants()->print_value_on(st); st->cr(); 1975 constants()->print_value_on(st); st->cr();
1976 st->print (" - access: 0x%x ", access_flags().as_int()); access_flags().print_on(st); st->cr(); 1976 st->print (" - access: 0x%x ", access_flags().as_int()); access_flags().print_on(st); st->cr();
1977 st->print (" - name: "); name()->print_value_on(st); st->cr(); 1977 st->print (" - name: "); name()->print_value_on(st); st->cr();
1978 st->print (" - signature: "); signature()->print_value_on(st); st->cr(); 1978 st->print (" - signature: "); signature()->print_value_on(st); st->cr();
1979 st->print_cr(" - max stack: %d", max_stack()); 1979 st->print_cr(" - max stack: %d", max_stack());

mercurial