RFR (XS): 8211853: Avoid additional duplicate work when a reference in the task queue has already been evacuated
thomas.schatzl at oracle.com
Mon Oct 8 14:58:22 UTC 2018
can I have reviews for this tiny change that removes G1 doing some
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
Just exit the method if we detect such a task.
local jtreg run of gc passes, some benchmarks
More information about the hotspot-gc-dev