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

Use MemoryAddress instead of MemorySegment in CLinker::upcallStub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      CLinker::upcallStub used to return a MemorySegment, mostly to allow deterministic closing. Now that deterministic closing is handled in the ResourceScope passed to upcallStub, we can just return a MemoryAddress, which is more correct from an API perspective (as the segment returned by upcallStub is not really for dereference).

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

              Created:
              Updated:
              Resolved: