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.
GetThreadLocalStorage should just return nullptr for TLS if a JvmtiThreadState was not created yet for the target thread.