RFR: 8332154: Memory leak in SynchronousQueue

Konstantin Nisht duke at openjdk.org
Thu May 16 23:30:01 UTC 2024


On Thu, 16 May 2024 15:06:45 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
>
> @AlanBateman @DougLea Reviews are most welcome :)

@viktorklang-ora We managed to reproduce it quite reliably by running the test from the bug report multiple times (in our case, it was 100). I understand this does not make a 100% stable regression reproducer, but in case of multiple runs the probability of false positive in quite low.

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

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


More information about the core-libs-dev mailing list