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

Neethu Prasad duke at openjdk.org
Tue Jun 4 16:56:04 UTC 2024


On Mon, 3 Jun 2024 12:34:22 GMT, Neethu Prasad <duke at openjdk.org> wrote:

> Backport of JDK-8325616
> 
> **Verification**
> 1. Ran jdk_jfr and hotspot_gc tests. All tests passed. (make test TEST=hotspot_gc TEST_VM_OPTS=-XX:+UseZGC)
> 
> 2. Output of print jfr on a sample java program that resulted in allocation stall.
> 
> 
> jdk.ZAllocationStall {
>   startTime = 01:25:30.989
>   duration = 508 ms
>   type = "Small"
>   size = 2.0 MB
>   eventThread = "Thread-278" (javaThreadId = 318)
>   stackTrace = [
>     StressZGC.work(int, Set) line: 30
>     StressZGC.work(int, Set) line: 26
>     StressZGC.work(int, Set) line: 26
>     StressZGC.work(int, Set) line: 26
>     StressZGC.work(int, Set) line: 26
>     ...
>   ]
> }

This pull request has now been integrated.

Changeset: 9fef7d8b
Author:    Neethu Prasad <neethp at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/9fef7d8ba197bfe1c061f61cc3e5e14b9c71a8f1
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/jdk21u-dev/pull/656


More information about the jdk-updates-dev mailing list