Skip to content

Commit

Permalink
8297349: Parallel: Use correct claim value for CLD oop iteration in P…
Browse files Browse the repository at this point in the history
…SScavengeCLDClosure

Reviewed-by: tschatzl, shade
  • Loading branch information
albertnetymk committed Nov 22, 2022
1 parent 932bf35 commit 0ac5b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/parallel/psClosure.inline.hpp
Expand Up @@ -131,7 +131,7 @@ class PSScavengeCLDClosure: public CLDClosure {
_oop_closure.set_scanned_cld(cld);

// Clean the cld since we're going to scavenge all the metadata.
cld->oops_do(&_oop_closure, false, /*clear_modified_oops*/true);
cld->oops_do(&_oop_closure, ClassLoaderData::_claim_none, /*clear_modified_oops*/true);

_oop_closure.set_scanned_cld(NULL);
}
Expand Down

1 comment on commit 0ac5b55

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.