RFR: 8373118: Test java/lang/Thread/virtual/Starvation.java timed out [v29]

Viktor Klang vklang at openjdk.org
Mon Jan 26 12:46:53 UTC 2026


On Sun, 25 Jan 2026 20:09:13 GMT, Doug Lea <dl at openjdk.org> wrote:

>> Changes signal filtering to avoid possible starvation
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Don't oversignal LIFO

src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1058:

> 1056:     static final int MAX_CAP          = 0x7fff;   // max # workers
> 1057:     static final int EXTERNAL_ID_MASK = 0x3ffe;   // max external queue id
> 1058:     static final int INVALID_ID       = 0x4000;   // unused external queue id

@DougLea INVALID_ID looks to be unused now so we could remove it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r2727470227


More information about the core-libs-dev mailing list