JDK-8149469 : ByteBuffer API and implementation enhancements for VarHandles
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-02-09
  • Updated: 2017-05-17
  • Resolved: 2016-03-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b114Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Description
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.