--- old/src/hotspot/share/gc/shared/genCollectedHeap.hpp 2020-08-25 09:32:37.308888217 +0200 +++ new/src/hotspot/share/gc/shared/genCollectedHeap.hpp 2020-08-25 09:32:37.096884645 +0200 @@ -380,7 +380,7 @@ bool is_adjust_phase, ScanningOption so, bool only_strong_roots, - OopsInGenClosure* root_closure, + OopClosure* root_closure, CLDClosure* cld_closure); // Apply "root_closure" to all the weak roots of the system.