RFR (S): JDK-8027440: DefNew does not log heap change information when a promotion failure occurs

Tao Mao tao.mao at oracle.com
Fri Nov 1 17:53:14 UTC 2013

Hi Bengt,

Thank you for looking at this.

Can you explain why, in this particular case, the used heap size got 
larger after GC?


On 11/1/13 8:50 AM, Bengt Rutisson wrote:
> Hi all,
> Can I have a couple of reviews for this small change?
> http://cr.openjdk.java.net/~brutisso/8027440/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8027440
> DefNew was not printing the heap change information when a promotion 
> failure occured. Before this change the logging for a DefNew 
> collection that got promotion failure looked like this:
> [GC (Allocation Failure) , 0.0543440 secs]
> After my change it looks like:
> [GC (Allocation Failure)  81920K->120831K(120832K), 0.0620180 secs]
> Thanks,
> Bengt

More information about the hotspot-gc-dev mailing list