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 e652bb7 commit d44b5dc
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 = WorkerThread::worker_id();

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

1 comment on commit d44b5dc

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.