RFR: 8332154: Memory leak in SynchronousQueue [v2]

Doug Lea dl at openjdk.org
Fri May 17 11:55:07 UTC 2024


On Fri, 17 May 2024 11:39:32 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Local testing seems to indicate that this fix (which mirrors what's done in the FIFO mode) addresses the problem.
>> 
>> But with that said, I haven't come up with a decent way of adding some form of regression test. Suggestions are most welcome. /cc @DougLea
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Adding a leak detection test for SynchronousQueue

Looks good; thanks. I don't know why I left out this check in a case that is otherwise identical to LTQ.

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

PR Comment: https://git.openjdk.org/jdk/pull/19271#issuecomment-2117428982


More information about the core-libs-dev mailing list