RFR: 8253421: Initialize JFR trace-IDs with zero
Markus Grönlund
mgronlun at openjdk.java.net
Mon Sep 21 14:47:42 UTC 2020
On Mon, 21 Sep 2020 14:09:12 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> Currently, JFR trace-IDs for classloaders, packages and modules are initialized with 1, and the first call to
> atomic_inc() will update it to 2, which will be the first trace-IDs for those objects. We can initialize them to 0 and
> start counting at 1 instead.
Looks good.
-------------
Marked as reviewed by mgronlun (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/285
More information about the hotspot-jfr-dev
mailing list