RFR (S): 8165859: gcTaskThread is missing volatile qualifier and barriers for _time_stamps
erik.osterlund at oracle.com
Mon Sep 19 11:35:38 UTC 2016
This bug is a split out of the larger JDK-8033552 for adding volatile
qualifiers to lock-free code.
The motivation is to make our implementation more robust since these
kind of issues have struck us a few times too many already.
This specific CR handles the lack of volatile qualifiers for the
_time_stamps field, and relatedly the lack of acquire barriers when
Hopefully, the addition of load acquire and volatile should make this a
bit more robust.
I will need a sponsor to push this.
More information about the hotspot-gc-dev