RFR: 8351601: [JMH] test UnixSocketChannelReadWrite failed for 2 threads config [v2]

Volkan Yazici vyazici at openjdk.org
Mon Mar 24 19:13:54 UTC 2025


> 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.

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Use dedicated temporary directory per socket

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24126/files
  - new: https://git.openjdk.org/jdk/pull/24126/files/bfab84b2..cabb4145

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24126&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24126&range=00-01

  Stats: 16 lines in 1 file changed: 0 ins; 13 del; 3 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


More information about the net-dev mailing list