equal
deleted
inserted
replaced
943 |
943 |
944 // Print out more verbose output usually for a newly created nmethod. |
944 // Print out more verbose output usually for a newly created nmethod. |
945 void nmethod::print_on(outputStream* st, const char* msg) const { |
945 void nmethod::print_on(outputStream* st, const char* msg) const { |
946 if (st != NULL) { |
946 if (st != NULL) { |
947 ttyLocker ttyl; |
947 ttyLocker ttyl; |
948 CompileTask::print_compilation(st, this, msg); |
948 if (WizardMode) { |
949 if (WizardMode) st->print(" (" INTPTR_FORMAT ")", this); |
949 CompileTask::print_compilation(st, this, msg, /*short_form:*/ true); |
|
950 st->print_cr(" (" INTPTR_FORMAT ")", this); |
|
951 } else { |
|
952 CompileTask::print_compilation(st, this, msg, /*short_form:*/ false); |
|
953 } |
950 } |
954 } |
951 } |
955 } |
952 |
956 |
953 |
957 |
954 void nmethod::print_nmethod(bool printmethod) { |
958 void nmethod::print_nmethod(bool printmethod) { |
962 print(); |
966 print(); |
963 // then print the requested information |
967 // then print the requested information |
964 if (printmethod) { |
968 if (printmethod) { |
965 print_code(); |
969 print_code(); |
966 print_pcs(); |
970 print_pcs(); |
967 oop_maps()->print(); |
971 if (oop_maps()) { |
|
972 oop_maps()->print(); |
|
973 } |
968 } |
974 } |
969 if (PrintDebugInfo) { |
975 if (PrintDebugInfo) { |
970 print_scopes(); |
976 print_scopes(); |
971 } |
977 } |
972 if (PrintRelocations) { |
978 if (PrintRelocations) { |