comparison src/share/vm/interpreter/interpreter.cpp @ 8767:a5de0cc2f91c

8008555: Debugging code in compiled method sometimes leaks memory Summary: support for strings that have same life-time as code that uses them. Reviewed-by: kvn, twisti
author roland
date Mon, 18 Mar 2013 13:19:06 +0100
parents cd3d6a6b95d9
children b9a918201d47 b800986664f4
comparison
equal deleted inserted replaced
8765:592f9722c72e 8767:a5de0cc2f91c
74 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes", 74 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes",
75 code_begin(), code_end(), code_size()); 75 code_begin(), code_end(), code_size());
76 76
77 if (PrintInterpreter) { 77 if (PrintInterpreter) {
78 st->cr(); 78 st->cr();
79 Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_comments) NOT_DEBUG(CodeComments())); 79 Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_strings) NOT_DEBUG(CodeStrings()));
80 } 80 }
81 } 81 }
82 82
83 83
84 //------------------------------------------------------------------------------------------------------------------------ 84 //------------------------------------------------------------------------------------------------------------------------