Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248487

Add static helpers to access segments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      It would be useful if the foreign memory access API provided a set of static getter/setter to access memory segments w/o need to create VarHandles (of course VH would still be created under the hood).

      Additionally, it would also be useful if the memory segment API allowed segments to be mapped to different kind of primitive arrays, besides byte[].

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: