[jdk17u-dev] Integrated: 8325616: JFR ZGC Allocation Stall events should record stack traces

Kerem Kat duke at openjdk.org
Tue Sep 24 13:03:42 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
>   ]
> }

This pull request has now been integrated.

Changeset: e77aad9b
Author:    Kerem Kat <katkerem at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/e77aad9b64028f2a9f88d21721f68faa8ad36b75
Stats:     3 lines in 3 files changed: 2 ins; 0 del; 1 mod

8325616: JFR ZGC Allocation Stall events should record stack traces

Backport-of: 71ff2d717798f1f314b97d97dfbc2b859fb47ae3

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2898


More information about the jdk-updates-dev mailing list