FW: RFR (S): memory handling improvements

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed Dec 12 08:28:08 PST 2012


Hi,


= > Sorry, now I fixed the link to the webrev.

I found two fixes for memory handling in our (SAP) hotspot code and want
to share this with you:
http://cr.openjdk.java.net/~goetz/webrevs/webrev-mem/

In classLoader.cpp there is a memory leak, easy to be fixed.

In parNewGeneration we allocate the overflow list elements
on an arena. This is faster to allocate and no free is necessary.  It performed
better with our VM than malloc/free.

I propose to change openJDK accordingly.

Best regards,
  Goetz Lindenmaier






More information about the hotspot-dev mailing list