[jdk17u-dev] RFR: 8325616: JFR ZGC Allocation Stall events should record stack traces
duke
duke at openjdk.org
Tue Sep 24 12:52:41 UTC 2024
On Thu, 19 Sep 2024 15:09:03 GMT, Kerem Kat <duke at openjdk.org> wrote:
> Backport of JDK-8325616, conflict in a single hunk that wants to add `ZYoungGarbageCollection` and `ZOldGarbageCollection` to `metadata.xml`, which are unrelated and part of GenZGC.
>
> #### Verification
>
> 1. Ran jdk_jfr and hotspot_gc tests. All tests passed.
>
> ```
> make test TEST=hotspot_gc TEST_VM_OPTS=-XX:+UseZGC
> make test TEST=jdk_jdr TEST_VM_OPTS=-XX:+UseZGC
> ```
>
> 2. `ZAllocationStall` event has stack trace entry in the jfr for a sample java program:
>
>
> jdk.ZAllocationStall {
> startTime = 15:07:54.691
> duration = 4.48 ms
> type = "Large"
> size = 12.0 MB
> eventThread = "main" (javaThreadId = 1)
> stackTrace = [
> AllocRate.main(String[]) line: 16
> ]
> }
@krk
Your change (at version 9344fd678ae7a0db71f9b5b2f143d5add0e6e2f2) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2898#issuecomment-2371182396
More information about the jdk-updates-dev
mailing list