for review: 8236522: "always atomic" modifier for inline classes to enforce atomicity

John Rose john.r.rose at
Tue Dec 24 08:05:56 UTC 2019

Define a new modifier which enforces atomicity of all instances (in the heap) of the given inline class. 

Working title "__AlwaysAtomic". Suggested final "alwaysatomic" or just "atomic". 

Represented in classfile using currently free modifier bit 0x0040 = ACC_VOLATILE.

More information about the valhalla-dev mailing list