-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
None
Define the VarHandles API and specification.
There will be one VarHandle abstract class defining all the fenced/atomic operations as signature-polymorphic methods.
Factory methods on MethodHandles.lookup will be defined to obtain a VarHandle for an instance and static field.
Factory methods on MethodsHandles will be defined to obtain a VarHandle for elements of an array, array views and ByteBuffers.
There will be one VarHandle abstract class defining all the fenced/atomic operations as signature-polymorphic methods.
Factory methods on MethodHandles.lookup will be defined to obtain a VarHandle for an instance and static field.
Factory methods on MethodsHandles will be defined to obtain a VarHandle for elements of an array, array views and ByteBuffers.