comparison src/share/vm/code/codeBlob.hpp @ 6806:f2e12eb74117 hs25-b03

Merge
author kvn
date Fri, 28 Sep 2012 10:16:29 -0700
parents b31471cdc53e
children e522a00b91aa a5de0cc2f91c
comparison
equal deleted inserted replaced
6789:15fba4382765 6806: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