Skip to content

Commit

Permalink
Remove parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
lgxbslgx committed May 3, 2024
1 parent 43268d7 commit b689c9e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/hotspot/share/oops/stackChunkOop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class TransformStackChunkClosure {
stackChunkOop _chunk;

public:
TransformStackChunkClosure(stackChunkOop chunk, DerivedPointersSupport::RelativizeClosure* cl)
TransformStackChunkClosure(stackChunkOop chunk)
: _chunk(chunk) {
}

Expand Down Expand Up @@ -293,8 +293,7 @@ void stackChunkOopDesc::relativize_derived_pointers_concurrently() {
return;
}

DerivedPointersSupport::RelativizeClosure derived_cl;
TransformStackChunkClosure frame_cl(this, &derived_cl);
TransformStackChunkClosure frame_cl(this);
iterate_stack(&frame_cl);

release_relativization();
Expand All @@ -308,8 +307,7 @@ void stackChunkOopDesc::transform() {
set_has_bitmap(true);
bitmap().clear();

DerivedPointersSupport::RelativizeClosure derived_cl;
TransformStackChunkClosure closure(this, &derived_cl);
TransformStackChunkClosure closure(this);
iterate_stack(&closure);
}

Expand Down

0 comments on commit b689c9e

Please sign in to comment.