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

By reference parameters should be kept alive during downcalls

    XMLWordPrintable

    Details

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

      Description

      All by-reference parameters in a downcall method handle (of type Addressable) should be acquired before the downcall, and released afterwards.

      See:
      https://inside.java/2021/05/28/taming-resource-scopes/

        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: