Skip to content


8323021: Shenandoah: Encountered reference count always attributed to…
Browse files Browse the repository at this point in the history
… first worker thread

Backport-of: f0e2e4311b8cab160dc9e35f43e9ae5a145c5e23
  • Loading branch information
William Kemper authored and shipilev committed Jan 9, 2024
1 parent bfd23ae commit 002270c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -362,7 +362,7 @@ bool ShenandoahReferenceProcessor::discover_reference(oop reference, ReferenceTy

log_trace(gc, ref)("Encountered Reference: " PTR_FORMAT " (%s)", p2i(reference), reference_type_name(type));
uint worker_id = ShenandoahThreadLocalData::worker_id(Thread::current());

if (UseCompressedOops) {
return discover<narrowOop>(reference, type, worker_id);
Expand Down

1 comment on commit 002270c

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.