Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351599

TestThreadGroup::doit missing VMThreadBlocker ready check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 21
    • 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.

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

              Created:
              Updated: