assert and cleanup in JvmtiThreadState::state_for_while_locked for thread_oop != nullptr

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot
    • None

      Need to add an assert into the JvmtiThreadState::state_for_while_locked to ensure the thread_oop for newly created JvmtiThreadState is never equal to nullptr. The JvmtiThreadState constructor also needs some cleanup as it has some checks for thread_oop not being nullptr.

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

              Created:
              Updated: