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

add dynamic switch for JvmtiVTMSTransitionDisabler sync protocol

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: