4141N/A<?
xml version="1.0" encoding="utf-8"?>
4141N/A Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 4141N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 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 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 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 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4141N/AEvents in the JVM are by default timed (it's more common) 4141N/APerhaps a little strange. Might change. 4141N/ADeclard with the 'event' tag. 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/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/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/ADeclared with the 'struct' tag. 4141N/ADeclares a structure type that can be used in other events. 4141N/A has_thread="true" is_instant="true">
4141N/A <
value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
4141N/A has_thread="true" is_instant="true">
4141N/A <
value type="JAVALANGTHREAD" field="javalangthread" label="Java Thread"/>
4141N/A has_thread="true" has_stacktrace="true" is_instant="false">
4141N/A <
value type="MILLIS" field="time" label="Sleep Time"/>
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"/>
4141N/A <
value type="ADDRESS" field="address" label="Address of Object Parked"/>
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"/>
4141N/A <
value type="ADDRESS" field="address" label="Monitor Address"/>
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"/>
4141N/A <
value type="ADDRESS" field="address" label="Monitor Address" description="Address of object waited on"/>
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 <
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 <
value type="ULONG" 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 <
value type="ULONG" 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 <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="GCWHEN" field="when" label="When" />
4141N/A <
structvalue type="VirtualSpace" field="oldSpace" label="Old Space"/>
4141N/A <
structvalue type="ObjectSpace" field="oldObjectSpace" label="Old Object Space"/>
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 description="Garbage collection performed by the JVM">
4141N/A <
value type="ULONG" 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 description="Extra information specific to Parallel Old Garbage Collections">
4141N/A <
value type="ULONG" 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 description="Extra information specific to Young Garbage Collections">
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID" />
4141N/A <!-- This information can also be found by looking for PromotionFailed events. It's here for convenience. --> 4141N/A <
value type="BOOLEAN" field="promotionFailed" label="Promotion Failed" description="Tells if we failed to promote some objects to the old gen" />
4141N/A description="Extra information specific to Old Garbage Collections">
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A description="Extra information specific to G1 Garbage Collections">
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="G1YCTYPE" field="type" label="Type" />
4141N/A label="GC Reference Processing" is_instant="true" 4141N/A description="Total count of processed references during GC">
4141N/A <
value type="ULONG" 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 description="Promotion of an object failed">
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="BYTES64" field="objectCount" label="Object Count"/>
4141N/A <
value type="BYTES64" field="totalSize" label="Total Object Size"/>
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="UTF8" field="name" label="Name" />
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="UTF8" field="name" label="Name" />
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="UTF8" field="name" label="Name" />
4141N/A <
value type="ULONG" field="gcId" label="GC ID" relation="GC_ID"/>
4141N/A <
value type="UTF8" field="name" label="Name" />
4141N/A has_thread="true" is_requestable="false" is_constant="false">
4141N/A <
value type="METHOD" field="method" label="Java Method"/>
4141N/A <
value type="INTEGER" 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 has_thread="true" is_requestable="false" is_constant="false">
4141N/A <
value type="COMPILERPHASETYPE" field="phase" label="Compile Phase"/>
4141N/A <
value type="INTEGER" field="compileID" label="Compilation ID" relation="COMP_ID"/>
4141N/A <
value type="USHORT" field="phaseLevel" label="Phase Level"/>
4141N/A has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
4141N/A <
value type="UTF8" field="failure" label="Message"/>
4141N/A <
value type="INTEGER" field="compileID" label="Compilation ID" relation="COMP_ID"/>
4141N/A <!-- Code sweeper events --> 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"/>
4141N/A <
value type="UINT" field="markedCount" label="Methods Reclaim"/>
4141N/A <
value type="UINT" field="zombifiedCount" label="Methods Zombified"/>
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 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 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."/>
4141N/A <
value type="OSTHREAD" field="caller" label="Caller" transition="TO"/>