Integrated: 8285513: JFR: Add more static support for event classes

Erik Gahlin egahlin at openjdk.java.net
Fri May 20 20:09:58 UTC 2022


On Fri, 20 May 2022 13:27:14 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review that allows code in java.base, which can't have a compile-time dependency on jdk.jfr, to check if an event can be committed without using an event object. See issue for details.
> 
> Testing: 
> - jdk/jdk/jfr
> - tier1 + tier2
> - Tested to implement ThreadSleep event using a static commit method (not part of this changeset)

This pull request has now been integrated.

Changeset: 7b274feb
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7b274feba5117b6cd80601242a4176f967625cc2
Stats:     90 lines in 1 file changed: 72 ins; 14 del; 4 mod

8285513: JFR: Add more static support for event classes

Reviewed-by: mgronlun

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

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


More information about the hotspot-jfr-dev mailing list