src/share/vm/code/codeBlob.hpp

changeset 4117
f2e12eb74117
parent 4107
b31471cdc53e
child 4767
a5de0cc2f91c
equal deleted inserted replaced
4100:15fba4382765 4117:f2e12eb74117
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

mercurial