RFR: 8253421: Initialize JFR trace-IDs with zero
Erik Gahlin
egahlin at openjdk.java.net
Mon Sep 21 15:11:22 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.
Marked as reviewed by egahlin (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/285
More information about the hotspot-jfr-dev
mailing list