Blocks :
|
|
Blocks :
|
|
Relates :
|
|
Relates :
|
Enhance the ByteBuffer API to query for misalignment and obtain an aligned slice for a given unit size, which on supported platforms ensures unit size access is atomic at known indexes, and partially atomic at other indexes. Enhance the ByteBuffer implementations so that VarHandles can access ByteBuffer contents uniformly for direct/heap and read/write buffers. These may also enable future unifying enhancements of direct and heap buffers using the unsafe double address mode.