equal
deleted
inserted
replaced
58 void InterpreterCodelet::verify() { |
58 void InterpreterCodelet::verify() { |
59 } |
59 } |
60 |
60 |
61 |
61 |
62 void InterpreterCodelet::print_on(outputStream* st) const { |
62 void InterpreterCodelet::print_on(outputStream* st) const { |
|
63 ttyLocker ttyl; |
|
64 |
63 if (PrintInterpreter) { |
65 if (PrintInterpreter) { |
64 st->cr(); |
66 st->cr(); |
65 st->print_cr("----------------------------------------------------------------------"); |
67 st->print_cr("----------------------------------------------------------------------"); |
66 } |
68 } |
67 |
69 |
70 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes", |
72 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes", |
71 code_begin(), code_end(), code_size()); |
73 code_begin(), code_end(), code_size()); |
72 |
74 |
73 if (PrintInterpreter) { |
75 if (PrintInterpreter) { |
74 st->cr(); |
76 st->cr(); |
75 Disassembler::decode(code_begin(), code_end(), st); |
77 Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_comments) NOT_DEBUG(CodeComments())); |
76 } |
78 } |
77 } |
79 } |
78 |
80 |
79 |
81 |
80 //------------------------------------------------------------------------------------------------------------------------ |
82 //------------------------------------------------------------------------------------------------------------------------ |