ByteBuffer API and implementation enhancements for VarHandles

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: