RFR(M): 8008555: Debugging code in compiled method sometimes leaks memory
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:
>> 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:
I couldn't find where you put the assert or other null check but I'm fine with the change.
More information about the hotspot-compiler-dev