hotspot/src/share/vm/code/codeBlob.hpp
changeset 13887 89b873bcc55b
parent 13728 882756847a04
child 16368 713209c45a82
equal deleted inserted replaced
13886:8d82c4dfa722 13887:89b873bcc55b
   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