diff -r 8b6cc0bb93d0 -r 9186be5c78ba src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.hpp --- a/src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.hpp Wed Nov 27 06:36:41 2019 -0800 +++ b/src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.hpp Wed Nov 27 11:52:57 2019 -0500 @@ -32,6 +32,11 @@ static bool can_do_concurrent_roots(); // If current GC cycle can process roots concurrently static bool should_do_concurrent_roots(); + + // If GC settings allow concurrent class unloading + static bool can_do_concurrent_class_unloading(); + // If current GC cycle can unload classes concurrently + static bool should_do_concurrent_class_unloading(); };