--- old/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp 2020-05-29 12:30:43.062644020 -0400 +++ new/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp 2020-05-29 12:30:42.926643188 -0400 @@ -267,9 +267,10 @@ } } - if (heap->is_degenerated_gc_in_progress()) { - // Degenerated cycle may bypass concurrent cycle, so code roots might not be scanned, - // let's check here. + if (heap->is_degenerated_gc_in_progress() || heap->is_full_gc_in_progress()) { + // Full GC does not execute concurrent cycle. + // Degenerated cycle may bypass concurrent cycle. + // So code roots might not be scanned, let's scan here. _cm->concurrent_scan_code_roots(worker_id, rp); }