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

ASM-ify scope acquire/release for down call parameters

    XMLWordPrintable

Details

    Description

      We currently add scope acquire/release cause to downcall method handles using a post combination step using the tryFinally combinator.

      This uses a fallback strategy when there are too many parameters, and it turns out the use of tryFinally here can effect escape analysis negatively as well.

      We should fold the acquire/release logic into the existing binding recipe specialization, to avoid both of these problems.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: