Skip to content

Introduce low-level JFR events #3728

Open
@leonard84

Description

@leonard84

Motivation

Currently, junit-platform-jfr provides events that are observable to standard listeners.

However, it can't provide insights into low-level events, such as the exclusive resource locks.

Previously, it was decided to only introduce JFR via an optional module because it was not supported until JDK 11. A lot has changed since: JFR has been backported to openjdk8, and all current distributions support it. Plus, JDK 9 and 10 have been EOL for a long time.

Furthermore, there is the https://github.com/gradle/jfr-polyfill project that provides a no-op implementation that prevents any crashes due to ClassNotFoundError.

Deliverables

  • Move JFR events into the platform core
  • Add additional low-level events, e.g., for resource locks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions