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

Neethu Prasad duke at openjdk.org
Mon Jun 3 12:38:08 UTC 2024


Backport of JDK-8325616

Verification

Output of print jfr


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
    ...
  ]
}

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

Commit messages:
 - Backport 71ff2d717798f1f314b97d97dfbc2b859fb47ae3

Changes: https://git.openjdk.org/jdk21u-dev/pull/656/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=656&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325616
  Stats: 3 lines in 3 files changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/656.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/656/head:pull/656

PR: https://git.openjdk.org/jdk21u-dev/pull/656


More information about the jdk-updates-dev mailing list