Tests that use custom scheduler should use jdk.test.lib.thread.VThreadScheduler

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: core-libs
    • b21

      The following tests use core reflection to set the Thread.Builder scheduler:

      test/jdk/java/io/ByteArrayOutputStream/WriteToReleasesCarrier.java
      test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java
      test/hotspot/jtreg/serviceability/jvmti/vthread/ThreadStateTest/ThreadStateTest.java

      These tests have been updated in the loom repo to use jdk.test.lib.thread.VThreadScheduler. That update can be brought to mainline.

            Assignee:
            Brian Burkhalter
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: