src/hotspot/share/jfr/metadata/metadata.xml
branchJEP-349-branch
changeset 58155 1fe292a94df1
parent 58154 060d9d139109
parent 58120 630261dd77f9
child 58193 baf88aa4f5db
equal deleted inserted replaced
58154:060d9d139109 58155:1fe292a94df1
   152     <Field type="string" name="name" label="Name" />
   152     <Field type="string" name="name" label="Name" />
   153     <Field type="string" name="oldValue" label="Old Value" />
   153     <Field type="string" name="oldValue" label="Old Value" />
   154     <Field type="string" name="newValue" label="New Value" />
   154     <Field type="string" name="newValue" label="New Value" />
   155     <Field type="FlagValueOrigin" name="origin" label="Origin" />
   155     <Field type="FlagValueOrigin" name="origin" label="Origin" />
   156   </Event>
   156   </Event>
   157  
   157 
   158   <Type name="VirtualSpace">
   158   <Type name="VirtualSpace">
   159     <Field type="ulong" contentType="address" name="start" label="Start Address" description="Start address of the virtual space" />
   159     <Field type="ulong" contentType="address" name="start" label="Start Address" description="Start address of the virtual space" />
   160     <Field type="ulong" contentType="address" name="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" />
   160     <Field type="ulong" contentType="address" name="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" />
   161     <Field type="ulong" contentType="bytes" name="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" />
   161     <Field type="ulong" contentType="bytes" name="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" />
   162     <Field type="ulong" contentType="address" name="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" />
   162     <Field type="ulong" contentType="address" name="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" />
   163     <Field type="ulong" contentType="bytes" name="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" />
   163     <Field type="ulong" contentType="bytes" name="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" />
   164   </Type>
   164   </Type>
   165   
   165 
   166   <Type name="ObjectSpace">
   166   <Type name="ObjectSpace">
   167     <Field type="ulong" contentType="address" name="start" label="Start Address" description="Start address of the space" />
   167     <Field type="ulong" contentType="address" name="start" label="Start Address" description="Start address of the space" />
   168     <Field type="ulong" contentType="address" name="end" label="End Address" description="End address of the space" />
   168     <Field type="ulong" contentType="address" name="end" label="End Address" description="End address of the space" />
   169     <Field type="ulong" contentType="bytes" name="used" label="Used" description="Bytes allocated by objects in the space" />
   169     <Field type="ulong" contentType="bytes" name="used" label="Used" description="Bytes allocated by objects in the space" />
   170     <Field type="ulong" contentType="bytes" name="size" label="Size" description="Size of the space" />
   170     <Field type="ulong" contentType="bytes" name="size" label="Size" description="Size of the space" />
   171   </Type>
   171   </Type>
   172   
   172 
   173   <Event name="GCHeapSummary" category="Java Virtual Machine, GC, Heap" label="Heap Summary" startTime="false">
   173   <Event name="GCHeapSummary" category="Java Virtual Machine, GC, Heap" label="Heap Summary" startTime="false">
   174     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId" />
   174     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId" />
   175     <Field type="GCWhen" name="when" label="When" />
   175     <Field type="GCWhen" name="when" label="When" />
   176     <Field type="VirtualSpace" struct="true" name="heapSpace" label="Heap Space" />
   176     <Field type="VirtualSpace" struct="true" name="heapSpace" label="Heap Space" />
   177     <Field type="ulong" contentType="bytes" name="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap" />
   177     <Field type="ulong" contentType="bytes" name="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap" />
   178   </Event>
   178   </Event>
   179  
   179 
   180   <Type name="MetaspaceSizes">
   180   <Type name="MetaspaceSizes">
   181     <Field type="ulong" contentType="bytes" name="committed" label="Committed" description="Committed memory for this space" />
   181     <Field type="ulong" contentType="bytes" name="committed" label="Committed" description="Committed memory for this space" />
   182     <Field type="ulong" contentType="bytes" name="used" label="Used" description="Bytes allocated by objects in the space" />
   182     <Field type="ulong" contentType="bytes" name="used" label="Used" description="Bytes allocated by objects in the space" />
   183     <Field type="ulong" contentType="bytes" name="reserved" label="Reserved" description="Reserved memory for this space" />
   183     <Field type="ulong" contentType="bytes" name="reserved" label="Reserved" description="Reserved memory for this space" />
   184   </Type>
   184   </Type>
   185  
   185 
   186   <Event name="MetaspaceSummary" category="Java Virtual Machine, GC, Heap" label="Metaspace Summary" startTime="false">
   186   <Event name="MetaspaceSummary" category="Java Virtual Machine, GC, Heap" label="Metaspace Summary" startTime="false">
   187     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId" />
   187     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId" />
   188     <Field type="GCWhen" name="when" label="When" />
   188     <Field type="GCWhen" name="when" label="When" />
   189     <Field type="ulong" contentType="bytes" name="gcThreshold" label="GC Threshold" />
   189     <Field type="ulong" contentType="bytes" name="gcThreshold" label="GC Threshold" />
   190     <Field type="MetaspaceSizes" struct="true" name="metaspace" label="Total" />
   190     <Field type="MetaspaceSizes" struct="true" name="metaspace" label="Total" />
   440          startTime="true" thread="true" description="GC phases for parallel workers">
   440          startTime="true" thread="true" description="GC phases for parallel workers">
   441     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId"/>
   441     <Field type="uint" name="gcId" label="GC Identifier" relation="GcId"/>
   442     <Field type="uint" name="gcWorkerId" label="GC Worker Identifier" />
   442     <Field type="uint" name="gcWorkerId" label="GC Worker Identifier" />
   443     <Field type="string" name="name" label="Name" />
   443     <Field type="string" name="name" label="Name" />
   444   </Event>
   444   </Event>
   445   
   445 
   446   <Event name="AllocationRequiringGC" category="Java Virtual Machine, GC, Detailed" label="Allocation Requiring GC" thread="true" stackTrace="true"
   446   <Event name="AllocationRequiringGC" category="Java Virtual Machine, GC, Detailed" label="Allocation Requiring GC" thread="true" stackTrace="true"
   447     startTime="false">
   447     startTime="false">
   448     <Field type="uint" name="gcId" label="Pending GC Identifier" relation="GcId" />
   448     <Field type="uint" name="gcId" label="Pending GC Identifier" relation="GcId" />
   449     <Field type="ulong" contentType="bytes" name="size" label="Allocation Size" />
   449     <Field type="ulong" contentType="bytes" name="size" label="Allocation Size" />
   450   </Event>
   450   </Event>
   482 
   482 
   483   <Event name="CompilationFailure" category="Java Virtual Machine, Compiler" label="Compilation Failure" thread="true"  startTime="false">
   483   <Event name="CompilationFailure" category="Java Virtual Machine, Compiler" label="Compilation Failure" thread="true"  startTime="false">
   484     <Field type="string" name="failureMessage" label="Failure Message" />
   484     <Field type="string" name="failureMessage" label="Failure Message" />
   485     <Field type="uint" name="compileId" label="Compilation Identifier" relation="CompileId" />
   485     <Field type="uint" name="compileId" label="Compilation Identifier" relation="CompileId" />
   486   </Event>
   486   </Event>
   487   
   487 
   488   <Type name="CalleeMethod">
   488   <Type name="CalleeMethod">
   489     <Field type="string" name="type" label="Class" />
   489     <Field type="string" name="type" label="Class" />
   490     <Field type="string" name="name" label="Method Name" />
   490     <Field type="string" name="name" label="Method Name" />
   491     <Field type="string" name="descriptor" label="Method Descriptor" />
   491     <Field type="string" name="descriptor" label="Method Descriptor" />
   492   </Type>
   492   </Type>
   583     <Field type="OldObject" name="object" label="Object" />
   583     <Field type="OldObject" name="object" label="Object" />
   584     <Field type="int" name="arrayElements" label="Array Elements" description="If the object is an array, the number of elements, or -1 if it is not an array" />
   584     <Field type="int" name="arrayElements" label="Array Elements" description="If the object is an array, the number of elements, or -1 if it is not an array" />
   585     <Field type="OldObjectGcRoot" name="root" label="GC Root" />
   585     <Field type="OldObjectGcRoot" name="root" label="GC Root" />
   586   </Event>
   586   </Event>
   587 
   587 
   588   <Event name="DumpReason" category="Flight Recorder" label="Recording Reason" 
   588   <Event name="DumpReason" category="Flight Recorder" label="Recording Reason"
   589          description="Who requested the recording and why" 
   589          description="Who requested the recording and why"
   590          startTime="false">
   590          startTime="false">
   591     <Field type="string" name="reason" label="Reason" description="Reason for writing recording data to disk" />
   591     <Field type="string" name="reason" label="Reason" description="Reason for writing recording data to disk" />
   592     <Field type="int" name="recordingId" label="Recording Id" description="Id of the recording that triggered the dump, or -1 if it was not related to a recording" />
   592     <Field type="int" name="recordingId" label="Recording Id" description="Id of the recording that triggered the dump, or -1 if it was not related to a recording" />
   593   </Event>
   593   </Event>
   594 
   594 
   595   <Event name="DataLoss" category="Flight Recorder" label="Data Loss" 
   595   <Event name="DataLoss" category="Flight Recorder" label="Data Loss"
   596          description="Data could not be copied out from a buffer, typically because of contention"
   596          description="Data could not be copied out from a buffer, typically because of contention"
   597          startTime="false">
   597          startTime="false">
   598     <Field type="ulong" contentType="bytes" name="amount" label="Amount" description="Amount lost data" />
   598     <Field type="ulong" contentType="bytes" name="amount" label="Amount" description="Amount lost data" />
   599     <Field type="ulong" contentType="bytes" name="total" label="Total" description="Total lost amount for thread" />
   599     <Field type="ulong" contentType="bytes" name="total" label="Total" description="Total lost amount for thread" />
   600   </Event>
   600   </Event>
   601 
   601 
   602   <Event name="JVMInformation" category="Java Virtual Machine" label="JVM Information" 
   602   <Event name="JVMInformation" category="Java Virtual Machine" label="JVM Information"
   603          description="Description of JVM and the Java application"
   603          description="Description of JVM and the Java application"
   604          period="endChunk">
   604          period="endChunk">
   605     <Field type="string" name="jvmName" label="JVM Name" />
   605     <Field type="string" name="jvmName" label="JVM Name" />
   606     <Field type="string" name="jvmVersion" label="JVM Version" />
   606     <Field type="string" name="jvmVersion" label="JVM Version" />
   607     <Field type="string" name="jvmArguments" label="JVM Command Line Arguments" />
   607     <Field type="string" name="jvmArguments" label="JVM Command Line Arguments" />
  1221   </Type>
  1221   </Type>
  1222 
  1222 
  1223   <Type name="ChunkHeader" label="Chunk Header">
  1223   <Type name="ChunkHeader" label="Chunk Header">
  1224     <Field type="byte" array="true" name="payload" label="Payload" />
  1224     <Field type="byte" array="true" name="payload" label="Payload" />
  1225   </Type>
  1225   </Type>
  1226  
  1226 
  1227   <Relation name="JavaMonitorAddress"/>
  1227   <Relation name="JavaMonitorAddress"/>
  1228   <Relation name="SafepointId"/>
  1228   <Relation name="SafepointId"/>
  1229   <Relation name="GcId"/>
  1229   <Relation name="GcId"/>
  1230   <Relation name="CompileId" />
  1230   <Relation name="CompileId" />
  1231   <Relation name="SweepId"/>
  1231   <Relation name="SweepId"/>
  1232   <Relation name="FlushId"/>
  1232   <Relation name="FlushId"/>
  1233  
  1233 
  1234   <XmlType name="Package" parameterType="const PackageEntry*" fieldType="const PackageEntry*"/> 
  1234   <XmlType name="Package" parameterType="const PackageEntry*" fieldType="const PackageEntry*"/>
  1235   <XmlType name="Class" javaType="java.lang.Class" parameterType="const Klass*" fieldType="const Klass*"/> 
  1235   <XmlType name="Class" javaType="java.lang.Class" parameterType="const Klass*" fieldType="const Klass*"/>
  1236   <XmlType name="Module"  parameterType="const ModuleEntry*" fieldType="const ModuleEntry*"/> 
  1236   <XmlType name="Module"  parameterType="const ModuleEntry*" fieldType="const ModuleEntry*"/>
  1237   <XmlType name="ClassLoader" parameterType="const ClassLoaderData*" fieldType="const ClassLoaderData*"/> 
  1237   <XmlType name="ClassLoader" parameterType="const ClassLoaderData*" fieldType="const ClassLoaderData*"/>
  1238   <XmlType name="Method" parameterType="const Method*" fieldType="const Method*"/> 
  1238   <XmlType name="Method" parameterType="const Method*" fieldType="const Method*"/>
  1239   <XmlType name="Thread" javaType="java.lang.Thread" parameterType="u8" fieldType="u8"/> 
  1239   <XmlType name="Thread" javaType="java.lang.Thread" parameterType="u8" fieldType="u8"/>
  1240   <XmlType name="Tickspan" contentType="tickspan" javaType="long" parameterType="const Tickspan&amp;" fieldType="Tickspan"/> 
  1240   <XmlType name="Tickspan" contentType="tickspan" javaType="long" parameterType="const Tickspan&amp;" fieldType="Tickspan"/>
  1241   <XmlType name="Ticks" contentType="tickstamp" javaType="long" parameterType="const Ticks&amp;" fieldType="Ticks"/> 
  1241   <XmlType name="Ticks" contentType="tickstamp" javaType="long" parameterType="const Ticks&amp;" fieldType="Ticks"/>
  1242   <XmlType name="ulong" javaType="long" unsigned="true" parameterType="u8" fieldType="u8"/> 
  1242   <XmlType name="ulong" javaType="long" unsigned="true" parameterType="u8" fieldType="u8"/>
  1243   <XmlType name="uint" javaType="int" unsigned="true" parameterType="unsigned" fieldType="unsigned"/> 
  1243   <XmlType name="uint" javaType="int" unsigned="true" parameterType="unsigned" fieldType="unsigned"/>
  1244   <XmlType name="ushort" javaType="short" unsigned="true" parameterType="u2" fieldType="u2"/> 
  1244   <XmlType name="ushort" javaType="short" unsigned="true" parameterType="u2" fieldType="u2"/>
  1245   <XmlType name="ubyte" javaType="byte" unsigned="true" parameterType="u1" fieldType="u1"/> 
  1245   <XmlType name="ubyte" javaType="byte" unsigned="true" parameterType="u1" fieldType="u1"/>
  1246   <XmlType name="long" javaType="long" parameterType="s8" fieldType="s8"/> 
  1246   <XmlType name="long" javaType="long" parameterType="s8" fieldType="s8"/>
  1247   <XmlType name="int" javaType="int" parameterType="s4" fieldType="s4"/> 
  1247   <XmlType name="int" javaType="int" parameterType="s4" fieldType="s4"/>
  1248   <XmlType name="short" javaType="short" parameterType="s2" fieldType="s2"/> 
  1248   <XmlType name="short" javaType="short" parameterType="s2" fieldType="s2"/>
  1249   <XmlType name="byte" javaType="byte"  parameterType="s1" fieldType="s1"/> 
  1249   <XmlType name="byte" javaType="byte"  parameterType="s1" fieldType="s1"/>
  1250   <XmlType name="double" javaType="double" parameterType="double" fieldType="double"/> 
  1250   <XmlType name="double" javaType="double" parameterType="double" fieldType="double"/>
  1251   <XmlType name="float" javaType="float"  parameterType="float" fieldType="float"/> 
  1251   <XmlType name="float" javaType="float"  parameterType="float" fieldType="float"/>
  1252   <XmlType name="boolean" javaType="boolean" parameterType="bool" fieldType="bool"/> 
  1252   <XmlType name="boolean" javaType="boolean" parameterType="bool" fieldType="bool"/>
  1253   <XmlType name="char" javaType="char" parameterType="char" fieldType="char"/> 
  1253   <XmlType name="char" javaType="char" parameterType="char" fieldType="char"/>
  1254   <XmlType name="string" javaType="java.lang.String" parameterType="const char*" fieldType="const char*"/> 
  1254   <XmlType name="string" javaType="java.lang.String" parameterType="const char*" fieldType="const char*"/>
  1255  
  1255 
  1256   <XmlContentType name="bytes" annotation="jdk.jfr.DataAmount(BYTES)" />
  1256   <XmlContentType name="bytes" annotation="jdk.jfr.DataAmount(BYTES)" />
  1257   <XmlContentType name="tickstamp" annotation="jdk.jfr.Timestamp(TICKS)" />
  1257   <XmlContentType name="tickstamp" annotation="jdk.jfr.Timestamp(TICKS)" />
  1258   <XmlContentType name="epochmillis" annotation="jdk.jfr.Timestamp(MILLISECONDS_SINCE_EPOCH)" />
  1258   <XmlContentType name="epochmillis" annotation="jdk.jfr.Timestamp(MILLISECONDS_SINCE_EPOCH)" />
  1259   <XmlContentType name="tickspan" annotation="jdk.jfr.Timespan(TICKS)" />
  1259   <XmlContentType name="tickspan" annotation="jdk.jfr.Timespan(TICKS)" />
  1260   <XmlContentType name="address" annotation="jdk.jfr.MemoryAddress" />
  1260   <XmlContentType name="address" annotation="jdk.jfr.MemoryAddress" />
  1262   <XmlContentType name="millis" annotation="jdk.jfr.Timespan(MILLISECONDS)" />
  1262   <XmlContentType name="millis" annotation="jdk.jfr.Timespan(MILLISECONDS)" />
  1263   <XmlContentType name="nanos" annotation="jdk.jfr.Timespan(NANOSECONDS)" />
  1263   <XmlContentType name="nanos" annotation="jdk.jfr.Timespan(NANOSECONDS)" />
  1264   <XmlContentType name="hertz" annotation="jdk.jfr.Frequency" />
  1264   <XmlContentType name="hertz" annotation="jdk.jfr.Frequency" />
  1265   <XmlContentType name="bytes-per-second" annotation="jdk.jfr.DataAmount(BYTES), jdk.jfr.Frequency" />
  1265   <XmlContentType name="bytes-per-second" annotation="jdk.jfr.DataAmount(BYTES), jdk.jfr.Frequency" />
  1266   <XmlContentType name="bits-per-second" annotation="jdk.jfr.DataAmount(BITS), jdk.jfr.Frequency" />
  1266   <XmlContentType name="bits-per-second" annotation="jdk.jfr.DataAmount(BITS), jdk.jfr.Frequency" />
  1267  
  1267 
  1268 </Metadata>
  1268 </Metadata>