Guards against multi-deletes in `UnixSocketChannelReadWrite`.

The fix can be verified as follows:


make build-microbenchmark
build/linux-x64/jdk/bin/java \
  -jar build/linux-x64/images/test/micro/benchmarks.jar \
  -f 1 -wi 1 -i 1 -t 2 UnixSocketChannelReadWrite


Note that `-t 2` denotes the number of worker threads, i.e., parallelism.

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

Commit messages:
 - Guard against multi-deletes in `UnixSocketChannelReadWrite`

Changes: https://git.openjdk.org/jdk/pull/24126/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24126&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351601
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/24126.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24126/head:pull/24126

PR: https://git.openjdk.org/jdk/pull/24126

Reply via email to