On Sun, 25 Jan 2026 20:09:13 GMT, Doug Lea <[email protected]> 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

Reply via email to