RFR(M): 8008555: Debugging code in compiled method sometimes leaks memory
Christian Thalinger
christian.thalinger at oracle.com
Fri Mar 15 18:06:39 PDT 2013
On Mar 15, 2013, at 9:48 AM, Roland Westrelin <roland.westrelin at oracle.com> wrote:
> That:
>
>> Same change but rather than allocate temporary strings in the heap, they are allocated in the resource area and built with stringStream:
>
> wasn't correct because the relocs are stores in a piece of memory that is allocated in the resource area. I kept the stringStream but made sure the ResourceMark only affect the strings. New and hopefully last webrev:
>
> http://cr.openjdk.java.net/~roland/8008555/webrev.03/
I couldn't find where you put the assert or other null check but I'm fine with the change.
-- Chris
>
> Roland.
>
More information about the hotspot-compiler-dev
mailing list