On Wed, 5 Oct 2022 14:05:38 GMT, Alan Bateman <al...@openjdk.org> wrote:
> This is a test-only change. ThreadAPI.testGetStackTrace2 tests the stack > trace of a virtual thread that has started but has not executed it. The test > currently attempts to saturate all carrier threads before starting a target > thread. The test is not reliable and failed at least once with a debug build > and -Xcomp. The test is changed to use a custom scheduler that discards the > task so the thread doesn't execute. The resulting test is much simpler and > removes 3s from the execution time. Marked as reviewed by jpai (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/10576