RFR (S): Fix shutdown/cancelled races

Aleksey Shipilev shade at redhat.com
Thu Dec 8 15:37:40 UTC 2016


On 12/08/2016 03:57 PM, Roman Kennke wrote:
> Patch looks good.

Thanks, pushed.

> Did you need to change any of the tests? E.g. "with sleeps in critical
> places to exacerbate races" ?? 

I had to put it right at Shenandoah product code to trigger, so not really
committable...

> I can't tell you how often we have
> 'fixed' this code before... having a test triggering on the bug would
> be awesome!

The "regular" jcstress testing found the races because of new asserts, so I
guess we somewhat covered there.

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list