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

implement JVMTI handshakes support for virtual threads

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • b25

    Description

      The handshakes support for virtual threads is needed to simplify the JVMTI implementation for virtual threads. There is a significant duplication in the JVMTI code to differentiate code intended to support platform, virtual threads or both. The handshakes have to be unified, so it should enough to define just one handshake for both platform and virtual thread. This implementation will be based on the JvmtiVTMSTransitionDisabler class.

      The interface includes two new classes:
        - JvmtiHandshake, JvmtiUnifiedHandshakeClosure

      The first JVMTI functions are picked to be converted to use JvmtiHandshake are:
       - GetStackTrace, GetFrameCount, GetFrameLocation, NotifyFramePop

      Attachments

        Issue Links

          Activity

            People

              sspitsyn Serguei Spitsyn
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: