RFR: 8253421: Initialize JFR trace-IDs with zero
Roman Kennke
rkennke at openjdk.java.net
Mon Sep 21 14:16:28 UTC 2020
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.
-------------
Commit messages:
- 8253421: Initialize JFR trace-IDs with zero
Changes: https://git.openjdk.java.net/jdk/pull/285/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=285&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8253421
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/285.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/285/head:pull/285
PR: https://git.openjdk.java.net/jdk/pull/285
More information about the hotspot-jfr-dev
mailing list