Why abortable-preclean phase is not being aborted after YG occupancy exceeds 50%?

Bernd Eckenfels bernd.eckenfels at googlemail.com
Tue Aug 21 13:06:53 PDT 2012


Y. S. Ramakrishna wrote:
>> An alternative workaround that might also work
>> for you would be -XX:CMSWaitDuration=X
> That should have been: -XX:CMSMaxAbortablePrecleanTime=X

I have a question on this, can the –XX:+CMSScavengeBeforeRemark be
combined with -XX:CMSMaxAbortablePrecleanTime=ms?

Because in my scenario the Scavenger Intervall is rather large
(100-200s), so I dont want to use 400.000ms in the
MaxAbortablePrecleanTime.

The same is true for the initial-mark: when I use CMSWaitDuration, can
I specify if should trigger a scavenger when timeout is reached? Or
would it be OK to specify 400s?

Greetings
Bernd

PS: in my case I know I need to resize the generations to get more
frequent scavenger runs, however it is hard to push that into
production on that particular system.


More information about the hotspot-gc-use mailing list