< prev index next >

src/share/vm/jfr/metadata/metadata.xml

Print this page
rev 9055 : 8223438: add VirtualizationInformation JFR event
Reviewed-by: clanger, egahlin
rev 9056 : 8185525: Add JFR event for DictionarySizes
Summary: Added TableStatistics event
Reviewed-by: egahlin, coleenp
   1 <?xml version="1.0" encoding="utf-8"?>
   2 
   3 <!--
   4  Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
   5  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6 
   7  This code is free software; you can redistribute it and/or modify it
   8  under the terms of the GNU General Public License version 2 only, as
   9  published by the Free Software Foundation.
  10 
  11  This code is distributed in the hope that it will be useful, but WITHOUT
  12  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  version 2 for more details (a copy is included in the LICENSE file that
  15  accompanied this code).
  16 
  17  You should have received a copy of the GNU General Public License version
  18  2 along with this work; if not, write to the Free Software Foundation,
  19  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 
  21  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  or visit www.oracle.com if you need additional information or have any
  23  questions.
  24 


 597     <Field type="ulong" contentType="bytes" name="amount" label="Amount" description="Amount lost data" />
 598     <Field type="ulong" contentType="bytes" name="total" label="Total" description="Total lost amount for thread" />
 599   </Event>
 600 
 601   <Event name="JVMInformation" category="Java Virtual Machine" label="JVM Information" 
 602          description="Description of JVM and the Java application"
 603          period="endChunk">
 604     <Field type="string" name="jvmName" label="JVM Name" />
 605     <Field type="string" name="jvmVersion" label="JVM Version" />
 606     <Field type="string" name="jvmArguments" label="JVM Command Line Arguments" />
 607     <Field type="string" name="jvmFlags" label="JVM Settings File Arguments" />
 608     <Field type="string" name="javaArguments" label="Java Application Arguments" />
 609     <Field type="long" contentType="epochmillis" name="jvmStartTime" label="JVM Start Time" />
 610     <Field type="long" name="pid" label="Process Identifier" />
 611      </Event>
 612 
 613   <Event name="OSInformation" category="Operating System" label="OS Information" period="endChunk">
 614     <Field type="string" name="osVersion" label="OS Version" />
 615   </Event>
 616 




 617   <Event name="InitialSystemProperty" category="Java Virtual Machine" label="Initial System Property" description="System Property at JVM start" period="endChunk">
 618     <Field type="string" name="key" label="Key" />
 619     <Field type="string" name="value" label="Value" />
 620   </Event>
 621 
 622   <Event name="InitialEnvironmentVariable" category="Operating System" label="Initial Environment Variable" period="endChunk">
 623     <Field type="string" name="key" label="Key" />
 624     <Field type="string" name="value" label="Value" />
 625   </Event>
 626 
 627   <Event name="SystemProcess" category="Operating System" label="System Process" period="endChunk">
 628     <Field type="string" name="pid" label="Process Identifier" />
 629     <Field type="string" name="commandLine" label="Command Line" />
 630   </Event>
 631 
 632   <Event name="CPUInformation" category="Operating System, Processor" label="CPU Information" period="endChunk">
 633     <Field type="string" name="cpu" label="Type" />
 634     <Field type="string" name="description" label="Description" />
 635     <Field type="uint" name="sockets" label="Sockets" />
 636     <Field type="uint" name="cores" label="Cores" />


 672     <Field type="long" name="peakCount" label="Peak Threads" description="Peak live thread count since JVM start or when peak count was reset" />
 673   </Event>
 674 
 675   <Event name="ClassLoadingStatistics" category="Java Application, Statistics" label="Class Loading Statistics" period="everyChunk">
 676     <Field type="long" name="loadedClassCount" label="Loaded Class Count" description="Number of classes loaded since JVM start" />
 677     <Field type="long" name="unloadedClassCount" label="Unloaded Class Count" description="Number of classes unloaded since JVM start" />
 678   </Event>
 679 
 680   <Event name="ClassLoaderStatistics" category="Java Application, Statistics" label="Class Loader Statistics" period="everyChunk">
 681     <Field type="ClassLoader" name="classLoader" label="Class Loader" />
 682     <Field type="ClassLoader" name="parentClassLoader" label="Parent Class Loader" />
 683     <Field type="ulong" contentType="address" name="classLoaderData" label="ClassLoaderData Pointer" description="Pointer to the ClassLoaderData structure in the JVM" />
 684     <Field type="long" name="classCount" label="Classes" description="Number of loaded classes" />
 685     <Field type="ulong" contentType="bytes" name="chunkSize" label="Total Chunk Size" description="Total size of all allocated metaspace chunks (each chunk has several blocks)" />
 686     <Field type="ulong" contentType="bytes" name="blockSize" label="Total Block Size" description="Total size of all allocated metaspace blocks (each chunk has several blocks)" />
 687     <Field type="long" name="anonymousClassCount" label="Unsafe Anonymous Classes" description="Number of loaded classes to support invokedynamic" />
 688     <Field type="ulong" contentType="bytes" name="anonymousChunkSize" label="Total Unsafe Anonymous Classes Chunk Size"
 689       description="Total size of all allocated metaspace chunks for anonymous classes (each chunk has several blocks)" />
 690     <Field type="ulong" contentType="bytes" name="anonymousBlockSize" label="Total Unsafe Anonymous Classes Block Size"
 691       description="Total size of all allocated metaspace blocks for anonymous classes (each chunk has several blocks)" />




























































 692   </Event>
 693 
 694   <Event name="ThreadAllocationStatistics" category="Java Application, Statistics" label="Thread Allocation Statistics" period="everyChunk">
 695     <Field type="ulong" contentType="bytes" name="allocated" label="Allocated" description="Approximate number of bytes allocated since thread start" />
 696     <Field type="Thread" name="thread" label="Thread" />
 697   </Event>
 698 
 699   <Event name="PhysicalMemory" category="Operating System, Memory" label="Physical Memory" description="OS Physical Memory" period="everyChunk">
 700     <Field type="ulong" contentType="bytes" name="totalSize" label="Total Size" description="Total amount of physical memory available to OS" />
 701     <Field type="ulong" contentType="bytes" name="usedSize" label="Used Size" description="Total amount of physical memory in use" />
 702   </Event>
 703 
 704   <Event name="ExecutionSample" category="Java Virtual Machine, Profiling" label="Method Profiling Sample" description="Snapshot of a threads state"
 705     period="everyChunk">
 706     <Field type="Thread" name="sampledThread" label="Thread" />
 707     <Field type="StackTrace" name="stackTrace" label="Stack Trace" />
 708     <Field type="ThreadState" name="state" label="Thread State" />
 709   </Event>
 710 
 711   <Event name="NativeMethodSample" category="Java Virtual Machine, Profiling" label="Method Profiling Sample Native" description="Snapshot of a threads state when in native"


   1 <?xml version="1.0" encoding="utf-8"?>
   2 
   3 <!--
   4  Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
   5  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6 
   7  This code is free software; you can redistribute it and/or modify it
   8  under the terms of the GNU General Public License version 2 only, as
   9  published by the Free Software Foundation.
  10 
  11  This code is distributed in the hope that it will be useful, but WITHOUT
  12  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  version 2 for more details (a copy is included in the LICENSE file that
  15  accompanied this code).
  16 
  17  You should have received a copy of the GNU General Public License version
  18  2 along with this work; if not, write to the Free Software Foundation,
  19  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 
  21  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  or visit www.oracle.com if you need additional information or have any
  23  questions.
  24 


 597     <Field type="ulong" contentType="bytes" name="amount" label="Amount" description="Amount lost data" />
 598     <Field type="ulong" contentType="bytes" name="total" label="Total" description="Total lost amount for thread" />
 599   </Event>
 600 
 601   <Event name="JVMInformation" category="Java Virtual Machine" label="JVM Information" 
 602          description="Description of JVM and the Java application"
 603          period="endChunk">
 604     <Field type="string" name="jvmName" label="JVM Name" />
 605     <Field type="string" name="jvmVersion" label="JVM Version" />
 606     <Field type="string" name="jvmArguments" label="JVM Command Line Arguments" />
 607     <Field type="string" name="jvmFlags" label="JVM Settings File Arguments" />
 608     <Field type="string" name="javaArguments" label="Java Application Arguments" />
 609     <Field type="long" contentType="epochmillis" name="jvmStartTime" label="JVM Start Time" />
 610     <Field type="long" name="pid" label="Process Identifier" />
 611      </Event>
 612 
 613   <Event name="OSInformation" category="Operating System" label="OS Information" period="endChunk">
 614     <Field type="string" name="osVersion" label="OS Version" />
 615   </Event>
 616 
 617   <Event name="VirtualizationInformation" category="Operating System" label="Virtualization Information" period="endChunk">
 618     <Field type="string" name="name" label="Name" />
 619   </Event>
 620 
 621   <Event name="InitialSystemProperty" category="Java Virtual Machine" label="Initial System Property" description="System Property at JVM start" period="endChunk">
 622     <Field type="string" name="key" label="Key" />
 623     <Field type="string" name="value" label="Value" />
 624   </Event>
 625 
 626   <Event name="InitialEnvironmentVariable" category="Operating System" label="Initial Environment Variable" period="endChunk">
 627     <Field type="string" name="key" label="Key" />
 628     <Field type="string" name="value" label="Value" />
 629   </Event>
 630 
 631   <Event name="SystemProcess" category="Operating System" label="System Process" period="endChunk">
 632     <Field type="string" name="pid" label="Process Identifier" />
 633     <Field type="string" name="commandLine" label="Command Line" />
 634   </Event>
 635 
 636   <Event name="CPUInformation" category="Operating System, Processor" label="CPU Information" period="endChunk">
 637     <Field type="string" name="cpu" label="Type" />
 638     <Field type="string" name="description" label="Description" />
 639     <Field type="uint" name="sockets" label="Sockets" />
 640     <Field type="uint" name="cores" label="Cores" />


 676     <Field type="long" name="peakCount" label="Peak Threads" description="Peak live thread count since JVM start or when peak count was reset" />
 677   </Event>
 678 
 679   <Event name="ClassLoadingStatistics" category="Java Application, Statistics" label="Class Loading Statistics" period="everyChunk">
 680     <Field type="long" name="loadedClassCount" label="Loaded Class Count" description="Number of classes loaded since JVM start" />
 681     <Field type="long" name="unloadedClassCount" label="Unloaded Class Count" description="Number of classes unloaded since JVM start" />
 682   </Event>
 683 
 684   <Event name="ClassLoaderStatistics" category="Java Application, Statistics" label="Class Loader Statistics" period="everyChunk">
 685     <Field type="ClassLoader" name="classLoader" label="Class Loader" />
 686     <Field type="ClassLoader" name="parentClassLoader" label="Parent Class Loader" />
 687     <Field type="ulong" contentType="address" name="classLoaderData" label="ClassLoaderData Pointer" description="Pointer to the ClassLoaderData structure in the JVM" />
 688     <Field type="long" name="classCount" label="Classes" description="Number of loaded classes" />
 689     <Field type="ulong" contentType="bytes" name="chunkSize" label="Total Chunk Size" description="Total size of all allocated metaspace chunks (each chunk has several blocks)" />
 690     <Field type="ulong" contentType="bytes" name="blockSize" label="Total Block Size" description="Total size of all allocated metaspace blocks (each chunk has several blocks)" />
 691     <Field type="long" name="anonymousClassCount" label="Unsafe Anonymous Classes" description="Number of loaded classes to support invokedynamic" />
 692     <Field type="ulong" contentType="bytes" name="anonymousChunkSize" label="Total Unsafe Anonymous Classes Chunk Size"
 693       description="Total size of all allocated metaspace chunks for anonymous classes (each chunk has several blocks)" />
 694     <Field type="ulong" contentType="bytes" name="anonymousBlockSize" label="Total Unsafe Anonymous Classes Block Size"
 695       description="Total size of all allocated metaspace blocks for anonymous classes (each chunk has several blocks)" />
 696   </Event>
 697 
 698   <Event name="SymbolTableStatistics" category="Java Virtual Machine, Runtime, Tables" label="Symbol Table Statistics" period="everyChunk">
 699     <Field type="ulong" name="bucketCount" label="Bucket Count" description="Number of buckets" />
 700     <Field type="ulong" name="entryCount" label="Entry Count" description="Number of all entries" />
 701     <Field type="ulong" contentType="bytes" name="totalFootprint" label="Total Footprint" description="Total memory footprint (the table itself plus all of the entries)" />
 702     <Field type="ulong" name="bucketCountMaximum" label="Maximum Bucket Count" description="The maximum bucket length (entries in a single bucket)" />
 703     <Field type="float" name="bucketCountAverage" label="Average Bucket Count" description="The average bucket length" />
 704     <Field type="float" name="bucketCountVariance" label="Bucket Count Variance" description="How far bucket lengths are spread out from their average value" />
 705     <Field type="float" name="bucketCountStandardDeviation" label="Bucket Count Standard Deviation" description="How far bucket lengths are spread out from their mean (expected) value" />
 706     <Field type="float" name="insertionRate" label="Insertion Rate" description="How many items were added since last event (per second)" />
 707     <Field type="float" name="removalRate" label="Removal Rate" description="How many items were removed since last event (per second)" />
 708   </Event>
 709 
 710   <Event name="StringTableStatistics" category="Java Virtual Machine, Runtime, Tables" label="String Table Statistics" period="everyChunk">
 711     <Field type="ulong" name="bucketCount" label="Bucket Count" description="Number of buckets" />
 712     <Field type="ulong" name="entryCount" label="Entry Count" description="Number of all entries" />
 713     <Field type="ulong" contentType="bytes" name="totalFootprint" label="Total Footprint" description="Total memory footprint (the table itself plus all of the entries)" />
 714     <Field type="ulong" name="bucketCountMaximum" label="Maximum Bucket Count" description="The maximum bucket length (entries in a single bucket)" />
 715     <Field type="float" name="bucketCountAverage" label="Average Bucket Count" description="The average bucket length" />
 716     <Field type="float" name="bucketCountVariance" label="Bucket Count Variance" description="How far bucket lengths are spread out from their average value" />
 717     <Field type="float" name="bucketCountStandardDeviation" label="Bucket Count Standard Deviation" description="How far bucket lengths are spread out from their mean (expected) value" />
 718     <Field type="float" name="insertionRate" label="Insertion Rate" description="How many items were added since last event (per second)" />
 719     <Field type="float" name="removalRate" label="Removal Rate" description="How many items were removed since last event (per second)" />
 720   </Event>
 721 
 722   <Event name="PlaceholderTableStatistics" category="Java Virtual Machine, Runtime, Tables" label="Placeholder Table Statistics" period="everyChunk">
 723     <Field type="ulong" name="bucketCount" label="Bucket Count" description="Number of buckets" />
 724     <Field type="ulong" name="entryCount" label="Entry Count" description="Number of all entries" />
 725     <Field type="ulong" contentType="bytes" name="totalFootprint" label="Total Footprint" description="Total memory footprint (the table itself plus all of the entries)" />
 726     <Field type="ulong" name="bucketCountMaximum" label="Maximum Bucket Count" description="The maximum bucket length (entries in a single bucket)" />
 727     <Field type="float" name="bucketCountAverage" label="Average Bucket Count" description="The average bucket length" />
 728     <Field type="float" name="bucketCountVariance" label="Bucket Count Variance" description="How far bucket lengths are spread out from their average value" />
 729     <Field type="float" name="bucketCountStandardDeviation" label="Bucket Count Standard Deviation" description="How far bucket lengths are spread out from their mean (expected) value" />
 730     <Field type="float" name="insertionRate" label="Insertion Rate" description="How many items were added since last event (per second)" />
 731     <Field type="float" name="removalRate" label="Removal Rate" description="How many items were removed since last event (per second)" />
 732   </Event>
 733 
 734   <Event name="LoaderConstraintsTableStatistics" category="Java Virtual Machine, Runtime, Tables" label="Loader Constraints Table Statistics" period="everyChunk">
 735     <Field type="ulong" name="bucketCount" label="Bucket Count" />
 736     <Field type="ulong" name="entryCount" label="Entry Count" description="Number of all entries" />
 737     <Field type="ulong" contentType="bytes" name="totalFootprint" label="Total Footprint" description="Total memory footprint (the table itself plus all of the entries)" />
 738     <Field type="ulong" name="bucketCountMaximum" label="Maximum Bucket Count" description="The maximum bucket length (entries in a single bucket)" />
 739     <Field type="float" name="bucketCountAverage" label="Average Bucket Count" description="The average bucket length" />
 740     <Field type="float" name="bucketCountVariance" label="Bucket Count Variance" description="How far bucket lengths are spread out from their average value" />
 741     <Field type="float" name="bucketCountStandardDeviation" label="Bucket Count Standard Deviation" description="How far bucket lengths are spread out from their mean (expected) value" />
 742     <Field type="float" name="insertionRate" label="Insertion Rate" description="How many items were added since last event (per second)" />
 743     <Field type="float" name="removalRate" label="Removal Rate" description="How many items were removed since last event (per second)" />
 744   </Event>
 745 
 746   <Event name="ProtectionDomainCacheTableStatistics" category="Java Virtual Machine, Runtime, Tables" label="Protection Domain Cache Table Statistics" period="everyChunk">
 747     <Field type="ulong" name="bucketCount" label="Bucket Count" description="Number of buckets" />
 748     <Field type="ulong" name="entryCount" label="Entry Count" description="Number of all entries" />
 749     <Field type="ulong" contentType="bytes" name="totalFootprint" label="Total Footprint" description="Total memory footprint (the table itself plus all of the entries)" />
 750     <Field type="ulong" name="bucketCountMaximum" label="Maximum Bucket Count" description="The maximum bucket length (entries in a single bucket)" />
 751     <Field type="float" name="bucketCountAverage" label="Average Bucket Count" description="The average bucket length" />
 752     <Field type="float" name="bucketCountVariance" label="Bucket Count Variance" description="How far bucket lengths are spread out from their average value" />
 753     <Field type="float" name="bucketCountStandardDeviation" label="Bucket Count Standard Deviation" description="How far bucket lengths are spread out from their mean (expected) value" />
 754     <Field type="float" name="insertionRate" label="Insertion Rate" description="How many items were added since last event (per second)" />
 755     <Field type="float" name="removalRate" label="Removal Rate" description="How many items were removed since last event (per second)" />
 756   </Event>
 757 
 758   <Event name="ThreadAllocationStatistics" category="Java Application, Statistics" label="Thread Allocation Statistics" period="everyChunk">
 759     <Field type="ulong" contentType="bytes" name="allocated" label="Allocated" description="Approximate number of bytes allocated since thread start" />
 760     <Field type="Thread" name="thread" label="Thread" />
 761   </Event>
 762 
 763   <Event name="PhysicalMemory" category="Operating System, Memory" label="Physical Memory" description="OS Physical Memory" period="everyChunk">
 764     <Field type="ulong" contentType="bytes" name="totalSize" label="Total Size" description="Total amount of physical memory available to OS" />
 765     <Field type="ulong" contentType="bytes" name="usedSize" label="Used Size" description="Total amount of physical memory in use" />
 766   </Event>
 767 
 768   <Event name="ExecutionSample" category="Java Virtual Machine, Profiling" label="Method Profiling Sample" description="Snapshot of a threads state"
 769     period="everyChunk">
 770     <Field type="Thread" name="sampledThread" label="Thread" />
 771     <Field type="StackTrace" name="stackTrace" label="Stack Trace" />
 772     <Field type="ThreadState" name="state" label="Thread State" />
 773   </Event>
 774 
 775   <Event name="NativeMethodSample" category="Java Virtual Machine, Profiling" label="Method Profiling Sample Native" description="Snapshot of a threads state when in native"


< prev index next >