Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080588 VarHandles development
  3. JDK-8149469

ByteBuffer API and implementation enhancements for VarHandles

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • b114

      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.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: