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

Neethu Prasad duke at openjdk.org
Tue Jun 4 16:23:21 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
>     ...
>   ]
> }

Thanks for the review and approval.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/656#issuecomment-2147608406


More information about the jdk-updates-dev mailing list