RFR: JDK-8221086: Shenandoah-specific workaround for JDK-8220671
rkennke at redhat.com
Tue Mar 19 18:23:38 UTC 2019
JDK-8220671: Initialization race for non-JavaThread PtrQueue is making
troubles in Shenandoah's testing. While we're working out a generally
acceptable solution, we need a usable workaround in Shenandoah.
The proposed fix places a SuspendibleThreadJoiner around the
on_thread_attach() and on_thread_detach(), thereby preventing the race.
As soon as we figured out a solution for JDK-8220671 (which may well be
this 'workaround') we shall revert/overwrite this change.
Testing: many rounds of hotspot_gc_shenandoah and even more rounds of
the offending TestStringDedupStress.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the hotspot-gc-dev