GetThreadLocalStorage should not create JvmtiThreadState

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 25
    • Component/s: hotspot
    • None

      Current implementation of JVMTI GetThreadLocalStorage creates a JvmtiThreadState object if it was not created before. This has a performance impact with virtual threads support for the debug agent.
      GetThreadLocalStorage should just return nullptr for TLS if a JvmtiThreadState was not created yet for the target thread.

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

              Created:
              Updated: