G1 eden resizing behaviour ?

Yu Zhang yu.zhang at oracle.com
Wed Dec 10 20:41:04 UTC 2014


Simone,

thanks for the log.  checking the Eden size for young gc, I think the 
Eden size decrease is more related to mixed gc.  The Eden size for 
several young gcs after mixed gc are small.  This is a known issue.

Thanks,
Jenny

On 12/10/2014 9:56 AM, Simone Bordet wrote:
> Hi,
>
> On Wed, Dec 10, 2014 at 5:04 PM, charlie hunt <charlie.hunt at oracle.com> wrote:
>> Adding -XX:+PrintReferenceGC may also help identify which type of Reference objects are the culprit.  If it is SoftReferences (my favorite :-] ), there is some additional tweaking you can do.
>>
>> Adding -XX:+ParallelRefProcEnabled, as Jenny suggested, should help shorten the length of time.
> I have both enabled in the logs, that are unfortunately too big to be
> attached to a message of this mailing list.
> For those interested, I can send them privately.
>
> There are no SoftReferences, only a large number of WeakReferences.
>



More information about the hotspot-gc-use mailing list