Integrated: 8334215: serviceability/dcmd/thread/PrintMountedVirtualThread.java failing with JTREG_TEST_THREAD_FACTORY=Virtual

Inigo Mediavilla Saiz duke at openjdk.org
Wed Jun 19 10:38:15 UTC 2024


On Mon, 17 Jun 2024 09:13:57 GMT, Inigo Mediavilla Saiz <duke at openjdk.org> wrote:

> Follow up to https://github.com/openjdk/jdk/pull/19482 that was causing issues when the PrintMountedVirtualTest.java was
> running with `JTREG_TEST_THREAD_FACTORY=Virtual` in the loom repo. 
> 
> - Fixes issues where the test observes the thread during transitions.
> - Fixes a potential issue in the test where CountDownLatch.countDown unparks the main (virtual) thread and the main thread observes the dummy thread is transition .

This pull request has now been integrated.

Changeset: 07ebda54
Author:    Inigo Mediavilla Saiz <imediava at gmail.com>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/07ebda54f290cc17c6682abd26ceca2868488a63
Stats:     16 lines in 2 files changed: 5 ins; 3 del; 8 mod

8334215: serviceability/dcmd/thread/PrintMountedVirtualThread.java failing with JTREG_TEST_THREAD_FACTORY=Virtual

Reviewed-by: dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/19744


More information about the serviceability-dev mailing list