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

Add some overloads to memory access API

    XMLWordPrintable

    Details

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

      Description

      There are two useful overloads that can be added to make the memory access API more usable:

      * An overload of MemoryAddress::asSegmentRestricted which takes an optional attachment object

      * An overload of MemorySegment::asSlice which takes a new base address and a new size (this is the last combination not covered by the API).

        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: