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

add dynamic switch for JvmtiVTMSTransitionDisabler sync protocol

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • hotspot
    • None
    • b27
    • generic
    • generic

    Description

      The `JvmtiVTMSTransitionDisabler`sync protocol is on a performance critical path of the virtual threads mount state transitions (VTMS transitions). It has a noticeable performance overhead (about 10%) which contributes to the combined JVMTI performance overhead when Java apps are executed with loaded JVMTI agents.

      Also, please, see another/related performance issue (contributes ~70% of total performance overhead):
      JDK-8308614: Enabling JVMTI ClassLoad event slows down vthread creation by factor 10

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: