hg: shenandoah/jdk9/hotspot: Allow 0 as ref-proc and class-unloading frequency (turning them off). Lower defaults for frequency to every 5th cycle.

Всеволод Толстопятов qwwdfsad at gmail.com
Tue Jun 21 08:33:26 UTC 2016


Hi again,

+    if (ShenandoahUnloadClassesFrequency) return false;


Shouldn't it be if (ShenandoahUnloadClassesFrequency  == 0)? :)

Also, why it's even possible to totally disable ref-processing (guess this
question is applicable to unloading either)? Shouldn't it be something
like range(1, 100)? Maybe it's worth to merge this two options?


--
Best regards,
Tolstopyatov Vsevolod

On Tue, Jun 21, 2016 at 12:26 AM, <roman at kennke.org> wrote:

> Changeset: 9f130d9baef3
> Author:    rkennke
> Date:      2016-06-20 23:26 +0200
> URL:
> http://hg.openjdk.java.net/shenandoah/jdk9/hotspot/rev/9f130d9baef3
>
> Allow 0 as ref-proc and class-unloading frequency (turning them off).
> Lower defaults for frequency to every 5th cycle.
>
> ! src/share/vm/gc/shenandoah/shenandoahCollectorPolicy.cpp
> ! src/share/vm/gc/shenandoah/shenandoah_globals.hpp
>
>


More information about the shenandoah-dev mailing list