RFR: 8269823: JFR: Eliminate 'is_large' check for native JFR event if the size range is certain [v2]

Erik Gahlin egahlin at openjdk.java.net
Wed Jul 7 14:31:50 UTC 2021


On Sun, 4 Jul 2021 08:32:03 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> ```
> Benchmark                    Mode  Samples        Score  Score error  Units
> o.s.MyBenchmark.testEmit    thrpt       20  8251457.275     2707.578  ops/s
> ```
> 
> without this patch:

That sounds too much. Could you please show the test, so I could try it out.  The large check should only happen once, so it is amortised. From that point on it should basically be the same.

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

PR: https://git.openjdk.java.net/jdk/pull/4670



More information about the build-dev mailing list