diff src/share/vm/code/codeBlob.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 b31471cdc53e
children b9a918201d47 a7fb14888912
line wrap: on
line diff
--- a/src/share/vm/code/codeBlob.cpp	Sat Mar 16 21:44:52 2013 -0700
+++ b/src/share/vm/code/codeBlob.cpp	Mon Mar 18 13:19:06 2013 +0100
@@ -186,7 +186,7 @@
     FREE_C_HEAP_ARRAY(unsigned char, _oop_maps, mtCode);
     _oop_maps = NULL;
   }
-  _comments.free();
+  _strings.free();
 }