src/share/vm/trace/trace.xml

changeset 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/vm/trace/trace.xml	Wed Apr 27 01:25:04 2016 +0800
     1.3 @@ -0,0 +1,437 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!--
     1.6 + Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7 + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8 +
     1.9 + This code is free software; you can redistribute it and/or modify it
    1.10 + under the terms of the GNU General Public License version 2 only, as
    1.11 + published by the Free Software Foundation.
    1.12 +
    1.13 + This code is distributed in the hope that it will be useful, but WITHOUT
    1.14 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.15 + FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.16 + version 2 for more details (a copy is included in the LICENSE file that
    1.17 + accompanied this code).
    1.18 +
    1.19 + You should have received a copy of the GNU General Public License version
    1.20 + 2 along with this work; if not, write to the Free Software Foundation,
    1.21 + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.22 +
    1.23 + Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.24 + or visit www.oracle.com if you need additional information or have any
    1.25 + questions.
    1.26 +
    1.27 +-->
    1.28 +
    1.29 +
    1.30 +<!DOCTYPE trace SYSTEM "trace.dtd" [
    1.31 +<!ENTITY % xinclude SYSTEM "xinclude.mod">
    1.32 +%xinclude;
    1.33 +]>
    1.34 +
    1.35 +<trace>
    1.36 +  <xi:include href="tracetypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
    1.37 +
    1.38 +  <relation_decls>
    1.39 +    <relation_decl id="GC_ID" uri="vm/gc/id"/>
    1.40 +    <relation_decl id="COMP_ID" uri="vm/compiler/id"/>
    1.41 +    <relation_decl id="SWEEP_ID" uri="vm/code_sweeper/id"/>
    1.42 +    <relation_decl id="JAVA_MONITOR_ADDRESS" uri="java/monitor/address"/>
    1.43 +  </relation_decls>
    1.44 +
    1.45 +<!--
    1.46 +
    1.47 +Events in the JVM are by default timed (it's more common)
    1.48 +Perhaps a little strange. Might change.
    1.49 +
    1.50 +EVENTS
    1.51 +
    1.52 +Declard with the 'event' tag.
    1.53 +
    1.54 +<value fields> can be one or more of
    1.55 +   value            - a simple primitive or constant type value
    1.56 +   structvalue      - value is a sub-struct. This type must be previously defined
    1.57 +                      with 'struct'
    1.58 +All these require you to declare type, field and label of the field. They also accept
    1.59 +an optional description of the field. If the meaning of the field is not obvious
    1.60 +from the label you should provide a description. If an event however is not actually
    1.61 +meant for end-users, you should probably _not_ write descriptions at all, since you
    1.62 +might just add more concepts the user has no notion of/interest in.
    1.63 +
    1.64 +Events should be modeled after what conceptual process you are expressing, _NOT_
    1.65 +from whatever data structures you might use inside the JVM for expressing a process.
    1.66 +
    1.67 +
    1.68 +STRUCT
    1.69 +
    1.70 +Declared with the 'struct' tag.
    1.71 +
    1.72 +Declares a structure type that can be used in other events.
    1.73 +
    1.74 +-->
    1.75 +
    1.76 +  <events>
    1.77 +    <event id="ThreadStart" path="java/thread_start" label="Java Thread Start"
    1.78 +           has_thread="true" is_instant="true">
    1.79 +      <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
    1.80 +    </event>
    1.81 +
    1.82 +    <event id="ThreadEnd" path="java/thread_end" label="Java Thread End"
    1.83 +           has_thread="true" is_instant="true">
    1.84 +      <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
    1.85 +    </event>
    1.86 +
    1.87 +    <event id="ThreadSleep" path="java/thread_sleep" label="Java Thread Sleep"
    1.88 +            has_thread="true" has_stacktrace="true" is_instant="false">
    1.89 +      <value type="MILLIS" field="time" label="Sleep Time"/>
    1.90 +    </event>
    1.91 +
    1.92 +    <event id="ThreadPark" path="java/thread_park" label="Java Thread Park"
    1.93 +            has_thread="true" has_stacktrace="true" is_instant="false">
    1.94 +      <value type="CLASS" field="klass" label="Class Parked On"/>
    1.95 +      <value type="MILLIS" field="timeout" label="Park Timeout"/>
    1.96 +      <value type="ADDRESS" field="address" label="Address of Object Parked" relation="JAVA_MONITOR_ADDRESS"/>
    1.97 +    </event>
    1.98 +
    1.99 +    <event id="JavaMonitorEnter" path="java/monitor_enter" label="Java Monitor Blocked"
   1.100 +            has_thread="true" has_stacktrace="true" is_instant="false">
   1.101 +      <value type="CLASS" field="klass" label="Monitor Class"/>
   1.102 +      <value type="JAVALANGTHREAD" field="previousOwner" label="Previous Monitor Owner"/>
   1.103 +      <value type="ADDRESS" field="address" label="Monitor Address" relation="JAVA_MONITOR_ADDRESS"/>
   1.104 +    </event>
   1.105 +
   1.106 +    <event id="JavaMonitorWait" path="java/monitor_wait" label="Java Monitor Wait" description="Waiting on a Java monitor"
   1.107 +            has_thread="true" has_stacktrace="true" is_instant="false">
   1.108 +      <value type="CLASS" field="klass" label="Monitor Class" description="Class of object waited on"/>
   1.109 +      <value type="OSTHREAD" field="notifier" label="Notifier Thread" description="Notifying Thread"/>
   1.110 +      <value type="MILLIS" field="timeout" label="Timeout" description="Maximum wait time"/>
   1.111 +      <value type="BOOLEAN" field="timedOut" label="Timed Out" description="Wait has been timed out"/>
   1.112 +      <value type="ADDRESS" field="address" label="Monitor Address" description="Address of object waited on" relation="JAVA_MONITOR_ADDRESS"/>
   1.113 +    </event>
   1.114 +
   1.115 +    <event id="ClassLoad" path="vm/class/load" label="Class Load"
   1.116 +            has_thread="true" has_stacktrace="true" is_instant="false">
   1.117 +      <value type="CLASS" field="loadedClass" label="Loaded Class"/>
   1.118 +      <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
   1.119 +      <value type="CLASS" field="initiatingClassLoader" label="Initiating Class Loader"/>
   1.120 +    </event>
   1.121 +
   1.122 +    <event id="ClassUnload" path="vm/class/unload" label="Class Unload"
   1.123 +        has_thread="true" is_instant="true">
   1.124 +      <value type="CLASS" field="unloadedClass" label="Unloaded Class"/>
   1.125 +      <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
   1.126 +    </event>
   1.127 +
   1.128 +    <event id="LongFlagChanged" path="vm/flag/long_changed" label="Long Flag Changed"
   1.129 +          is_instant="true">
   1.130 +      <value type="UTF8" field="name" label="Name" />
   1.131 +      <value type="LONG" field="old_value" label="Old Value" />
   1.132 +      <value type="LONG" field="new_value" label="New Value" />
   1.133 +      <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
   1.134 +    </event>
   1.135 +
   1.136 +    <event id="UnsignedLongFlagChanged" path="vm/flag/ulong_changed" label="Unsigned Long Flag Changed"
   1.137 +          is_instant="true">
   1.138 +      <value type="UTF8" field="name" label="Name" />
   1.139 +      <value type="ULONG" field="old_value" label="Old Value" />
   1.140 +      <value type="ULONG" field="new_value" label="New Value" />
   1.141 +      <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
   1.142 +    </event>
   1.143 +
   1.144 +    <event id="DoubleFlagChanged" path="vm/flag/double_changed" label="Double Flag Changed"
   1.145 +         is_instant="true">
   1.146 +      <value type="UTF8" field="name" label="Name" />
   1.147 +      <value type="DOUBLE" field="old_value" label="Old Value" />
   1.148 +      <value type="DOUBLE" field="new_value" label="New Value" />
   1.149 +      <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
   1.150 +    </event>
   1.151 +
   1.152 +    <event id="BooleanFlagChanged" path="vm/flag/boolean_changed" label="Boolean Flag Changed"
   1.153 +         is_instant="true">
   1.154 +      <value type="UTF8" field="name" label="Name" />
   1.155 +      <value type="BOOLEAN" field="old_value" label="Old Value" />
   1.156 +      <value type="BOOLEAN" field="new_value" label="New Value" />
   1.157 +      <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
   1.158 +    </event>
   1.159 +
   1.160 +    <event id="StringFlagChanged" path="vm/flag/string_changed" label="String Flag Changed"
   1.161 +         is_instant="true">
   1.162 +      <value type="UTF8" field="name" label="Name" />
   1.163 +      <value type="UTF8" field="old_value" label="Old Value" />
   1.164 +      <value type="UTF8" field="new_value" label="New Value" />
   1.165 +      <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
   1.166 +    </event>
   1.167 +
   1.168 +    <struct id="VirtualSpace">
   1.169 +      <value type="ADDRESS" field="start" label="Start Address" description="Start address of the virtual space" />
   1.170 +      <value type="ADDRESS" field="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" />
   1.171 +      <value type="BYTES64" field="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" />
   1.172 +      <value type="ADDRESS" field="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" />
   1.173 +      <value type="BYTES64" field="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" />
   1.174 +    </struct>
   1.175 +
   1.176 +    <struct id="ObjectSpace">
   1.177 +      <value type="ADDRESS" field="start" label="Start Address" description="Start address of the space" />
   1.178 +      <value type="ADDRESS" field="end" label="End Address" description="End address of the space" />
   1.179 +      <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" />
   1.180 +      <value type="BYTES64" field="size" label="Size" description="Size of the space" />
   1.181 +    </struct>
   1.182 +
   1.183 +    <event id="GCHeapSummary" path="vm/gc/heap/summary" label="Heap Summary" is_instant="true">
   1.184 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.185 +      <value type="GCWHEN" field="when" label="When" />
   1.186 +      <structvalue type="VirtualSpace" field="heapSpace" label="Heap Space"/>
   1.187 +      <value type="BYTES64" field="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap"/>
   1.188 +    </event>
   1.189 +
   1.190 +    <struct id="MetaspaceSizes">
   1.191 +      <value type="BYTES64" field="committed" label="Committed" description="Committed memory for this space" />
   1.192 +      <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" />
   1.193 +      <value type="BYTES64" field="reserved" label="Reserved" description="Reserved memory for this space" />
   1.194 +    </struct>
   1.195 +
   1.196 +    <event id="MetaspaceSummary" path="vm/gc/heap/metaspace_summary" label="Metaspace Summary" is_instant="true">
   1.197 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.198 +      <value type="GCWHEN" field="when" label="When" />
   1.199 +      <value type="BYTES64" field="gcThreshold" label="GC Threshold" />
   1.200 +      <structvalue type="MetaspaceSizes" field="metaspace" label="Total"/>
   1.201 +      <structvalue type="MetaspaceSizes" field="dataSpace" label="Data"/>
   1.202 +      <structvalue type="MetaspaceSizes" field="classSpace" label="Class"/>
   1.203 +    </event>
   1.204 +
   1.205 +    <event id="MetaspaceGCThreshold" path="vm/gc/metaspace/gc_threshold" label="Metaspace GC Threshold" is_instant="true">
   1.206 +      <value type="BYTES64" field="oldValue" label="Old Value" />
   1.207 +      <value type="BYTES64" field="newValue" label="New Value" />
   1.208 +      <value type="GCTHRESHOLDUPDATER" field="updater" label="Updater" />
   1.209 +    </event>
   1.210 +
   1.211 +    <event id="MetaspaceAllocationFailure" path="vm/gc/metaspace/allocation_failure" label="Metaspace Allocation Failure" is_instant="true" has_stacktrace="true">
   1.212 +      <value type="CLASS" field="classLoader" label="Class Loader" />
   1.213 +      <value type="BOOLEAN" field="anonymousClassLoader" label="Anonymous Class Loader" />
   1.214 +      <value type="BYTES64" field="size" label="Size" />
   1.215 +      <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
   1.216 +      <value type="METASPACEOBJTYPE" field="metaspaceObjectType" label="Metaspace Object Type" />
   1.217 +    </event>
   1.218 +
   1.219 +    <event id="MetaspaceOOM" path="vm/gc/metaspace/out_of_memory" label="Metaspace Out of Memory" is_instant="true" has_stacktrace="true">
   1.220 +      <value type="CLASS" field="classLoader" label="Class Loader" />
   1.221 +      <value type="BOOLEAN" field="anonymousClassLoader" label="Anonymous Class Loader" />
   1.222 +      <value type="BYTES64" field="size" label="Size" />
   1.223 +      <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
   1.224 +      <value type="METASPACEOBJTYPE" field="metaspaceObjectType" label="Metaspace Object Type" />
   1.225 +    </event>
   1.226 +
   1.227 +    <event id="MetaspaceChunkFreeListSummary" path="vm/gc/metaspace/chunk_free_list_summary" label="Metaspace Chunk Free List Summary" is_instant="true">
   1.228 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.229 +      <value type="GCWHEN" field="when" label="When" />
   1.230 +      <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
   1.231 +      <value type="ULONG" field="specializedChunks" label="Specialized Chunks" />
   1.232 +      <value type="BYTES64" field="specializedChunksTotalSize" label="Specialized Chunks Total Size" />
   1.233 +      <value type="ULONG" field="smallChunks" label="Small Chunks" />
   1.234 +      <value type="BYTES64" field="smallChunksTotalSize" label="Small Chunks Total Size" />
   1.235 +      <value type="ULONG" field="mediumChunks" label="Medium Chunks" />
   1.236 +      <value type="BYTES64" field="mediumChunksTotalSize" label="Medium Chunks Total Size" />
   1.237 +      <value type="ULONG" field="humongousChunks" label="Humongous Chunks" />
   1.238 +      <value type="BYTES64" field="humongousChunksTotalSize" label="Humongous Chunks Total Size" />
   1.239 +    </event>
   1.240 +
   1.241 +    <event id="PSHeapSummary" path="vm/gc/heap/ps_summary" label="Parallel Scavenge Heap Summary" is_instant="true">
   1.242 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.243 +      <value type="GCWHEN" field="when" label="When" />
   1.244 +
   1.245 +      <structvalue type="VirtualSpace" field="oldSpace" label="Old Space"/>
   1.246 +      <structvalue type="ObjectSpace" field="oldObjectSpace" label="Old Object Space"/>
   1.247 +
   1.248 +      <structvalue type="VirtualSpace" field="youngSpace" label="Young Space"/>
   1.249 +      <structvalue type="ObjectSpace" field="edenSpace" label="Eden Space"/>
   1.250 +      <structvalue type="ObjectSpace" field="fromSpace" label="From Space"/>
   1.251 +      <structvalue type="ObjectSpace" field="toSpace" label="To Space"/>
   1.252 +    </event>
   1.253 +
   1.254 +    <event id="GCGarbageCollection" path="vm/gc/collector/garbage_collection" label="Garbage Collection"
   1.255 +           description="Garbage collection performed by the JVM">
   1.256 +      <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
   1.257 +      <value type="GCNAME" field="name" label="Name" description="The name of the Garbage Collector" />
   1.258 +      <value type="GCCAUSE" field="cause" label="Cause" description="The reason for triggering this Garbage Collection" />
   1.259 +      <value type="TICKSPAN" field="sumOfPauses" label="Sum of Pauses" description="Sum of all the times in which Java execution was paused during the garbage collection" />
   1.260 +      <value type="TICKSPAN" field="longestPause" label="Longest Pause" description="Longest individual pause during the garbage collection" />
   1.261 +    </event>
   1.262 +
   1.263 +    <event id="GCParallelOld" path="vm/gc/collector/parold_garbage_collection" label="Parallel Old Garbage Collection"
   1.264 +           description="Extra information specific to Parallel Old Garbage Collections">
   1.265 +      <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
   1.266 +      <value type="ADDRESS" field="densePrefix" label="Dense Prefix" description="The address of the dense prefix, used when compacting" />
   1.267 +    </event>
   1.268 +
   1.269 +    <event id="GCYoungGarbageCollection" path="vm/gc/collector/young_garbage_collection" label="Young Garbage Collection"
   1.270 +           description="Extra information specific to Young Garbage Collections">
   1.271 +      <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
   1.272 +      <value type="UINT" field="tenuringThreshold" label="Tenuring Threshold" />
   1.273 +    </event>
   1.274 +
   1.275 +    <event id="GCOldGarbageCollection" path="vm/gc/collector/old_garbage_collection" label="Old Garbage Collection"
   1.276 +           description="Extra information specific to Old Garbage Collections">
   1.277 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.278 +    </event>
   1.279 +
   1.280 +    <event id="GCG1GarbageCollection" path="vm/gc/collector/g1_garbage_collection" label="G1 Garbage Collection"
   1.281 +           description="Extra information specific to G1 Garbage Collections">
   1.282 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.283 +      <value type="G1YCTYPE" field="type" label="Type" />
   1.284 +    </event>
   1.285 +
   1.286 +    <event id="EvacuationInfo" path="vm/gc/detailed/evacuation_info" label="Evacuation Information" is_instant="true">
   1.287 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.288 +      <value type="UINT" field="cSetRegions" label="Collection Set Regions"/>
   1.289 +      <value type="BYTES64" field="cSetUsedBefore" label="Collection Set Before" description="Memory usage before GC in the collection set regions"/>
   1.290 +      <value type="BYTES64" field="cSetUsedAfter" label="Collection Set After" description="Memory usage after GC in the collection set regions"/>
   1.291 +      <value type="UINT" field="allocationRegions" label="Allocation Regions" description="Regions chosen as allocation regions during evacuation (includes survivors and old space regions)"/>
   1.292 +      <value type="BYTES64" field="allocRegionsUsedBefore" label="Alloc Regions Before" description="Memory usage before GC in allocation regions"/>
   1.293 +      <value type="BYTES64" field="allocRegionsUsedAfter" label="Alloc Regions After" description="Memory usage after GC in allocation regions"/>
   1.294 +      <value type="BYTES64" field="bytesCopied" label="Bytes Copied"/>
   1.295 +      <value type="UINT" field="regionsFreed" label="Regions Freed"/>
   1.296 +    </event>
   1.297 +
   1.298 +    <event id="GCReferenceStatistics" path="vm/gc/reference/statistics"
   1.299 +           label="GC Reference Statistics" is_instant="true"
   1.300 +           description="Total count of processed references during GC">
   1.301 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.302 +      <value type="REFERENCETYPE" field="type" label="Type" />
   1.303 +      <value type="ULONG" field="count" label="Total Count" />
   1.304 +    </event>
   1.305 +
   1.306 +    <struct id="CopyFailed">
   1.307 +      <value type="ULONG" field="objectCount" label="Object Count"/>
   1.308 +      <value type="BYTES64" field="firstSize" label="First Failed Object Size"/>
   1.309 +      <value type="BYTES64" field="smallestSize" label="Smallest Failed Object Size"/>
   1.310 +      <value type="BYTES64" field="totalSize" label="Total Object Size"/>
   1.311 +    </struct>
   1.312 +
   1.313 +    <event id="ObjectCountAfterGC" path="vm/gc/detailed/object_count_after_gc" is_instant="true" label="Object Count after GC">
   1.314 +      <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
   1.315 +      <value type="CLASS" field="class" label="Class" />
   1.316 +      <value type="LONG" field="count" label="Count" />
   1.317 +      <value type="BYTES64" field="totalSize" label="Total Size" />
   1.318 +    </event>
   1.319 +
   1.320 +    <event id="PromotionFailed" path="vm/gc/detailed/promotion_failed" label="Promotion Failed" is_instant="true"
   1.321 +           description="Promotion of an object failed">
   1.322 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.323 +      <structvalue type="CopyFailed" field="data" label="Data"/>
   1.324 +      <value type="OSTHREAD" field="thread" label="Running thread"/>
   1.325 +    </event>
   1.326 +
   1.327 +    <event id="EvacuationFailed" path="vm/gc/detailed/evacuation_failed" label="Evacuation Failed" is_instant="true"
   1.328 +           description="Evacuation of an object failed">
   1.329 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.330 +      <structvalue type="CopyFailed" field="data" label="Data"/>
   1.331 +    </event>
   1.332 +
   1.333 +    <event id="ConcurrentModeFailure" path="vm/gc/detailed/concurrent_mode_failure" label="Concurrent Mode Failure"
   1.334 +           is_instant="true" description="Concurrent Mode failed">
   1.335 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.336 +    </event>
   1.337 +
   1.338 +    <event id="GCPhasePause" path="vm/gc/phases/pause" label="GC Phase Pause">
   1.339 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.340 +      <value type="UTF8" field="name" label="Name" />
   1.341 +    </event>
   1.342 +
   1.343 +    <event id="GCPhasePauseLevel1" path="vm/gc/phases/pause_level_1" label="GC Phase Pause Level 1">
   1.344 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.345 +      <value type="UTF8" field="name" label="Name" />
   1.346 +    </event>
   1.347 +
   1.348 +    <event id="GCPhasePauseLevel2" path="vm/gc/phases/pause_level_2" label="GC Phase Pause Level 2">
   1.349 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.350 +      <value type="UTF8" field="name" label="Name" />
   1.351 +    </event>
   1.352 +
   1.353 +    <event id="GCPhasePauseLevel3" path="vm/gc/phases/pause_level_3" label="GC Phase Pause Level 3">
   1.354 +      <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
   1.355 +      <value type="UTF8" field="name" label="Name" />
   1.356 +    </event>
   1.357 +
   1.358 +    <!-- Compiler events -->
   1.359 +
   1.360 +    <event id="Compilation" path="vm/compiler/compilation" label="Compilation"
   1.361 +         has_thread="true" is_requestable="false" is_constant="false">
   1.362 +      <value type="METHOD" field="method" label="Java Method"/>
   1.363 +      <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
   1.364 +      <value type="USHORT" field="compileLevel" label="Compilation Level"/>
   1.365 +      <value type="BOOLEAN" field="succeded" label="Succeeded"/>
   1.366 +      <value type="BOOLEAN" field="isOsr" label="On Stack Replacement"/>
   1.367 +      <value type="BYTES" field="codeSize" label="Compiled Code Size"/>
   1.368 +      <value type="BYTES" field="inlinedBytes" label="Inlined Code Size"/>
   1.369 +    </event>
   1.370 +
   1.371 +    <event id="CompilerPhase" path="vm/compiler/phase" label="Compiler Phase"
   1.372 +            has_thread="true" is_requestable="false" is_constant="false">
   1.373 +      <value type="COMPILERPHASETYPE" field="phase" label="Compile Phase"/>
   1.374 +      <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
   1.375 +      <value type="USHORT" field="phaseLevel" label="Phase Level"/>
   1.376 +    </event>
   1.377 +
   1.378 +    <event id="CompilerFailure" path="vm/compiler/failure" label="Compilation Failure"
   1.379 +            has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
   1.380 +      <value type="UTF8" field="failure" label="Message"/>
   1.381 +      <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
   1.382 +    </event>
   1.383 +
   1.384 +    <!-- Code sweeper events -->
   1.385 +
   1.386 +    <event id="SweepCodeCache" path="vm/code_sweeper/sweep" label="Sweep Code Cache"
   1.387 +       has_thread="true" is_requestable="false" is_constant="false">
   1.388 +      <value type="INTEGER" field="sweepIndex" label="Sweep Index" relation="SWEEP_ID"/>
   1.389 +      <value type="USHORT" field="sweepFractionIndex" label="Fraction Index"/>
   1.390 +      <value type="UINT" field="sweptCount" label="Methods Swept"/>
   1.391 +      <value type="UINT" field="flushedCount" label="Methods Flushed"/>
   1.392 +      <value type="UINT" field="markedCount" label="Methods Reclaimed"/>
   1.393 +      <value type="UINT" field="zombifiedCount" label="Methods Zombified"/>
   1.394 +    </event>
   1.395 +
   1.396 +    <!-- Code cache events -->
   1.397 +
   1.398 +    <event id="CodeCacheFull" path="vm/code_cache/full" label="Code Cache Full"
   1.399 +         has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
   1.400 +      <value type="ADDRESS" field="startAddress" label="Start Address"/>
   1.401 +      <value type="ADDRESS" field="commitedTopAddress" label="Commited Top"/>
   1.402 +      <value type="ADDRESS" field="reservedTopAddress" label="Reserved Top"/>
   1.403 +      <value type="INTEGER" field="entryCount" label="Entries"/>
   1.404 +      <value type="INTEGER" field="methodCount" label="Methods"/>
   1.405 +      <value type="INTEGER" field="adaptorCount" label="Adaptors"/>
   1.406 +      <value type="BYTES64" field="unallocatedCapacity" label="Unallocated"/>
   1.407 +      <value type="INTEGER" field="fullCount" label="Full Count"/>
   1.408 +    </event>
   1.409 +
   1.410 +    <event id="ExecuteVMOperation" path="vm/runtime/execute_vm_operation" label="VM Operation"
   1.411 +        description="Execution of a VM Operation" has_thread="true">
   1.412 +      <value type="VMOPERATIONTYPE" field="operation" label="Operation" />
   1.413 +      <value type="BOOLEAN" field="safepoint" label="At Safepoint" description="If the operation occured at a safepoint."/>
   1.414 +      <value type="BOOLEAN" field="blocking" label="Caller Blocked" description="If the calling thread was blocked until the operation was complete."/>
   1.415 +      <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."/>
   1.416 +    </event>
   1.417 +
   1.418 +    <!-- Allocation events -->
   1.419 +    <event id="AllocObjectInNewTLAB" path="java/object_alloc_in_new_TLAB" label="Allocation in new TLAB"
   1.420 +        description="Allocation in new Thread Local Allocation Buffer" has_thread="true" has_stacktrace="true" is_instant="true">
   1.421 +      <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
   1.422 +      <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
   1.423 +      <value type="BYTES64" field="tlabSize" label="TLAB Size"/>
   1.424 +    </event>
   1.425 +
   1.426 +    <event id="AllocObjectOutsideTLAB" path="java/object_alloc_outside_TLAB" label="Allocation outside TLAB"
   1.427 +        description="Allocation outside Thread Local Allocation Buffers" has_thread="true" has_stacktrace="true" is_instant="true">
   1.428 +      <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
   1.429 +      <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
   1.430 +    </event>
   1.431 +  </events>
   1.432 +
   1.433 +  <xi:include href="../../../closed/share/vm/trace/traceeventtypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
   1.434 +    <xi:fallback/>
   1.435 +  </xi:include>
   1.436 +
   1.437 +  <xi:include href="../../../closed/share/vm/trace/traceevents.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
   1.438 +    <xi:fallback/>
   1.439 +  </xi:include>
   1.440 +</trace>

mercurial