src/hotspot/share/jfr/metadata/metadata.xml
changeset 58863 c16ac7a2eba4
parent 58844 5a0e0d0b3a27
child 59239 9fe5d0d4e9c5
equal deleted inserted replaced
58861:2c3cc4b01880 58863:c16ac7a2eba4
   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" />
  1002 
  1002 
  1003   <Type name="ShenandoahHeapRegionState" label="Shenandoah Heap Region State">
  1003   <Type name="ShenandoahHeapRegionState" label="Shenandoah Heap Region State">
  1004     <Field type="string" name="state" label="State" />
  1004     <Field type="string" name="state" label="State" />
  1005   </Type>
  1005   </Type>
  1006 
  1006 
       
  1007   <Event name="Flush" category="Flight Recorder" label="Flush" thread="false" experimental="true">
       
  1008     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1009     <Field type="ulong" name="elements" label="Elements Written" />
       
  1010     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1011   </Event>
       
  1012 
       
  1013   <Event name="FlushStorage" category="Flight Recorder" label="Flush Storage" thread="false" experimental="true">
       
  1014     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1015     <Field type="ulong" name="elements" label="Elements Written" />
       
  1016     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1017   </Event>
       
  1018 
       
  1019   <Event name="FlushStacktrace" category="Flight Recorder" label="Flush Stacktrace" thread="false" experimental="true">
       
  1020     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1021     <Field type="ulong" name="elements" label="Elements Written" />
       
  1022     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1023   </Event>
       
  1024 
       
  1025   <Event name="FlushStringPool" category="Flight Recorder" label="Flush String Pool" thread="false" experimental="true">
       
  1026     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1027     <Field type="ulong" name="elements" label="Elements Written" />
       
  1028     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1029   </Event>
       
  1030 
       
  1031   <Event name="FlushMetadata" category="Flight Recorder" label="Flush Metadata" thread="false" experimental="true">
       
  1032     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1033     <Field type="ulong" name="elements" label="Elements Written" />
       
  1034     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1035   </Event>
       
  1036 
       
  1037   <Event name="FlushTypeSet" category="Flight Recorder" label="Flush Type Set" thread="false" experimental="true">
       
  1038     <Field type="ulong" name="flushId" label="Flush Identifier" relation="FlushId" />
       
  1039     <Field type="ulong" name="elements" label="Elements Written" />
       
  1040     <Field type="ulong" contentType="bytes" name="size" label="Size Written" />
       
  1041   </Event>
       
  1042 
  1007   <Type name="ZStatisticsCounterType" label="Z Statistics Counter">
  1043   <Type name="ZStatisticsCounterType" label="Z Statistics Counter">
  1008     <Field type="string" name="counter" label="Counter" />
  1044     <Field type="string" name="counter" label="Counter" />
  1009   </Type>
  1045   </Type>
  1010 
  1046 
  1011   <Type name="ZStatisticsSamplerType" label="Z Statistics Sampler">
  1047   <Type name="ZStatisticsSamplerType" label="Z Statistics Sampler">
  1181     <Field type="Method" name="method" label="Java Method" />
  1217     <Field type="Method" name="method" label="Java Method" />
  1182     <Field type="int" name="lineNumber" label="Line Number" />
  1218     <Field type="int" name="lineNumber" label="Line Number" />
  1183     <Field type="int" name="bytecodeIndex" label="Bytecode Index" />
  1219     <Field type="int" name="bytecodeIndex" label="Bytecode Index" />
  1184     <Field type="FrameType" name="type" label="Frame Type" />
  1220     <Field type="FrameType" name="type" label="Frame Type" />
  1185   </Type>
  1221   </Type>
  1186  
  1222 
       
  1223   <Type name="ChunkHeader" label="Chunk Header">
       
  1224     <Field type="byte" array="true" name="payload" label="Payload" />
       
  1225   </Type>
       
  1226 
  1187   <Relation name="JavaMonitorAddress"/>
  1227   <Relation name="JavaMonitorAddress"/>
  1188   <Relation name="SafepointId"/>
  1228   <Relation name="SafepointId"/>
  1189   <Relation name="GcId"/>
  1229   <Relation name="GcId"/>
  1190   <Relation name="CompileId" />
  1230   <Relation name="CompileId" />
  1191   <Relation name="SweepId"/>
  1231   <Relation name="SweepId"/>
  1192  
  1232   <Relation name="FlushId"/>
  1193   <XmlType name="Package" parameterType="const PackageEntry*" fieldType="const PackageEntry*"/> 
  1233 
  1194   <XmlType name="Class" javaType="java.lang.Class" parameterType="const Klass*" fieldType="const Klass*"/> 
  1234   <XmlType name="Package" parameterType="const PackageEntry*" fieldType="const PackageEntry*"/>
  1195   <XmlType name="Module"  parameterType="const ModuleEntry*" fieldType="const ModuleEntry*"/> 
  1235   <XmlType name="Class" javaType="java.lang.Class" parameterType="const Klass*" fieldType="const Klass*"/>
  1196   <XmlType name="ClassLoader" parameterType="const ClassLoaderData*" fieldType="const ClassLoaderData*"/> 
  1236   <XmlType name="Module"  parameterType="const ModuleEntry*" fieldType="const ModuleEntry*"/>
  1197   <XmlType name="Method" parameterType="const Method*" fieldType="const Method*"/> 
  1237   <XmlType name="ClassLoader" parameterType="const ClassLoaderData*" fieldType="const ClassLoaderData*"/>
  1198   <XmlType name="Thread" javaType="java.lang.Thread" parameterType="u8" fieldType="u8"/> 
  1238   <XmlType name="Method" parameterType="const Method*" fieldType="const Method*"/>
  1199   <XmlType name="Tickspan" contentType="tickspan" javaType="long" parameterType="const Tickspan&amp;" fieldType="Tickspan"/> 
  1239   <XmlType name="Thread" javaType="java.lang.Thread" parameterType="u8" fieldType="u8"/>
  1200   <XmlType name="Ticks" contentType="tickstamp" javaType="long" parameterType="const Ticks&amp;" fieldType="Ticks"/> 
  1240   <XmlType name="Tickspan" contentType="tickspan" javaType="long" parameterType="const Tickspan&amp;" fieldType="Tickspan"/>
  1201   <XmlType name="ulong" javaType="long" unsigned="true" parameterType="u8" fieldType="u8"/> 
  1241   <XmlType name="Ticks" contentType="tickstamp" javaType="long" parameterType="const Ticks&amp;" fieldType="Ticks"/>
  1202   <XmlType name="uint" javaType="int" unsigned="true" parameterType="unsigned" fieldType="unsigned"/> 
  1242   <XmlType name="ulong" javaType="long" unsigned="true" parameterType="u8" fieldType="u8"/>
  1203   <XmlType name="ushort" javaType="short" unsigned="true" parameterType="u2" fieldType="u2"/> 
  1243   <XmlType name="uint" javaType="int" unsigned="true" parameterType="unsigned" fieldType="unsigned"/>
  1204   <XmlType name="ubyte" javaType="byte" unsigned="true" parameterType="u1" fieldType="u1"/> 
  1244   <XmlType name="ushort" javaType="short" unsigned="true" parameterType="u2" fieldType="u2"/>
  1205   <XmlType name="long" javaType="long" parameterType="s8" fieldType="s8"/> 
  1245   <XmlType name="ubyte" javaType="byte" unsigned="true" parameterType="u1" fieldType="u1"/>
  1206   <XmlType name="int" javaType="int" parameterType="s4" fieldType="s4"/> 
  1246   <XmlType name="long" javaType="long" parameterType="s8" fieldType="s8"/>
  1207   <XmlType name="short" javaType="short" parameterType="s2" fieldType="s2"/> 
  1247   <XmlType name="int" javaType="int" parameterType="s4" fieldType="s4"/>
  1208   <XmlType name="byte" javaType="byte"  parameterType="s1" fieldType="s1"/> 
  1248   <XmlType name="short" javaType="short" parameterType="s2" fieldType="s2"/>
  1209   <XmlType name="double" javaType="double" parameterType="double" fieldType="double"/> 
  1249   <XmlType name="byte" javaType="byte"  parameterType="s1" fieldType="s1"/>
  1210   <XmlType name="float" javaType="float"  parameterType="float" fieldType="float"/> 
  1250   <XmlType name="double" javaType="double" parameterType="double" fieldType="double"/>
  1211   <XmlType name="boolean" javaType="boolean" parameterType="bool" fieldType="bool"/> 
  1251   <XmlType name="float" javaType="float"  parameterType="float" fieldType="float"/>
  1212   <XmlType name="char" javaType="char" parameterType="char" fieldType="char"/> 
  1252   <XmlType name="boolean" javaType="boolean" parameterType="bool" fieldType="bool"/>
  1213   <XmlType name="string" javaType="java.lang.String" parameterType="const char*" fieldType="const char*"/> 
  1253   <XmlType name="char" javaType="char" parameterType="char" fieldType="char"/>
  1214  
  1254   <XmlType name="string" javaType="java.lang.String" parameterType="const char*" fieldType="const char*"/>
       
  1255 
  1215   <XmlContentType name="bytes" annotation="jdk.jfr.DataAmount(BYTES)" />
  1256   <XmlContentType name="bytes" annotation="jdk.jfr.DataAmount(BYTES)" />
  1216   <XmlContentType name="tickstamp" annotation="jdk.jfr.Timestamp(TICKS)" />
  1257   <XmlContentType name="tickstamp" annotation="jdk.jfr.Timestamp(TICKS)" />
  1217   <XmlContentType name="epochmillis" annotation="jdk.jfr.Timestamp(MILLISECONDS_SINCE_EPOCH)" />
  1258   <XmlContentType name="epochmillis" annotation="jdk.jfr.Timestamp(MILLISECONDS_SINCE_EPOCH)" />
  1218   <XmlContentType name="tickspan" annotation="jdk.jfr.Timespan(TICKS)" />
  1259   <XmlContentType name="tickspan" annotation="jdk.jfr.Timespan(TICKS)" />
  1219   <XmlContentType name="address" annotation="jdk.jfr.MemoryAddress" />
  1260   <XmlContentType name="address" annotation="jdk.jfr.MemoryAddress" />
  1221   <XmlContentType name="millis" annotation="jdk.jfr.Timespan(MILLISECONDS)" />
  1262   <XmlContentType name="millis" annotation="jdk.jfr.Timespan(MILLISECONDS)" />
  1222   <XmlContentType name="nanos" annotation="jdk.jfr.Timespan(NANOSECONDS)" />
  1263   <XmlContentType name="nanos" annotation="jdk.jfr.Timespan(NANOSECONDS)" />
  1223   <XmlContentType name="hertz" annotation="jdk.jfr.Frequency" />
  1264   <XmlContentType name="hertz" annotation="jdk.jfr.Frequency" />
  1224   <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" />
  1225   <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" />
  1226  
  1267 
  1227 </Metadata>
  1268 </Metadata>