RFR (XS): 8165860: workgroup classes are missing volatile qualifiers for lock-free code
thomas.schatzl at oracle.com
Mon Sep 19 15:00:36 UTC 2016
On Mon, 2016-09-19 at 15:50 +0200, Mikael Gerdin wrote:
> Hi Erik,
> On 2016-09-19 15:48, Erik Österlund wrote:
> > Hi,
> > Mikael Gerdin noticed a compiler workaround could be done in a
> > nicer-looking way.
so just assigning the volatile to the temp is not sufficient to make
sure the compiler generates code to only read it once?
More information about the hotspot-gc-dev