RFR: 8265919: RunThese30M fails "assert((!(((((JfrTraceIdBits::load(value)) & ((1 << 4) << 8)) != 0))))) failed: invariant"

Erik Gahlin egahlin at openjdk.java.net
Fri Jun 25 10:15:04 UTC 2021


On Fri, 25 Jun 2021 09:34:49 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Thanks Erik. I don't think there is anything to fix "properly". This is the state reset code that runs when JFR starts, JfrTypeSet::clear(). It is just that it built on an invalid assumption (that no class unload will happen in-between the last rotate() and end_recording()).

Great! I got the impression in JIRA that it could result in a reference being null (in the file), but I may have misunderstood.

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

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


More information about the hotspot-jfr-dev mailing list