Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Sep 29, 2023
1 parent 95c2bd6 commit 2d06801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/share/gc/serial/genMarkSweep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ void GenMarkSweep::mark_sweep_phase3() {

if (UseAltGCForwarding) {
AdjustPointerClosure<true> adjust_pointer_closure;
CLDToOopClosure adjust_cld_closure(&adjust_pointer_closure, ClassLoaderData::_claim_stw_fullgc_adjust);
CodeBlobToOopClosure code_closure(&adjust_pointer_closure, CodeBlobToOopClosure::FixRelocations);
gch->process_roots(SerialHeap::SO_AllCodeCache,
&adjust_pointer_closure,
Expand All @@ -260,6 +261,7 @@ void GenMarkSweep::mark_sweep_phase3() {
gch->gen_process_weak_roots(&adjust_pointer_closure);
} else {
AdjustPointerClosure<false> adjust_pointer_closure;
CLDToOopClosure adjust_cld_closure(&adjust_pointer_closure, ClassLoaderData::_claim_stw_fullgc_adjust);
CodeBlobToOopClosure code_closure(&adjust_pointer_closure, CodeBlobToOopClosure::FixRelocations);
gch->process_roots(SerialHeap::SO_AllCodeCache,
&adjust_pointer_closure,
Expand Down

0 comments on commit 2d06801

Please sign in to comment.