RFR: 8345294: test/jdk/java/lang/Thread/virtual/RetryMonitorEnterWhenPinned.java timeout with JTREG_TEST_THREAD_FACTORY=Virtual [v3]

Viktor Klang vklang at openjdk.org
Thu Dec 5 10:04:40 UTC 2024


On Wed, 4 Dec 2024 19:24:20 GMT, Doug Lea <dl at openjdk.org> wrote:

>> Accommodate compensations when checking for missed signals; add a better test for this.
>
> Doug Lea has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into JDK-8345294
>  - Merge branch 'openjdk:master' into JDK-8345294
>  - Address review comments
>  - test starvation with monitors
>  - Accommodate uncompensates in deactivate

test/jdk/java/lang/Thread/virtual/Starvation.java line 72:

> 70:                     VThreadPinner.runPinned(() -> {
> 71:                         synchronized (lock) {
> 72:                         }

@AlanBateman / @DougLea Is there any risk that this gets elided?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22543#discussion_r1871044994


More information about the core-libs-dev mailing list