RFR(M): 8008555: Debugging code in compiled method sometimes leaks memory
Christian Thalinger
christian.thalinger at oracle.com
Wed Mar 13 12:15:55 PDT 2013
On Mar 12, 2013, at 9:56 AM, Roland Westrelin <roland.westrelin at oracle.com> wrote:
> Same change but rather than allocate temporary strings in the heap, they are allocated in the resource area and built with stringStream:
>
> http://cr.openjdk.java.net/~roland/8008555/webrev.02/
For every use of code_string you basically have this code pattern:
+ const char* str = code_string(ss.as_string());
+ assert(str != NULL, "no string?");
Perhaps we should assert for null in code_string itself?
-- Chris
>
> Roland.
>
More information about the hotspot-compiler-dev
mailing list