--- old/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2020-08-25 09:32:36.944882084 +0200 +++ new/src/hotspot/share/gc/shared/genCollectedHeap.cpp 2020-08-25 09:32:36.740878647 +0200 @@ -876,7 +876,7 @@ bool is_adjust_phase, ScanningOption so, bool only_strong_roots, - OopsInGenClosure* root_closure, + OopClosure* root_closure, CLDClosure* cld_closure) { MarkingCodeBlobClosure mark_code_closure(root_closure, is_adjust_phase); CLDClosure* weak_cld_closure = only_strong_roots ? NULL : cld_closure;