TestThreadGroup::doit missing VMThreadBlocker ready check

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 21
    • Component/s: hotspot

      Helper class TestThreadGroup is used in some gtests to run a callable F in a group of threads. In method TestThreadGroup::doit, before starting any worker thread, we start thread VMThreadBlocker to block the VMThread while worker threads are running. But we are missing a call to _blocker->ready() to wait until the VMThread has actually blocked in the VM_GTestStopSafepoint operation.

            Assignee:
            Patricio Chilano Mateo
            Reporter:
            Patricio Chilano Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: