Integrated: 8253421: Initialize JFR trace-IDs with zero

Roman Kennke rkennke at openjdk.java.net
Tue Sep 22 10:55:34 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.

This pull request has now been integrated.

Changeset: 0c287de4
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0c287de4
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8253421: Initialize JFR trace-IDs with zero

Reviewed-by: mgronlun, egahlin

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

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


More information about the hotspot-jfr-dev mailing list