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

ByteBuffer API and implementation enhancements for VarHandles

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b114

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: