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

[JVMCI] Avoid long JNI handle chains

    Details

    • Subcomponent:
    • Resolved In Build:
      b161

      Backports

        Description

        When Truffle uses JMVCI and Graal for compiling a guest language (e.g. JavaScript), Graal heavily uses partial escape analysis. In such cases, the JVMCI method "installCode" uses lots of local JNI references when generating the corresponding debug information so that the thread's top-level JNI handle buffer will have a large size. This unnecessarily increases the footprint and significantly decreases the performance (as long as JDK-8175318 is not fixed).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chaeubl Christian Haeubl
                  Reporter:
                  chaeubl Christian Haeubl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: