eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.41k stars 754 forks source link

JFR: System GC event #21859

Closed tajila closed 3 weeks ago

tajila commented 1 month ago

This event is triggered when System/Runtime.gc() is called. It captures the following data:

To implement this event, a new hok needs to be added J9HOOK_SYSTEM_GC. This hook should be triggered in JVM_GC_Impl before the request to GC is made.

tajila commented 1 month ago

@thallium Please take a look at this.

thallium commented 1 month ago

@tajila do you know how can I know the value of invokedConcurrent?