equal
deleted
inserted
replaced
182 |
182 |
183 // Deal with Disassembler, VTune, Forte, JvmtiExport, MemoryService. |
183 // Deal with Disassembler, VTune, Forte, JvmtiExport, MemoryService. |
184 static void trace_new_stub(CodeBlob* blob, const char* name1, const char* name2 = ""); |
184 static void trace_new_stub(CodeBlob* blob, const char* name1, const char* name2 = ""); |
185 |
185 |
186 // Print the comment associated with offset on stream, if there is one |
186 // Print the comment associated with offset on stream, if there is one |
187 virtual void print_block_comment(outputStream* stream, address block_begin) { |
187 virtual void print_block_comment(outputStream* stream, address block_begin) const { |
188 intptr_t offset = (intptr_t)(block_begin - code_begin()); |
188 intptr_t offset = (intptr_t)(block_begin - code_begin()); |
189 _comments.print_block_comment(stream, offset); |
189 _comments.print_block_comment(stream, offset); |
190 } |
190 } |
191 |
191 |
192 // Transfer ownership of comments to this CodeBlob |
192 // Transfer ownership of comments to this CodeBlob |