RFR: Periodic GC
Aleksey Shipilev
shade at redhat.com
Fri Aug 4 10:43:36 UTC 2017
On 08/04/2017 12:41 PM, Roman Kennke wrote:
> Am 04.08.2017 um 12:07 schrieb Aleksey Shipilev:
>> Following up on yesterday's experiment, here is the Periodic GC implementation:
>> http://cr.openjdk.java.net/~shade/shenandoah/periodic-gc/webrev.01/
>>
>> Only "adaptive" and "dynamic" are enabling it. "aggressive" performs lots of GCs anyway, and
>> "passive" should not do periodic at all. The default period is 5 minutes, which seems to be a safe
>> default for detecting really idle applications.
>>
>> Testing: new test
>>
>> Thanks,
>> -Aleksey
>>
> Do we need a way to turn it off?
Provide the uber-large period, and that shall disable it?
> Looks to me like the code is duplicated in dynamic and adaptive. Dunno
> if it can somehow be shared?
"Duplication is far cheaper than wrong abstraction" applies here, I think.
-Aleksey
More information about the shenandoah-dev
mailing list