Mercurial > hg > truffle
comparison src/share/vm/asm/assembler.hpp @ 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 | ffa87474d7a4 |
children | de6a9e811145 15120a36272d |
comparison
equal
deleted
inserted
replaced
8765:592f9722c72e | 8767:a5de0cc2f91c |
---|---|
334 | 334 |
335 // Associate a comment with the current offset. It will be printed | 335 // Associate a comment with the current offset. It will be printed |
336 // along with the disassembly when printing nmethods. Currently | 336 // along with the disassembly when printing nmethods. Currently |
337 // only supported in the instruction section of the code buffer. | 337 // only supported in the instruction section of the code buffer. |
338 void block_comment(const char* comment); | 338 void block_comment(const char* comment); |
339 // Copy str to a buffer that has the same lifetime as the CodeBuffer | |
340 const char* code_string(const char* str); | |
339 | 341 |
340 // Label functions | 342 // Label functions |
341 void bind(Label& L); // binds an unbound label L to the current code position | 343 void bind(Label& L); // binds an unbound label L to the current code position |
342 | 344 |
343 // Move to a different section in the same code buffer. | 345 // Move to a different section in the same code buffer. |