-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 12
-
Component/s: hotspot
-
b17
Due to benign races we can sometimes get references that have already been evacuated from the task queue.
Current code in G1ParScanThreadState::do_oop_evac() needlessly applies follow-up calculations (remembered set, humonguous liveness) on this already evacuated reference - that all has been done the first time around already.
Just exit the method if we detect such a task.
Current code in G1ParScanThreadState::do_oop_evac() needlessly applies follow-up calculations (remembered set, humonguous liveness) on this already evacuated reference - that all has been done the first time around already.
Just exit the method if we detect such a task.