4141N/A<?xml version="1.0" encoding="utf-8"?>
4141N/A<!--
4423N/A Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
4141N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4141N/A
4141N/A This code is free software; you can redistribute it and/or modify it
4141N/A under the terms of the GNU General Public License version 2 only, as
4141N/A published by the Free Software Foundation.
4141N/A
4141N/A This code is distributed in the hope that it will be useful, but WITHOUT
4141N/A ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4141N/A FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4141N/A version 2 for more details (a copy is included in the LICENSE file that
4141N/A accompanied this code).
4141N/A
4141N/A You should have received a copy of the GNU General Public License version
4141N/A 2 along with this work; if not, write to the Free Software Foundation,
4141N/A Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4141N/A
4141N/A Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4141N/A or visit www.oracle.com if you need additional information or have any
4141N/A questions.
4141N/A
4141N/A-->
4141N/A
4141N/A
4141N/A<!DOCTYPE trace SYSTEM "trace.dtd" [
4141N/A<!ENTITY % xinclude SYSTEM "xinclude.mod">
4141N/A%xinclude;
4141N/A]>
4141N/A
4141N/A<trace>
4141N/A <xi:include href="tracetypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
4141N/A
4141N/A <relation_decls>
4141N/A <relation_decl id="GC_ID" uri="vm/gc/id"/>
4141N/A <relation_decl id="COMP_ID" uri="vm/compiler/id"/>
4141N/A <relation_decl id="SWEEP_ID" uri="vm/code_sweeper/id"/>
4409N/A <relation_decl id="JAVA_MONITOR_ADDRESS" uri="java/monitor/address"/>
4141N/A </relation_decls>
4141N/A
4141N/A<!--
4141N/A
4141N/AEvents in the JVM are by default timed (it's more common)
4141N/APerhaps a little strange. Might change.
4141N/A
4141N/AEVENTS
4141N/A
4141N/ADeclard with the 'event' tag.
4141N/A
4141N/A<value fields> can be one or more of
4141N/A value - a simple primitive or constant type value
4141N/A structvalue - value is a sub-struct. This type must be previously defined
4141N/A with 'struct'
4141N/AAll these require you to declare type, field and label of the field. They also accept
4141N/Aan optional description of the field. If the meaning of the field is not obvious
4141N/Afrom the label you should provide a description. If an event however is not actually
4141N/Ameant for end-users, you should probably _not_ write descriptions at all, since you
4141N/Amight just add more concepts the user has no notion of/interest in.
4141N/A
4141N/AEvents should be modeled after what conceptual process you are expressing, _NOT_
4141N/Afrom whatever data structures you might use inside the JVM for expressing a process.
4141N/A
4141N/A
4141N/ASTRUCT
4141N/A
4141N/ADeclared with the 'struct' tag.
4141N/A
4141N/ADeclares a structure type that can be used in other events.
4141N/A
4141N/A-->
4141N/A
4141N/A <events>
4141N/A <event id="ThreadStart" path="java/thread_start" label="Java Thread Start"
4141N/A has_thread="true" is_instant="true">
4141N/A <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
4141N/A </event>
4141N/A
4141N/A <event id="ThreadEnd" path="java/thread_end" label="Java Thread End"
4141N/A has_thread="true" is_instant="true">
4141N/A <value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
4141N/A </event>
4141N/A
4141N/A <event id="ThreadSleep" path="java/thread_sleep" label="Java Thread Sleep"
4141N/A has_thread="true" has_stacktrace="true" is_instant="false">
4141N/A <value type="MILLIS" field="time" label="Sleep Time"/>
4141N/A </event>
4141N/A
4141N/A <event id="ThreadPark" path="java/thread_park" label="Java Thread Park"
4141N/A has_thread="true" has_stacktrace="true" is_instant="false">
4141N/A <value type="CLASS" field="klass" label="Class Parked On"/>
4141N/A <value type="MILLIS" field="timeout" label="Park Timeout"/>
4409N/A <value type="ADDRESS" field="address" label="Address of Object Parked" relation="JAVA_MONITOR_ADDRESS"/>
4141N/A </event>
4141N/A
4141N/A <event id="JavaMonitorEnter" path="java/monitor_enter" label="Java Monitor Blocked"
4141N/A has_thread="true" has_stacktrace="true" is_instant="false">
4141N/A <value type="CLASS" field="klass" label="Monitor Class"/>
4141N/A <value type="JAVALANGTHREAD" field="previousOwner" label="Previous Monitor Owner"/>
4409N/A <value type="ADDRESS" field="address" label="Monitor Address" relation="JAVA_MONITOR_ADDRESS"/>
4141N/A </event>
4141N/A
4141N/A <event id="JavaMonitorWait" path="java/monitor_wait" label="Java Monitor Wait" description="Waiting on a Java monitor"
4141N/A has_thread="true" has_stacktrace="true" is_instant="false">
4141N/A <value type="CLASS" field="klass" label="Monitor Class" description="Class of object waited on"/>
4141N/A <value type="OSTHREAD" field="notifier" label="Notifier Thread" description="Notifying Thread"/>
4141N/A <value type="MILLIS" field="timeout" label="Timeout" description="Maximum wait time"/>
4141N/A <value type="BOOLEAN" field="timedOut" label="Timed Out" description="Wait has been timed out"/>
4409N/A <value type="ADDRESS" field="address" label="Monitor Address" description="Address of object waited on" relation="JAVA_MONITOR_ADDRESS"/>
4141N/A </event>
4141N/A
4423N/A <event id="ClassLoad" path="vm/class/load" label="Class Load"
4423N/A has_thread="true" has_stacktrace="true" is_instant="false">
4423N/A <value type="CLASS" field="loadedClass" label="Loaded Class"/>
4423N/A <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
4423N/A <value type="CLASS" field="initiatingClassLoader" label="Initiating Class Loader"/>
4423N/A </event>
4423N/A
4423N/A <event id="ClassUnload" path="vm/class/unload" label="Class Unload"
4423N/A has_thread="true" is_instant="true">
4423N/A <value type="CLASS" field="unloadedClass" label="Unloaded Class"/>
4423N/A <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
4423N/A </event>
4423N/A
4141N/A <struct id="VirtualSpace">
4141N/A <value type="ADDRESS" field="start" label="Start Address" description="Start address of the virtual space" />
4141N/A <value type="ADDRESS" field="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" />
4141N/A <value type="BYTES64" field="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" />
4141N/A <value type="ADDRESS" field="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" />
4141N/A <value type="BYTES64" field="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" />
4141N/A </struct>
4141N/A
4141N/A <struct id="ObjectSpace">
4141N/A <value type="ADDRESS" field="start" label="Start Address" description="Start address of the space" />
4141N/A <value type="ADDRESS" field="end" label="End Address" description="End address of the space" />
4141N/A <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" />
4141N/A <value type="BYTES64" field="size" label="Size" description="Size of the space" />
4141N/A </struct>
4141N/A
4141N/A <event id="GCHeapSummary" path="vm/gc/heap/summary" label="Heap Summary" is_instant="true">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="GCWHEN" field="when" label="When" />
4141N/A <structvalue type="VirtualSpace" field="heapSpace" label="Heap Space"/>
4141N/A <value type="BYTES64" field="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap"/>
4141N/A </event>
4141N/A
4141N/A <event id="PermGenSummary" path="vm/gc/heap/perm_gen_summary" label="Perm Gen Summary" is_instant="true">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="GCWHEN" field="when" label="When" />
4141N/A <structvalue type="VirtualSpace" field="permSpace" label="PermGen Space"/>
4141N/A <structvalue type="ObjectSpace" field="objectSpace" label="Object Space"/>
4141N/A </event>
4141N/A
4598N/A <event id="PSHeapSummary" path="vm/gc/heap/ps_summary" label="Parallel Scavenge Heap Summary" is_instant="true">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="GCWHEN" field="when" label="When" />
4141N/A
4141N/A <structvalue type="VirtualSpace" field="oldSpace" label="Old Space"/>
4141N/A <structvalue type="ObjectSpace" field="oldObjectSpace" label="Old Object Space"/>
4141N/A
4141N/A <structvalue type="VirtualSpace" field="youngSpace" label="Young Space"/>
4141N/A <structvalue type="ObjectSpace" field="edenSpace" label="Eden Space"/>
4141N/A <structvalue type="ObjectSpace" field="fromSpace" label="From Space"/>
4141N/A <structvalue type="ObjectSpace" field="toSpace" label="To Space"/>
4141N/A </event>
4141N/A
4141N/A <event id="GCGarbageCollection" path="vm/gc/collector/garbage_collection" label="Garbage Collection"
4141N/A description="Garbage collection performed by the JVM">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" />
4141N/A <value type="GCNAME" field="name" label="Name" description="The name of the Garbage Collector" />
4141N/A <value type="GCCAUSE" field="cause" label="Cause" description="The reason for triggering this Garbage Collection" />
4177N/A <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" />
4177N/A <value type="RELATIVE_TICKS" field="longestPause" label="Longest Pause" description="Longest individual pause during the garbage collection" />
4141N/A </event>
4141N/A
4141N/A <event id="GCParallelOld" path="vm/gc/collector/parold_garbage_collection" label="Parallel Old Garbage Collection"
4141N/A description="Extra information specific to Parallel Old Garbage Collections">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" />
4141N/A <value type="ADDRESS" field="densePrefix" label="Dense Prefix" description="The address of the dense prefix, used when compacting" />
4141N/A </event>
4141N/A
4141N/A <event id="GCYoungGarbageCollection" path="vm/gc/collector/young_garbage_collection" label="Young Garbage Collection"
4141N/A description="Extra information specific to Young Garbage Collections">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" />
4355N/A <value type="UINT" field="tenuringThreshold" label="Tenuring Threshold" />
4141N/A </event>
4141N/A
4141N/A <event id="GCOldGarbageCollection" path="vm/gc/collector/old_garbage_collection" label="Old Garbage Collection"
4141N/A description="Extra information specific to Old Garbage Collections">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A </event>
4141N/A
4141N/A <event id="GCG1GarbageCollection" path="vm/gc/collector/g1_garbage_collection" label="G1 Garbage Collection"
4141N/A description="Extra information specific to G1 Garbage Collections">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="G1YCTYPE" field="type" label="Type" />
4141N/A </event>
4141N/A
4598N/A <event id="EvacuationInfo" path="vm/gc/detailed/evacuation_info" label="Evacuation Information" is_instant="true">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4362N/A <value type="UINT" field="cSetRegions" label="Collection Set Regions"/>
4362N/A <value type="BYTES64" field="cSetUsedBefore" label="Collection Set Before" description="Memory usage before GC in the collection set regions"/>
4362N/A <value type="BYTES64" field="cSetUsedAfter" label="Collection Set After" description="Memory usage after GC in the collection set regions"/>
4362N/A <value type="UINT" field="allocationRegions" label="Allocation Regions" description="Regions chosen as allocation regions during evacuation (includes survivors and old space regions)"/>
4362N/A <value type="BYTES64" field="allocRegionsUsedBefore" label="Alloc Regions Before" description="Memory usage before GC in allocation regions"/>
4362N/A <value type="BYTES64" field="allocRegionsUsedAfter" label="Alloc Regions After" description="Memory usage after GC in allocation regions"/>
4598N/A <value type="BYTES64" field="bytesCopied" label="Bytes Copied"/>
4362N/A <value type="UINT" field="regionsFreed" label="Regions Freed"/>
4362N/A </event>
4362N/A
4297N/A <event id="GCReferenceStatistics" path="vm/gc/reference/statistics"
4141N/A label="GC Reference Processing" is_instant="true"
4141N/A description="Total count of processed references during GC">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="REFERENCETYPE" field="type" label="Type" />
4141N/A <value type="ULONG" field="count" label="Total Count" />
4141N/A </event>
4141N/A
4434N/A <event id="ObjectCountAfterGC" path="vm/gc/detailed/object_count_after_gc" is_instant="true" label="Object Count After GC">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" />
4434N/A <value type="CLASS" field="class" label="Class" />
4434N/A <value type="LONG" field="count" label="Count" />
4434N/A <value type="BYTES64" field="totalSize" label="Total Size" />
4434N/A </event>
4434N/A
4309N/A <struct id="CopyFailed">
4409N/A <value type="ULONG" field="objectCount" label="Object Count"/>
4302N/A <value type="BYTES64" field="firstSize" label="First Failed Object Size"/>
4302N/A <value type="BYTES64" field="smallestSize" label="Smallest Failed Object Size"/>
4141N/A <value type="BYTES64" field="totalSize" label="Total Object Size"/>
4309N/A </struct>
4309N/A
4309N/A <event id="PromotionFailed" path="vm/gc/detailed/promotion_failed" label="Promotion Failed" is_instant="true"
4309N/A description="Promotion of an object failed">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4598N/A <structvalue type="CopyFailed" field="data" label="Data"/>
4419N/A <value type="OSTHREAD" field="thread" label="Running thread"/>
4419N/A </event>
4419N/A
4419N/A <event id="EvacuationFailed" path="vm/gc/detailed/evacuation_failed" label="Evacuation Failed" is_instant="true"
4419N/A description="Evacuation of an object failed">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4598N/A <structvalue type="CopyFailed" field="data" label="Data"/>
4141N/A </event>
4141N/A
4350N/A <event id="ConcurrentModeFailure" path="vm/gc/detailed/concurrent_mode_failure" label="Concurrent Mode Failure"
4350N/A is_instant="true" description="Concurrent Mode failed">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4350N/A </event>
4350N/A
4141N/A <event id="GCPhasePause" path="vm/gc/phases/pause" label="GC Phase Pause">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="UTF8" field="name" label="Name" />
4141N/A </event>
4141N/A
4141N/A <event id="GCPhasePauseLevel1" path="vm/gc/phases/pause_level_1" label="GC Phase Pause Level 1">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="UTF8" field="name" label="Name" />
4141N/A </event>
4141N/A
4141N/A <event id="GCPhasePauseLevel2" path="vm/gc/phases/pause_level_2" label="GC Phase Pause Level 2">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="UTF8" field="name" label="Name" />
4141N/A </event>
4141N/A
4141N/A <event id="GCPhasePauseLevel3" path="vm/gc/phases/pause_level_3" label="GC Phase Pause Level 3">
4434N/A <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <value type="UTF8" field="name" label="Name" />
4141N/A </event>
4141N/A
4141N/A <!-- Compiler events -->
4141N/A
4141N/A <event id="Compilation" path="vm/compiler/compilation" label="Compilation"
4141N/A has_thread="true" is_requestable="false" is_constant="false">
4141N/A <value type="METHOD" field="method" label="Java Method"/>
4434N/A <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
4141N/A <value type="USHORT" field="compileLevel" label="Compilation Level"/>
4141N/A <value type="BOOLEAN" field="succeded" label="Succeeded"/>
4141N/A <value type="BOOLEAN" field="isOsr" label="On Stack Replacement"/>
4141N/A <value type="BYTES" field="codeSize" label="Compiled Code Size"/>
4141N/A <value type="BYTES" field="inlinedBytes" label="Inlined Code Size"/>
4141N/A </event>
4141N/A
4141N/A <event id="CompilerPhase" path="vm/compiler/phase" label="Compiler Phase"
4141N/A has_thread="true" is_requestable="false" is_constant="false">
4141N/A <value type="COMPILERPHASETYPE" field="phase" label="Compile Phase"/>
4434N/A <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
4141N/A <value type="USHORT" field="phaseLevel" label="Phase Level"/>
4141N/A </event>
4141N/A
4141N/A <event id="CompilerFailure" path="vm/compiler/failure" label="Compilation Failure"
4141N/A has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
4141N/A <value type="UTF8" field="failure" label="Message"/>
4434N/A <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
4141N/A </event>
4141N/A
4141N/A <!-- Code sweeper events -->
4141N/A
4141N/A <event id="SweepCodeCache" path="vm/code_sweeper/sweep" label="Sweep Code Cache"
4141N/A has_thread="true" is_requestable="false" is_constant="false">
4141N/A <value type="INTEGER" field="sweepIndex" label="Sweep Index" relation="SWEEP_ID"/>
4141N/A <value type="USHORT" field="sweepFractionIndex" label="Fraction Index"/>
4141N/A <value type="UINT" field="sweptCount" label="Methods Swept"/>
4141N/A <value type="UINT" field="flushedCount" label="Methods Flushed"/>
4598N/A <value type="UINT" field="markedCount" label="Methods Reclaimed"/>
4141N/A <value type="UINT" field="zombifiedCount" label="Methods Zombified"/>
4141N/A </event>
4141N/A
4141N/A <event id="CleanCodeCache" path="vm/code_sweeper/clean" label="Clean Code Cache"
4141N/A description="Clean code cache from oldest methods"
4141N/A has_thread="true" is_requestable="false" is_constant="false">
4141N/A <value type="UINT" field="disconnectedCount" label="Methods Disconnected"/>
4141N/A <value type="UINT" field="madeNonEntrantCount" label="Methods Made Non-Entrant"/>
4141N/A </event>
4141N/A
4141N/A <!-- Code cache events -->
4141N/A
4141N/A <event id="CodeCacheFull" path="vm/code_cache/full" label="Code Cache Full"
4141N/A has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
4141N/A <value type="ADDRESS" field="startAddress" label="Start Address"/>
4141N/A <value type="ADDRESS" field="commitedTopAddress" label="Commited Top"/>
4141N/A <value type="ADDRESS" field="reservedTopAddress" label="Reserved Top"/>
4141N/A <value type="INTEGER" field="entryCount" label="Entries"/>
4141N/A <value type="INTEGER" field="methodCount" label="Methods"/>
4141N/A <value type="INTEGER" field="adaptorCount" label="Adaptors"/>
4141N/A <value type="BYTES64" field="unallocatedCapacity" label="Unallocated"/>
4141N/A <value type="BYTES64" field="largestFreeBlock" label="Largest Free Block"/>
4141N/A <value type="INTEGER" field="fullCount" label="Full Count"/>
4141N/A </event>
4141N/A
4141N/A <event id="ExecuteVMOperation" path="vm/runtime/execute_vm_operation" label="VM Operation"
4141N/A description="Execution of a VM Operation" has_thread="true">
4141N/A <value type="VMOPERATIONTYPE" field="operation" label="Operation" />
4141N/A <value type="BOOLEAN" field="safepoint" label="At Safepoint" description="If the operation occured at a safepoint."/>
4141N/A <value type="BOOLEAN" field="blocking" label="Caller Blocked" description="If the calling thread was blocked until the operation was complete."/>
4409N/A <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."/>
4141N/A </event>
4359N/A
4359N/A <!-- Allocation events -->
4359N/A <event id="AllocObjectInNewTLAB" path="java/object_alloc_in_new_TLAB" label="Allocation in new TLAB"
4359N/A description="Allocation in new Thread Local Allocation Buffer" has_thread="true" has_stacktrace="true" is_instant="true">
4359N/A <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
4359N/A <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
4359N/A <value type="BYTES64" field="tlabSize" label="TLAB Size"/>
4359N/A </event>
4141N/A
4359N/A <event id="AllocObjectOutsideTLAB" path="java/object_alloc_outside_TLAB" label="Allocation outside TLAB"
4359N/A description="Allocation outside Thread Local Allocation Buffers" has_thread="true" has_stacktrace="true" is_instant="true">
4359N/A <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
4359N/A <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
4359N/A </event>
4141N/A </events>
4141N/A
4154N/A <xi:include href="/closed/share/vm/trace/traceeventtypes.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
4154N/A <xi:fallback/>
4154N/A </xi:include>
4154N/A
4141N/A <xi:include href="/closed/share/vm/trace/traceevents.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
4141N/A <xi:fallback/>
4141N/A </xi:include>
4141N/A</trace>