G1GC fine tuning under heavy load

Wolfgang Pedot wolfgang.pedot at finkzeit.at
Thu Sep 13 07:21:59 UTC 2018


Hello,

Am 12.09.2018 um 15:26 schrieb Wajih Ahmed:
> What i am curious about is if the young gen size needs to be reduced 
> by tunring G1NewSizePercent to reduce the duration of the pauses in 
> particular the object copy stage.


What I have learned tuning G1 is that it is usually best to trust G1s 
ergonomics and not directly influence the size allocated to the 
different generations. What you can do to test with smaller NewGen is 
reduce the pause-time.

 From your report I would say that the 200ms you currently have 
configured are met pretty much all of the time so the NewGen is sized 
correctly.


regards

Wolfgang




More information about the hotspot-gc-use mailing list