RFR: 8267943: Improve performance of EventWriter by improving varint encoding implementation [v2]

Richard Startin github.com+16439049+richardstartin at openjdk.java.net
Fri Jun 4 22:28:54 UTC 2021


On Fri, 4 Jun 2021 21:45:10 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Data is not random, it is typically small integers, in particular 0, and almost never negative.

@egahlin random ids as found in distributed tracing systems (i.e. user defined data in events) are certainly random. 

> Do you have a benchmark on realistic numbers?

The benchmark used is realistic for an integration with a distributed tracing system. I will produce benchmarks for events which contain strings to simulate typical offsets into the constant pool. If there are any benchmarks used for regression testing JFR events, it would be handy to run them on this patch.

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

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


More information about the hotspot-jfr-dev mailing list