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

vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with JTREG_TEST_THREAD_FACTORY=Virtual

XMLWordPrintable

    • b03

        This test fails after JDK-8338383 when using JTREG_TEST_THREAD_FACTORY=Virtual. The test uses JVMTI StopThread on a thread expecting it to be mounted. Before JDK-8338383 it would be mounted because it was blocked on a syncrhonized, which resulted in the thread being pinned. After JDK-8338383 this is no longer the case and the virtual thread has unmounted. This causes JVMTI StopThread to fail with JVMTI_ERROR_OPAQUE_FRAME because it only supports mounted virtual threads.

              cjplummer Chris Plummer
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: