> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/19271/files - new: https://git.openjdk.org/jdk/pull/19271/files/dfab08e8..f365c5f0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=19271&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19271&range=00-01 Stats: 64 lines in 1 file changed: 64 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/19271.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19271/head:pull/19271 PR: https://git.openjdk.org/jdk/pull/19271