RFR(M): 8008555: Debugging code in compiled method sometimes leaks memory

Roland Westrelin roland.westrelin at oracle.com
Fri Mar 15 09:48:05 PDT 2013


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/

Roland.



More information about the hotspot-compiler-dev mailing list