Does Shenandoah GC support class unloading in JDK11?

Aleksey Shipilev shade at redhat.com
Thu Jun 24 08:50:24 UTC 2021


On 6/24/21 10:46 AM, Roy Zhang wrote:
> Dear Shenandoah GC experts,
> 
> We are evaluating ZGC and Shenandoah GC in JDK11, as we know, ZGC doesn't
> support class unloading in JDK11. Does our Shenandoah GC support class
> unloading in JDK11?

Yes, but only the stop-the-world one, during the final-mark pause. (Pretty much like G1 and others). 
How well does that work, depends on many factors.

Shenandoah got *concurrent* class unloading in JDK 14, with:
  https://bugs.openjdk.java.net/browse/JDK-8226241

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list