RFR: 8306308: (ch) Writer created by Channels::newWriter may lose data [v3]

Brian Burkhalter bpb at openjdk.org
Thu Oct 19 21:54:15 UTC 2023


On Thu, 19 Oct 2023 07:47:52 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> (well, still no difference)

Likewise.

Before:

Benchmark               (capacity)   Mode  Cnt        Score        Error  Units
WriterBench.testMethod        4096  thrpt    5  7896495.475 ± 109101.117  ops/s
WriterBench.testMethod        8192  thrpt    5  3507455.124 ± 125380.018  ops/s
WriterBench.testMethod       16384  thrpt    5  1761486.228 ±  57484.438  ops/s
WriterBench.testMethod       32768  thrpt    5   897733.089 ±  88233.815  ops/s

After:

Benchmark               (capacity)   Mode  Cnt        Score        Error  Units
WriterBench.testMethod        4096  thrpt    5  7383045.614 ±  72860.403  ops/s
WriterBench.testMethod        8192  thrpt    5  4073733.378 ±  30800.651  ops/s
WriterBench.testMethod       16384  thrpt    5  1789169.956 ± 183912.728  ops/s
WriterBench.testMethod       32768  thrpt    5   848052.004 ± 113203.131  ops/s

I don't know why the measurements have such a large numerical difference however.

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

PR Comment: https://git.openjdk.org/jdk/pull/16207#issuecomment-1771756386


More information about the nio-dev mailing list