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()); |