add dynamic switch for JvmtiVTMSTransitionDisabler sync protocol

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: