RFR (XS): 8007003: ParNew sends the heap summary too early

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Mon Mar 11 17:59:53 UTC 2013


Hi,

Looking for a couple of reviews for this small fix.

If there is a risk for promotion failure then ParNew can decide to do an early 
exit. In ParNew::collect, the heap summary event is sent before this check, 
which means that there might be a heap summary without a corresponding garbage 
collection event.

The fix is to send the event after the early exit.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8007003

Webrev: http://cr.openjdk.java.net/~jwilhelm/8007003/webrev/

Thanks,
/Jesper



More information about the hotspot-gc-dev mailing list