Mon, 10 Jun 2013 11:30:51 +0200
8005849: JEP 167: Event-Based JVM Tracing
Reviewed-by: acorn, coleenp, sla
Contributed-by: Karen Kinnear <karen.kinnear@oracle.com>, Bengt Rutisson <bengt.rutisson@oracle.com>, Calvin Cheung <calvin.cheung@oracle.com>, Erik Gahlin <erik.gahlin@oracle.com>, Erik Helin <erik.helin@oracle.com>, Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>, Keith McGuigan <keith.mcguigan@oracle.com>, Mattias Tobiasson <mattias.tobiasson@oracle.com>, Markus Gronlund <markus.gronlund@oracle.com>, Mikael Auno <mikael.auno@oracle.com>, Nils Eliasson <nils.eliasson@oracle.com>, Nils Loodin <nils.loodin@oracle.com>, Rickard Backman <rickard.backman@oracle.com>, Staffan Larsen <staffan.larsen@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
sla@5237 | 1 | <?xml version="1.0" encoding="utf-8"?> |
sla@5237 | 2 | <!-- |
sla@5237 | 3 | Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
sla@5237 | 4 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
sla@5237 | 5 | |
sla@5237 | 6 | This code is free software; you can redistribute it and/or modify it |
sla@5237 | 7 | under the terms of the GNU General Public License version 2 only, as |
sla@5237 | 8 | published by the Free Software Foundation. |
sla@5237 | 9 | |
sla@5237 | 10 | This code is distributed in the hope that it will be useful, but WITHOUT |
sla@5237 | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
sla@5237 | 12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
sla@5237 | 13 | version 2 for more details (a copy is included in the LICENSE file that |
sla@5237 | 14 | accompanied this code). |
sla@5237 | 15 | |
sla@5237 | 16 | You should have received a copy of the GNU General Public License version |
sla@5237 | 17 | 2 along with this work; if not, write to the Free Software Foundation, |
sla@5237 | 18 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
sla@5237 | 19 | |
sla@5237 | 20 | Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
sla@5237 | 21 | or visit www.oracle.com if you need additional information or have any |
sla@5237 | 22 | questions. |
sla@5237 | 23 | |
sla@5237 | 24 | --> |
sla@5237 | 25 | |
sla@5237 | 26 | |
sla@5237 | 27 | <!DOCTYPE trace SYSTEM "trace.dtd" [ |
sla@5237 | 28 | <!ENTITY % xinclude SYSTEM "xinclude.mod"> |
sla@5237 | 29 | %xinclude; |
sla@5237 | 30 | ]> |
sla@5237 | 31 | |
sla@5237 | 32 | <trace> |
sla@5237 | 33 | <xi:include href="tracetypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
sla@5237 | 34 | |
sla@5237 | 35 | <relation_decls> |
sla@5237 | 36 | <relation_decl id="GC_ID" uri="vm/gc/id"/> |
sla@5237 | 37 | <relation_decl id="COMP_ID" uri="vm/compiler/id"/> |
sla@5237 | 38 | <relation_decl id="SWEEP_ID" uri="vm/code_sweeper/id"/> |
sla@5237 | 39 | <relation_decl id="JAVA_MONITOR_ADDRESS" uri="java/monitor/address"/> |
sla@5237 | 40 | </relation_decls> |
sla@5237 | 41 | |
sla@5237 | 42 | <!-- |
sla@5237 | 43 | |
sla@5237 | 44 | Events in the JVM are by default timed (it's more common) |
sla@5237 | 45 | Perhaps a little strange. Might change. |
sla@5237 | 46 | |
sla@5237 | 47 | EVENTS |
sla@5237 | 48 | |
sla@5237 | 49 | Declard with the 'event' tag. |
sla@5237 | 50 | |
sla@5237 | 51 | <value fields> can be one or more of |
sla@5237 | 52 | value - a simple primitive or constant type value |
sla@5237 | 53 | structvalue - value is a sub-struct. This type must be previously defined |
sla@5237 | 54 | with 'struct' |
sla@5237 | 55 | All these require you to declare type, field and label of the field. They also accept |
sla@5237 | 56 | an optional description of the field. If the meaning of the field is not obvious |
sla@5237 | 57 | from the label you should provide a description. If an event however is not actually |
sla@5237 | 58 | meant for end-users, you should probably _not_ write descriptions at all, since you |
sla@5237 | 59 | might just add more concepts the user has no notion of/interest in. |
sla@5237 | 60 | |
sla@5237 | 61 | Events should be modeled after what conceptual process you are expressing, _NOT_ |
sla@5237 | 62 | from whatever data structures you might use inside the JVM for expressing a process. |
sla@5237 | 63 | |
sla@5237 | 64 | |
sla@5237 | 65 | STRUCT |
sla@5237 | 66 | |
sla@5237 | 67 | Declared with the 'struct' tag. |
sla@5237 | 68 | |
sla@5237 | 69 | Declares a structure type that can be used in other events. |
sla@5237 | 70 | |
sla@5237 | 71 | --> |
sla@5237 | 72 | |
sla@5237 | 73 | <events> |
sla@5237 | 74 | <event id="ThreadStart" path="java/thread_start" label="Java Thread Start" |
sla@5237 | 75 | has_thread="true" is_instant="true"> |
sla@5237 | 76 | <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/> |
sla@5237 | 77 | </event> |
sla@5237 | 78 | |
sla@5237 | 79 | <event id="ThreadEnd" path="java/thread_end" label="Java Thread End" |
sla@5237 | 80 | has_thread="true" is_instant="true"> |
sla@5237 | 81 | <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/> |
sla@5237 | 82 | </event> |
sla@5237 | 83 | |
sla@5237 | 84 | <event id="ThreadSleep" path="java/thread_sleep" label="Java Thread Sleep" |
sla@5237 | 85 | has_thread="true" has_stacktrace="true" is_instant="false"> |
sla@5237 | 86 | <value type="MILLIS" field="time" label="Sleep Time"/> |
sla@5237 | 87 | </event> |
sla@5237 | 88 | |
sla@5237 | 89 | <event id="ThreadPark" path="java/thread_park" label="Java Thread Park" |
sla@5237 | 90 | has_thread="true" has_stacktrace="true" is_instant="false"> |
sla@5237 | 91 | <value type="CLASS" field="klass" label="Class Parked On"/> |
sla@5237 | 92 | <value type="MILLIS" field="timeout" label="Park Timeout"/> |
sla@5237 | 93 | <value type="ADDRESS" field="address" label="Address of Object Parked" relation="JAVA_MONITOR_ADDRESS"/> |
sla@5237 | 94 | </event> |
sla@5237 | 95 | |
sla@5237 | 96 | <event id="JavaMonitorEnter" path="java/monitor_enter" label="Java Monitor Blocked" |
sla@5237 | 97 | has_thread="true" has_stacktrace="true" is_instant="false"> |
sla@5237 | 98 | <value type="CLASS" field="klass" label="Monitor Class"/> |
sla@5237 | 99 | <value type="JAVALANGTHREAD" field="previousOwner" label="Previous Monitor Owner"/> |
sla@5237 | 100 | <value type="ADDRESS" field="address" label="Monitor Address" relation="JAVA_MONITOR_ADDRESS"/> |
sla@5237 | 101 | </event> |
sla@5237 | 102 | |
sla@5237 | 103 | <event id="JavaMonitorWait" path="java/monitor_wait" label="Java Monitor Wait" description="Waiting on a Java monitor" |
sla@5237 | 104 | has_thread="true" has_stacktrace="true" is_instant="false"> |
sla@5237 | 105 | <value type="CLASS" field="klass" label="Monitor Class" description="Class of object waited on"/> |
sla@5237 | 106 | <value type="OSTHREAD" field="notifier" label="Notifier Thread" description="Notifying Thread"/> |
sla@5237 | 107 | <value type="MILLIS" field="timeout" label="Timeout" description="Maximum wait time"/> |
sla@5237 | 108 | <value type="BOOLEAN" field="timedOut" label="Timed Out" description="Wait has been timed out"/> |
sla@5237 | 109 | <value type="ADDRESS" field="address" label="Monitor Address" description="Address of object waited on" relation="JAVA_MONITOR_ADDRESS"/> |
sla@5237 | 110 | </event> |
sla@5237 | 111 | |
sla@5237 | 112 | <event id="ClassLoad" path="vm/class/load" label="Class Load" |
sla@5237 | 113 | has_thread="true" has_stacktrace="true" is_instant="false"> |
sla@5237 | 114 | <value type="CLASS" field="loadedClass" label="Loaded Class"/> |
sla@5237 | 115 | <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/> |
sla@5237 | 116 | <value type="CLASS" field="initiatingClassLoader" label="Initiating Class Loader"/> |
sla@5237 | 117 | </event> |
sla@5237 | 118 | |
sla@5237 | 119 | <event id="ClassUnload" path="vm/class/unload" label="Class Unload" |
sla@5237 | 120 | has_thread="true" is_instant="true"> |
sla@5237 | 121 | <value type="CLASS" field="unloadedClass" label="Unloaded Class"/> |
sla@5237 | 122 | <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/> |
sla@5237 | 123 | </event> |
sla@5237 | 124 | |
sla@5237 | 125 | <struct id="VirtualSpace"> |
sla@5237 | 126 | <value type="ADDRESS" field="start" label="Start Address" description="Start address of the virtual space" /> |
sla@5237 | 127 | <value type="ADDRESS" field="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" /> |
sla@5237 | 128 | <value type="BYTES64" field="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" /> |
sla@5237 | 129 | <value type="ADDRESS" field="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" /> |
sla@5237 | 130 | <value type="BYTES64" field="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" /> |
sla@5237 | 131 | </struct> |
sla@5237 | 132 | |
sla@5237 | 133 | <struct id="ObjectSpace"> |
sla@5237 | 134 | <value type="ADDRESS" field="start" label="Start Address" description="Start address of the space" /> |
sla@5237 | 135 | <value type="ADDRESS" field="end" label="End Address" description="End address of the space" /> |
sla@5237 | 136 | <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" /> |
sla@5237 | 137 | <value type="BYTES64" field="size" label="Size" description="Size of the space" /> |
sla@5237 | 138 | </struct> |
sla@5237 | 139 | |
sla@5237 | 140 | <event id="GCHeapSummary" path="vm/gc/heap/summary" label="Heap Summary" is_instant="true"> |
sla@5237 | 141 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 142 | <value type="GCWHEN" field="when" label="When" /> |
sla@5237 | 143 | <structvalue type="VirtualSpace" field="heapSpace" label="Heap Space"/> |
sla@5237 | 144 | <value type="BYTES64" field="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap"/> |
sla@5237 | 145 | </event> |
sla@5237 | 146 | |
sla@5237 | 147 | <struct id="MetaspaceSizes"> |
sla@5237 | 148 | <value type="BYTES64" field="capacity" label="Capacity" description="Total available memory to allocate in" /> |
sla@5237 | 149 | <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" /> |
sla@5237 | 150 | <value type="BYTES64" field="reserved" label="Reserved" description="Reserved memory for this space" /> |
sla@5237 | 151 | </struct> |
sla@5237 | 152 | |
sla@5237 | 153 | <event id="MetaspaceSummary" path="vm/gc/heap/metaspace_summary" label="Metaspace Summary" is_instant="true"> |
sla@5237 | 154 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 155 | <value type="GCWHEN" field="when" label="When" /> |
sla@5237 | 156 | <structvalue type="MetaspaceSizes" field="metaspace" label="Total"/> |
sla@5237 | 157 | <structvalue type="MetaspaceSizes" field="dataSpace" label="Data"/> |
sla@5237 | 158 | <structvalue type="MetaspaceSizes" field="classSpace" label="Class"/> |
sla@5237 | 159 | </event> |
sla@5237 | 160 | |
sla@5237 | 161 | <event id="PSHeapSummary" path="vm/gc/heap/ps_summary" label="ParallelScavengeHeap Summary" is_instant="true"> |
sla@5237 | 162 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 163 | <value type="GCWHEN" field="when" label="When" /> |
sla@5237 | 164 | |
sla@5237 | 165 | <structvalue type="VirtualSpace" field="oldSpace" label="Old Space"/> |
sla@5237 | 166 | <structvalue type="ObjectSpace" field="oldObjectSpace" label="Old Object Space"/> |
sla@5237 | 167 | |
sla@5237 | 168 | <structvalue type="VirtualSpace" field="youngSpace" label="Young Space"/> |
sla@5237 | 169 | <structvalue type="ObjectSpace" field="edenSpace" label="Eden Space"/> |
sla@5237 | 170 | <structvalue type="ObjectSpace" field="fromSpace" label="From Space"/> |
sla@5237 | 171 | <structvalue type="ObjectSpace" field="toSpace" label="To Space"/> |
sla@5237 | 172 | </event> |
sla@5237 | 173 | |
sla@5237 | 174 | <event id="GCGarbageCollection" path="vm/gc/collector/garbage_collection" label="Garbage Collection" |
sla@5237 | 175 | description="Garbage collection performed by the JVM"> |
sla@5237 | 176 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" /> |
sla@5237 | 177 | <value type="GCNAME" field="name" label="Name" description="The name of the Garbage Collector" /> |
sla@5237 | 178 | <value type="GCCAUSE" field="cause" label="Cause" description="The reason for triggering this Garbage Collection" /> |
sla@5237 | 179 | <value type="RELATIVE_TICKS" field="sumOfPauses" label="Sum of Pauses" description="Sum of all the times in which Java execution was paused during the garbage collection" /> |
sla@5237 | 180 | <value type="RELATIVE_TICKS" field="longestPause" label="Longest Pause" description="Longest individual pause during the garbage collection" /> |
sla@5237 | 181 | </event> |
sla@5237 | 182 | |
sla@5237 | 183 | <event id="GCParallelOld" path="vm/gc/collector/parold_garbage_collection" label="Parallel Old Garbage Collection" |
sla@5237 | 184 | description="Extra information specific to Parallel Old Garbage Collections"> |
sla@5237 | 185 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" /> |
sla@5237 | 186 | <value type="ADDRESS" field="densePrefix" label="Dense Prefix" description="The address of the dense prefix, used when compacting" /> |
sla@5237 | 187 | </event> |
sla@5237 | 188 | |
sla@5237 | 189 | <event id="GCYoungGarbageCollection" path="vm/gc/collector/young_garbage_collection" label="Young Garbage Collection" |
sla@5237 | 190 | description="Extra information specific to Young Garbage Collections"> |
sla@5237 | 191 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" /> |
sla@5237 | 192 | <value type="UINT" field="tenuringThreshold" label="Tenuring Threshold" /> |
sla@5237 | 193 | </event> |
sla@5237 | 194 | |
sla@5237 | 195 | <event id="GCOldGarbageCollection" path="vm/gc/collector/old_garbage_collection" label="Old Garbage Collection" |
sla@5237 | 196 | description="Extra information specific to Old Garbage Collections"> |
sla@5237 | 197 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 198 | </event> |
sla@5237 | 199 | |
sla@5237 | 200 | <event id="GCG1GarbageCollection" path="vm/gc/collector/g1_garbage_collection" label="G1 Garbage Collection" |
sla@5237 | 201 | description="Extra information specific to G1 Garbage Collections"> |
sla@5237 | 202 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 203 | <value type="G1YCTYPE" field="type" label="Type" /> |
sla@5237 | 204 | </event> |
sla@5237 | 205 | |
sla@5237 | 206 | <event id="EvacuationInfo" path="vm/gc/detailed/evacuation_info" label="Evacuation Info" is_instant="true"> |
sla@5237 | 207 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 208 | <value type="UINT" field="cSetRegions" label="Collection Set Regions"/> |
sla@5237 | 209 | <value type="BYTES64" field="cSetUsedBefore" label="Collection Set Before" description="Memory usage before GC in the collection set regions"/> |
sla@5237 | 210 | <value type="BYTES64" field="cSetUsedAfter" label="Collection Set After" description="Memory usage after GC in the collection set regions"/> |
sla@5237 | 211 | <value type="UINT" field="allocationRegions" label="Allocation Regions" description="Regions chosen as allocation regions during evacuation (includes survivors and old space regions)"/> |
sla@5237 | 212 | <value type="BYTES64" field="allocRegionsUsedBefore" label="Alloc Regions Before" description="Memory usage before GC in allocation regions"/> |
sla@5237 | 213 | <value type="BYTES64" field="allocRegionsUsedAfter" label="Alloc Regions After" description="Memory usage after GC in allocation regions"/> |
sla@5237 | 214 | <value type="BYTES64" field="bytesCopied" label="BytesCopied"/> |
sla@5237 | 215 | <value type="UINT" field="regionsFreed" label="Regions Freed"/> |
sla@5237 | 216 | </event> |
sla@5237 | 217 | |
sla@5237 | 218 | <event id="GCReferenceStatistics" path="vm/gc/reference/statistics" |
sla@5237 | 219 | label="GC Reference Statistics" is_instant="true" |
sla@5237 | 220 | description="Total count of processed references during GC"> |
sla@5237 | 221 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 222 | <value type="REFERENCETYPE" field="type" label="Type" /> |
sla@5237 | 223 | <value type="ULONG" field="count" label="Total Count" /> |
sla@5237 | 224 | </event> |
sla@5237 | 225 | |
sla@5237 | 226 | <struct id="CopyFailed"> |
sla@5237 | 227 | <value type="ULONG" field="objectCount" label="Object Count"/> |
sla@5237 | 228 | <value type="BYTES64" field="firstSize" label="First Failed Object Size"/> |
sla@5237 | 229 | <value type="BYTES64" field="smallestSize" label="Smallest Failed Object Size"/> |
sla@5237 | 230 | <value type="BYTES64" field="totalSize" label="Total Object Size"/> |
sla@5237 | 231 | </struct> |
sla@5237 | 232 | |
sla@5237 | 233 | <event id="ObjectCountAfterGC" path="vm/gc/detailed/object_count_after_gc" is_instant="true" label="Object Count after GC"> |
sla@5237 | 234 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" /> |
sla@5237 | 235 | <value type="CLASS" field="class" label="Class" /> |
sla@5237 | 236 | <value type="LONG" field="count" label="Count" /> |
sla@5237 | 237 | <value type="BYTES64" field="totalSize" label="Total Size" /> |
sla@5237 | 238 | </event> |
sla@5237 | 239 | |
sla@5237 | 240 | <event id="PromotionFailed" path="vm/gc/detailed/promotion_failed" label="Promotion Failed" is_instant="true" |
sla@5237 | 241 | description="Promotion of an object failed"> |
sla@5237 | 242 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 243 | <structvalue type="CopyFailed" field="data" label="data"/> |
sla@5237 | 244 | <value type="OSTHREAD" field="thread" label="Running thread"/> |
sla@5237 | 245 | </event> |
sla@5237 | 246 | |
sla@5237 | 247 | <event id="EvacuationFailed" path="vm/gc/detailed/evacuation_failed" label="Evacuation Failed" is_instant="true" |
sla@5237 | 248 | description="Evacuation of an object failed"> |
sla@5237 | 249 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 250 | <structvalue type="CopyFailed" field="data" label="data"/> |
sla@5237 | 251 | </event> |
sla@5237 | 252 | |
sla@5237 | 253 | <event id="ConcurrentModeFailure" path="vm/gc/detailed/concurrent_mode_failure" label="Concurrent Mode Failure" |
sla@5237 | 254 | is_instant="true" description="Concurrent Mode failed"> |
sla@5237 | 255 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 256 | </event> |
sla@5237 | 257 | |
sla@5237 | 258 | <event id="GCPhasePause" path="vm/gc/phases/pause" label="GC Phase Pause"> |
sla@5237 | 259 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 260 | <value type="UTF8" field="name" label="Name" /> |
sla@5237 | 261 | </event> |
sla@5237 | 262 | |
sla@5237 | 263 | <event id="GCPhasePauseLevel1" path="vm/gc/phases/pause_level_1" label="GC Phase Pause Level 1"> |
sla@5237 | 264 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 265 | <value type="UTF8" field="name" label="Name" /> |
sla@5237 | 266 | </event> |
sla@5237 | 267 | |
sla@5237 | 268 | <event id="GCPhasePauseLevel2" path="vm/gc/phases/pause_level_2" label="GC Phase Pause Level 2"> |
sla@5237 | 269 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 270 | <value type="UTF8" field="name" label="Name" /> |
sla@5237 | 271 | </event> |
sla@5237 | 272 | |
sla@5237 | 273 | <event id="GCPhasePauseLevel3" path="vm/gc/phases/pause_level_3" label="GC Phase Pause Level 3"> |
sla@5237 | 274 | <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/> |
sla@5237 | 275 | <value type="UTF8" field="name" label="Name" /> |
sla@5237 | 276 | </event> |
sla@5237 | 277 | |
sla@5237 | 278 | <!-- Compiler events --> |
sla@5237 | 279 | |
sla@5237 | 280 | <event id="Compilation" path="vm/compiler/compilation" label="Compilation" |
sla@5237 | 281 | has_thread="true" is_requestable="false" is_constant="false"> |
sla@5237 | 282 | <value type="METHOD" field="method" label="Java Method"/> |
sla@5237 | 283 | <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/> |
sla@5237 | 284 | <value type="USHORT" field="compileLevel" label="Compilation Level"/> |
sla@5237 | 285 | <value type="BOOLEAN" field="succeded" label="Succeeded"/> |
sla@5237 | 286 | <value type="BOOLEAN" field="isOsr" label="On Stack Replacement"/> |
sla@5237 | 287 | <value type="BYTES" field="codeSize" label="Compiled Code Size"/> |
sla@5237 | 288 | <value type="BYTES" field="inlinedBytes" label="Inlined Code Size"/> |
sla@5237 | 289 | </event> |
sla@5237 | 290 | |
sla@5237 | 291 | <event id="CompilerPhase" path="vm/compiler/phase" label="Compiler Phase" |
sla@5237 | 292 | has_thread="true" is_requestable="false" is_constant="false"> |
sla@5237 | 293 | <value type="COMPILERPHASETYPE" field="phase" label="Compile Phase"/> |
sla@5237 | 294 | <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/> |
sla@5237 | 295 | <value type="USHORT" field="phaseLevel" label="Phase Level"/> |
sla@5237 | 296 | </event> |
sla@5237 | 297 | |
sla@5237 | 298 | <event id="CompilerFailure" path="vm/compiler/failure" label="Compilation Failure" |
sla@5237 | 299 | has_thread="true" is_requestable="false" is_constant="false" is_instant="true"> |
sla@5237 | 300 | <value type="UTF8" field="failure" label="Message"/> |
sla@5237 | 301 | <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/> |
sla@5237 | 302 | </event> |
sla@5237 | 303 | |
sla@5237 | 304 | <!-- Code sweeper events --> |
sla@5237 | 305 | |
sla@5237 | 306 | <event id="SweepCodeCache" path="vm/code_sweeper/sweep" label="Sweep Code Cache" |
sla@5237 | 307 | has_thread="true" is_requestable="false" is_constant="false"> |
sla@5237 | 308 | <value type="INTEGER" field="sweepIndex" label="Sweep Index" relation="SWEEP_ID"/> |
sla@5237 | 309 | <value type="USHORT" field="sweepFractionIndex" label="Fraction Index"/> |
sla@5237 | 310 | <value type="UINT" field="sweptCount" label="Methods Swept"/> |
sla@5237 | 311 | <value type="UINT" field="flushedCount" label="Methods Flushed"/> |
sla@5237 | 312 | <value type="UINT" field="markedCount" label="Methods Reclaim"/> |
sla@5237 | 313 | <value type="UINT" field="zombifiedCount" label="Methods Zombified"/> |
sla@5237 | 314 | </event> |
sla@5237 | 315 | |
sla@5237 | 316 | <event id="CleanCodeCache" path="vm/code_sweeper/clean" label="Clean Code Cache" |
sla@5237 | 317 | description="Clean code cache from oldest methods" |
sla@5237 | 318 | has_thread="true" is_requestable="false" is_constant="false"> |
sla@5237 | 319 | <value type="UINT" field="disconnectedCount" label="Methods Disconnected"/> |
sla@5237 | 320 | <value type="UINT" field="madeNonEntrantCount" label="Methods Made Non-Entrant"/> |
sla@5237 | 321 | </event> |
sla@5237 | 322 | |
sla@5237 | 323 | <!-- Code cache events --> |
sla@5237 | 324 | |
sla@5237 | 325 | <event id="CodeCacheFull" path="vm/code_cache/full" label="Code Cache Full" |
sla@5237 | 326 | has_thread="true" is_requestable="false" is_constant="false" is_instant="true"> |
sla@5237 | 327 | <value type="ADDRESS" field="startAddress" label="Start Address"/> |
sla@5237 | 328 | <value type="ADDRESS" field="commitedTopAddress" label="Commited Top"/> |
sla@5237 | 329 | <value type="ADDRESS" field="reservedTopAddress" label="Reserved Top"/> |
sla@5237 | 330 | <value type="INTEGER" field="entryCount" label="Entries"/> |
sla@5237 | 331 | <value type="INTEGER" field="methodCount" label="Methods"/> |
sla@5237 | 332 | <value type="INTEGER" field="adaptorCount" label="Adaptors"/> |
sla@5237 | 333 | <value type="BYTES64" field="unallocatedCapacity" label="Unallocated"/> |
sla@5237 | 334 | <value type="INTEGER" field="fullCount" label="Full Count"/> |
sla@5237 | 335 | </event> |
sla@5237 | 336 | |
sla@5237 | 337 | <event id="ExecuteVMOperation" path="vm/runtime/execute_vm_operation" label="VM Operation" |
sla@5237 | 338 | description="Execution of a VM Operation" has_thread="true"> |
sla@5237 | 339 | <value type="VMOPERATIONTYPE" field="operation" label="Operation" /> |
sla@5237 | 340 | <value type="BOOLEAN" field="safepoint" label="At Safepoint" description="If the operation occured at a safepoint."/> |
sla@5237 | 341 | <value type="BOOLEAN" field="blocking" label="Caller Blocked" description="If the calling thread was blocked until the operation was complete."/> |
sla@5237 | 342 | <value type="OSTHREAD" field="caller" label="Caller" transition="FROM" description="Thread requesting operation. If non-blocking, will be set to 0 indicating thread is unknown."/> |
sla@5237 | 343 | </event> |
sla@5237 | 344 | |
sla@5237 | 345 | <!-- Allocation events --> |
sla@5237 | 346 | <event id="AllocObjectInNewTLAB" path="java/object_alloc_in_new_TLAB" label="Allocation in new TLAB" |
sla@5237 | 347 | description="Allocation in new Thread Local Allocation Buffer" has_thread="true" has_stacktrace="true" is_instant="true"> |
sla@5237 | 348 | <value type="CLASS" field="class" label="Class" description="Class of allocated object"/> |
sla@5237 | 349 | <value type="BYTES64" field="allocationSize" label="Allocation Size"/> |
sla@5237 | 350 | <value type="BYTES64" field="tlabSize" label="TLAB Size"/> |
sla@5237 | 351 | </event> |
sla@5237 | 352 | |
sla@5237 | 353 | <event id="AllocObjectOutsideTLAB" path="java/object_alloc_outside_TLAB" label="Allocation outside TLAB" |
sla@5237 | 354 | description="Allocation outside Thread Local Allocation Buffers" has_thread="true" has_stacktrace="true" is_instant="true"> |
sla@5237 | 355 | <value type="CLASS" field="class" label="Class" description="Class of allocated object"/> |
sla@5237 | 356 | <value type="BYTES64" field="allocationSize" label="Allocation Size"/> |
sla@5237 | 357 | </event> |
sla@5237 | 358 | </events> |
sla@5237 | 359 | |
sla@5237 | 360 | <xi:include href="../../../closed/share/vm/trace/traceeventtypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> |
sla@5237 | 361 | <xi:fallback/> |
sla@5237 | 362 | </xi:include> |
sla@5237 | 363 | |
sla@5237 | 364 | <xi:include href="../../../closed/share/vm/trace/traceevents.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> |
sla@5237 | 365 | <xi:fallback/> |
sla@5237 | 366 | </xi:include> |
sla@5237 | 367 | </trace> |