8325616: JFR ZGC Allocation Stall events should record stack traces

Reviewed-by: eosterlund, tschatzl, egahlin
This commit is contained in:
Stefan Karlsson 2024-02-13 12:59:42 +00:00
parent c3c1cdd1b0
commit 71ff2d7177
3 changed files with 3 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@
<Field type="uint" name="gcId" label="GC Identifier" relation="GcId" />
</Event>
<Event name="ZAllocationStall" category="Java Virtual Machine, GC, Detailed" label="ZGC Allocation Stall" description="Time spent waiting for memory to become available" thread="true">
<Event name="ZAllocationStall" category="Java Virtual Machine, GC, Detailed" label="ZGC Allocation Stall" description="Time spent waiting for memory to become available" thread="true" stackTrace="true">
<Field type="ZPageTypeType" name="type" label="Type" />
<Field type="ulong" contentType="bytes" name="size" label="Size" />
</Event>

View File

@ -833,6 +833,7 @@
<event name="jdk.ZAllocationStall">
<setting name="enabled">true</setting>
<setting name="stackTrace">true</setting>
<setting name="threshold">0 ms</setting>
</event>

View File

@ -833,6 +833,7 @@
<event name="jdk.ZAllocationStall">
<setting name="enabled">true</setting>
<setting name="stackTrace">true</setting>
<setting name="threshold">0 ms</setting>
</event>