diff src/share/vm/compiler/disassembler.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 3d701c802d01
children de6a9e811145 bdd155477289
line wrap: on
line diff
--- a/src/share/vm/compiler/disassembler.hpp	Sat Mar 16 21:44:52 2013 -0700
+++ b/src/share/vm/compiler/disassembler.hpp	Mon Mar 18 13:19:06 2013 +0100
@@ -100,7 +100,7 @@
   }
   static void decode(CodeBlob *cb,               outputStream* st = NULL);
   static void decode(nmethod* nm,                outputStream* st = NULL);
-  static void decode(address begin, address end, outputStream* st = NULL, CodeComments c = CodeComments());
+  static void decode(address begin, address end, outputStream* st = NULL, CodeStrings c = CodeStrings());
 };
 
 #endif // SHARE_VM_COMPILER_DISASSEMBLER_HPP