RFR: 7950: Better DisjointBuilder performance for events not ordered by event end attribute

Henrik Dafgård hdafgard at openjdk.org
Wed Nov 9 16:08:36 UTC 2022


On Wed, 9 Nov 2022 10:36:08 GMT, Richard Startin <duke at openjdk.org> wrote:

> When I wrote the original code in 2010 collisions were rare. I think I saw a few cases of 2-3 lanes (for the same event type and thread), typically when doing recursive events. I wonder what has changed, if this is no longer a case? The JVM usually doesn't write overlapping events.  Is it thread buffers coming out of order?

@egahlin As far as I've investigated the issue is prevalent in JVM applications running with Amazon Kinesis. It can produce tens of thousands of overlapping File Read events.

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

PR: https://git.openjdk.org/jmc/pull/449


More information about the jmc-dev mailing list