RFR: 8301341: LinkedTransferQueue does not respect timeout for poll() [v10]

Doug Lea dl at openjdk.org
Thu Aug 10 15:25:58 UTC 2023


On Sun, 6 Aug 2023 12:23:54 GMT, Wouter Born <duke at openjdk.org> wrote:

>> 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 13 additional commits since the last revision:
>> 
>>  - Merge branch 'openjdk:master' into JDK-8301341
>>  - Address more review comments
>>  - Address review comments
>>  - nitpicks
>>  - Merge branch 'openjdk:master' into JDK-8301341
>>  - Accommodate white-box tests; use consistent constructions; minor improvements
>>  - Merge branch 'openjdk:master' into JDK-8301341
>>  - Simplify contention handling; fix test
>>  - Fix inverted test assert; improve internal documentation; simplify code
>>  - Merge branch 'openjdk:master' into JDK-8301341
>>  - ... and 3 more: https://git.openjdk.org/jdk/compare/c067d356...f53cee67
>
> Thanks for making the fixes Doug!
> Would it also be possible to backport these fixes to Java 17?
> 
> It seems to be a very common issue for openHAB users now that they upgrade to openHAB 4 which requires Java 17.
> 
> See:
> 
> * https://community.openhab.org/t/consistent-100-cpu-use-of-safecall-queue-thread/143792
> * https://community.openhab.org/t/high-cpu-usage-after-migration-to-oh4/148200

@wborn I think 17 should also be OK modulo deleting 2 lines for pre-21 mentioned above. I only checked with 19 though..

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

PR Comment: https://git.openjdk.org/jdk/pull/14317#issuecomment-1673399971


More information about the core-libs-dev mailing list