hotspot/src/share/vm/trace/traceevents.xml
author dsimms
Wed, 23 Mar 2016 10:52:35 +0100
changeset 37176 663bdc7d0b86
parent 37141 a03e5faf3190
child 37267 ad8c0e8de29f
permissions -rw-r--r--
8149023: Event based tracing should cover safepoint begin and end Summary: Add events to safepoint begin and end Reviewed-by: dholmes, mgronlun, egahlin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     2
<!--
36384
b0b41336a9a8 8143226: Minor updates to Event Based tracing
mgronlun
parents: 36098
diff changeset
     3
 Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     5
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     8
 published by the Free Software Foundation.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
     9
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    14
 accompanied this code).
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    15
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    19
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    22
 questions.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    23
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    24
-->
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    25
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    26
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    27
<!DOCTYPE events SYSTEM "trace.dtd">
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    28
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    29
<events>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    30
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    31
<!--
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    32
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    33
Events in the JVM are by default timed (it's more common)
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    34
Perhaps a little strange. Might change.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    35
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    36
EVENTS
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    37
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    38
Declard with the 'event' tag.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    39
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    40
<value fields> can be one or more of
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    41
   value            - a simple primitive or constant type value
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    42
   structvalue      - value is a sub-struct. This type must be previously defined
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    43
                      with 'struct'
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    44
All these require you to declare type, field and label of the field. They also accept
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    45
an optional description of the field. If the meaning of the field is not obvious
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    46
from the label you should provide a description. If an event however is not actually
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    47
meant for end-users, you should probably _not_ write descriptions at all, since you
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    48
might just add more concepts the user has no notion of/interest in.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    49
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    50
Events should be modeled after what conceptual process you are expressing, _NOT_
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    51
from whatever data structures you might use inside the JVM for expressing a process.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    52
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    53
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    54
STRUCT
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    55
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    56
Declared with the 'struct' tag.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    57
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    58
Declares a structure type that can be used in other events.
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    59
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    60
-->
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    61
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    62
  <event id="ThreadStart" path="java/thread_start" label="Java Thread Start"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    63
         has_thread="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    64
    <value type="THREAD" field="thread" label="Java Thread"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    65
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    66
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    67
  <event id="ThreadEnd" path="java/thread_end" label="Java Thread End"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    68
         has_thread="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    69
    <value type="THREAD" field="thread" label="Java Thread"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    70
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    71
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    72
  <event id="ThreadSleep" path="java/thread_sleep" label="Java Thread Sleep"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    73
          has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    74
    <value type="MILLIS" field="time" label="Sleep Time"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    75
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    76
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    77
  <event id="ThreadPark" path="java/thread_park" label="Java Thread Park"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    78
          has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    79
    <value type="CLASS" field="klass" label="Class Parked On"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    80
    <value type="MILLIS" field="timeout" label="Park Timeout"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    81
    <value type="ADDRESS" field="address" label="Address of Object Parked" relation="JAVA_MONITOR_ADDRESS"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    82
  </event>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    83
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    84
  <event id="JavaMonitorEnter" path="java/monitor_enter" label="Java Monitor Blocked"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    85
          has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    86
    <value type="CLASS" field="klass" label="Monitor Class"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    87
    <value type="THREAD" field="previousOwner" label="Previous Monitor Owner"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    88
    <value type="ADDRESS" field="address" label="Monitor Address" relation="JAVA_MONITOR_ADDRESS"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    89
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    90
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    91
  <event id="JavaMonitorWait" path="java/monitor_wait" label="Java Monitor Wait" description="Waiting on a Java monitor"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    92
          has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    93
    <value type="CLASS" field="klass" label="Monitor Class" description="Class of object waited on"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    94
    <value type="THREAD" field="notifier" label="Notifier Thread" description="Notifying Thread"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    95
    <value type="MILLIS" field="timeout" label="Timeout" description="Maximum wait time"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    96
    <value type="BOOLEAN" field="timedOut" label="Timed Out" description="Wait has been timed out"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    97
    <value type="ADDRESS" field="address" label="Monitor Address" description="Address of object waited on" relation="JAVA_MONITOR_ADDRESS"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
    98
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
    99
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   100
  <event id="JavaMonitorInflate" path="java/monitor_inflate" label="Java Monitor Inflated"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   101
         has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   102
    <value type="CLASS" field="klass" label="Monitor Class"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   103
    <value type="ADDRESS" field="address" label="Monitor Address" relation="JAVA_MONITOR_ADDRESS"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   104
    <value type="INFLATECAUSE" field="cause" label="Cause" description="Cause of inflation"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   105
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   106
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   107
  <event id="ReservedStackActivation" path="java/reserved_stack_activation" label="Reserved Stack Activation" description="Activation of Reserved Stack Area caused by stack overflow with ReservedStackAccess annotated method in call stack"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   108
          has_thread="true" has_stacktrace="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   109
      <value type="METHOD" field="method" label="Java Method"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   110
  </event>
35934
76dbe86f3d82 8138562: Event based tracing should cover monitor inflation
dsimms
parents: 35227
diff changeset
   111
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   112
  <event id="ClassLoad" path="vm/class/load" label="Class Load"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   113
          has_thread="true" has_stacktrace="true" is_instant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   114
    <value type="CLASS" field="loadedClass" label="Loaded Class"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   115
    <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   116
    <value type="CLASS" field="initiatingClassLoader" label="Initiating Class Loader"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   117
  </event>
35071
a0910b1d3e0d 8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents: 34300
diff changeset
   118
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   119
  <event id="ClassUnload" path="vm/class/unload" label="Class Unload"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   120
      has_thread="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   121
    <value type="CLASS" field="unloadedClass" label="Unloaded Class"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   122
    <value type="CLASS" field="definingClassLoader" label="Defining Class Loader"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   123
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   124
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   125
  <event id="IntFlagChanged" path="vm/flag/int_changed" label="Int Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   126
        is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   127
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   128
    <value type="INTEGER" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   129
    <value type="INTEGER" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   130
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   131
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   132
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   133
  <event id="UnsignedIntFlagChanged" path="vm/flag/uint_changed" label="Unsigned Int Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   134
        is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   135
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   136
    <value type="UINT" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   137
    <value type="UINT" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   138
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   139
  </event>
31236
d4d3011aa98e 8080947: Add uint as a valid VM flag type
david
parents: 29582
diff changeset
   140
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   141
  <event id="LongFlagChanged" path="vm/flag/long_changed" label="Long Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   142
        is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   143
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   144
    <value type="LONG" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   145
    <value type="LONG" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   146
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   147
  </event>
31236
d4d3011aa98e 8080947: Add uint as a valid VM flag type
david
parents: 29582
diff changeset
   148
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   149
  <event id="UnsignedLongFlagChanged" path="vm/flag/ulong_changed" label="Unsigned Long Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   150
        is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   151
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   152
    <value type="ULONG" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   153
    <value type="ULONG" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   154
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   155
  </event>
22527
a5de5537d8a6 8032250: Add trace event for VM flag changes
sla
parents: 21767
diff changeset
   156
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   157
  <event id="DoubleFlagChanged" path="vm/flag/double_changed" label="Double Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   158
       is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   159
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   160
    <value type="DOUBLE" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   161
    <value type="DOUBLE" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   162
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   163
  </event>
22527
a5de5537d8a6 8032250: Add trace event for VM flag changes
sla
parents: 21767
diff changeset
   164
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   165
  <event id="BooleanFlagChanged" path="vm/flag/boolean_changed" label="Boolean Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   166
       is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   167
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   168
    <value type="BOOLEAN" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   169
    <value type="BOOLEAN" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   170
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   171
  </event>
22527
a5de5537d8a6 8032250: Add trace event for VM flag changes
sla
parents: 21767
diff changeset
   172
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   173
  <event id="StringFlagChanged" path="vm/flag/string_changed" label="String Flag Changed"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   174
       is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   175
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   176
    <value type="UTF8" field="old_value" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   177
    <value type="UTF8" field="new_value" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   178
    <value type="FLAGVALUEORIGIN" field="origin" label="Origin" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   179
  </event>
22527
a5de5537d8a6 8032250: Add trace event for VM flag changes
sla
parents: 21767
diff changeset
   180
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   181
  <struct id="VirtualSpace">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   182
    <value type="ADDRESS" field="start" label="Start Address" description="Start address of the virtual space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   183
    <value type="ADDRESS" field="committedEnd" label="Committed End Address" description="End address of the committed memory for the virtual space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   184
    <value type="BYTES64" field="committedSize" label="Committed Size" description="Size of the committed memory for the virtual space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   185
    <value type="ADDRESS" field="reservedEnd" label="Reserved End Address" description="End address of the reserved memory for the virtual space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   186
    <value type="BYTES64" field="reservedSize" label="Reserved Size" description="Size of the reserved memory for the virtual space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   187
  </struct>
22527
a5de5537d8a6 8032250: Add trace event for VM flag changes
sla
parents: 21767
diff changeset
   188
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   189
  <struct id="ObjectSpace">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   190
    <value type="ADDRESS" field="start" label="Start Address" description="Start address of the space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   191
    <value type="ADDRESS" field="end" label="End Address" description="End address of the space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   192
    <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   193
    <value type="BYTES64" field="size" label="Size" description="Size of the space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   194
  </struct>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   195
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   196
  <event id="GCHeapSummary" path="vm/gc/heap/summary" label="Heap Summary" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   197
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   198
    <value type="GCWHEN" field="when" label="When" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   199
    <structvalue type="VirtualSpace" field="heapSpace" label="Heap Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   200
    <value type="BYTES64" field="heapUsed" label="Heap Used" description="Bytes allocated by objects in the heap"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   201
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   202
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   203
  <struct id="MetaspaceSizes">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   204
    <value type="BYTES64" field="committed" label="Committed" description="Committed memory for this space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   205
    <value type="BYTES64" field="used" label="Used" description="Bytes allocated by objects in the space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   206
    <value type="BYTES64" field="reserved" label="Reserved" description="Reserved memory for this space" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   207
  </struct>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   208
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   209
  <event id="MetaspaceSummary" path="vm/gc/heap/metaspace_summary" label="Metaspace Summary" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   210
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   211
    <value type="GCWHEN" field="when" label="When" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   212
    <value type="BYTES64" field="gcThreshold" label="GC Threshold" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   213
    <structvalue type="MetaspaceSizes" field="metaspace" label="Total"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   214
    <structvalue type="MetaspaceSizes" field="dataSpace" label="Data"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   215
    <structvalue type="MetaspaceSizes" field="classSpace" label="Class"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   216
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   217
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   218
  <event id="MetaspaceGCThreshold" path="vm/gc/metaspace/gc_threshold" label="Metaspace GC Threshold" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   219
    <value type="BYTES64" field="oldValue" label="Old Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   220
    <value type="BYTES64" field="newValue" label="New Value" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   221
    <value type="GCTHRESHOLDUPDATER" field="updater" label="Updater" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   222
  </event>
23465
14790e4d53ec 8036698: Add trace event for updates to metaspace gc threshold
ehelin
parents: 23464
diff changeset
   223
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   224
  <event id="MetaspaceAllocationFailure" path="vm/gc/metaspace/allocation_failure" label="Metaspace Allocation Failure" is_instant="true" has_stacktrace="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   225
    <value type="CLASS" field="classLoader" label="Class Loader" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   226
    <value type="BOOLEAN" field="anonymousClassLoader" label="Anonymous Class Loader" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   227
    <value type="BYTES64" field="size" label="Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   228
    <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   229
    <value type="METASPACEOBJTYPE" field="metaspaceObjectType" label="Metaspace Object Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   230
  </event>
23468
6bb416a59349 8036699: Add trace event when a metaspace allocation fails
ehelin
parents: 23465
diff changeset
   231
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   232
  <event id="MetaspaceOOM" path="vm/gc/metaspace/out_of_memory" label="Metaspace Out of Memory" is_instant="true" has_stacktrace="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   233
    <value type="CLASS" field="classLoader" label="Class Loader" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   234
    <value type="BOOLEAN" field="anonymousClassLoader" label="Anonymous Class Loader" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   235
    <value type="BYTES64" field="size" label="Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   236
    <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   237
    <value type="METASPACEOBJTYPE" field="metaspaceObjectType" label="Metaspace Object Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   238
  </event>
23469
0a4d02776968 8036701: Add trace event when a metaspace throws out of memory error
ehelin
parents: 23468
diff changeset
   239
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   240
  <event id="MetaspaceChunkFreeListSummary" path="vm/gc/metaspace/chunk_free_list_summary" label="Metaspace Chunk Free List Summary" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   241
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   242
    <value type="GCWHEN" field="when" label="When" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   243
    <value type="METADATATYPE" field="metadataType" label="Metadata Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   244
    <value type="ULONG" field="specializedChunks" label="Specialized Chunks" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   245
    <value type="BYTES64" field="specializedChunksTotalSize" label="Specialized Chunks Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   246
    <value type="ULONG" field="smallChunks" label="Small Chunks" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   247
    <value type="BYTES64" field="smallChunksTotalSize" label="Small Chunks Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   248
    <value type="ULONG" field="mediumChunks" label="Medium Chunks" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   249
    <value type="BYTES64" field="mediumChunksTotalSize" label="Medium Chunks Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   250
    <value type="ULONG" field="humongousChunks" label="Humongous Chunks" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   251
    <value type="BYTES64" field="humongousChunksTotalSize" label="Humongous Chunks Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   252
  </event>
23470
ff2a7ea4225d 8036703: Add trace event with statistics for the metaspace chunk free lists
ehelin
parents: 23469
diff changeset
   253
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   254
  <event id="PSHeapSummary" path="vm/gc/heap/ps_summary" label="Parallel Scavenge Heap Summary" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   255
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   256
    <value type="GCWHEN" field="when" label="When" />
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   257
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   258
    <structvalue type="VirtualSpace" field="oldSpace" label="Old Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   259
    <structvalue type="ObjectSpace" field="oldObjectSpace" label="Old Object Space"/>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   260
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   261
    <structvalue type="VirtualSpace" field="youngSpace" label="Young Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   262
    <structvalue type="ObjectSpace" field="edenSpace" label="Eden Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   263
    <structvalue type="ObjectSpace" field="fromSpace" label="From Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   264
    <structvalue type="ObjectSpace" field="toSpace" label="To Space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   265
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   266
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   267
  <event id="G1HeapSummary" path="vm/gc/heap/g1_summary" label="G1 Heap Summary" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   268
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   269
    <value type="GCWHEN" field="when" label="When" />
31344
2316eb7a0358 8025608: GC trace events missing nursery size information
david
parents: 31236
diff changeset
   270
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   271
    <value type="BYTES64" field="edenUsedSize" label="Eden Used Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   272
    <value type="BYTES64" field="edenTotalSize" label="Eden Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   273
    <value type="BYTES64" field="survivorUsedSize" label="Survivor Used Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   274
    <value type="UINT" field="numberOfRegions" label="Number of Regions" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   275
  </event>
31344
2316eb7a0358 8025608: GC trace events missing nursery size information
david
parents: 31236
diff changeset
   276
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   277
  <event id="GCGarbageCollection" path="vm/gc/collector/garbage_collection" label="Garbage Collection"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   278
         description="Garbage collection performed by the JVM">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   279
    <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   280
    <value type="GCNAME" field="name" label="Name" description="The name of the Garbage Collector" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   281
    <value type="GCCAUSE" field="cause" label="Cause" description="The reason for triggering this Garbage Collection" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   282
    <value type="TICKSPAN" field="sumOfPauses" label="Sum of Pauses" description="Sum of all the times in which Java execution was paused during the garbage collection" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   283
    <value type="TICKSPAN" field="longestPause" label="Longest Pause" description="Longest individual pause during the garbage collection" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   284
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   285
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   286
  <event id="GCParallelOld" path="vm/gc/collector/parold_garbage_collection" label="Parallel Old Garbage Collection"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   287
         description="Extra information specific to Parallel Old Garbage Collections">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   288
    <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   289
    <value type="ADDRESS" field="densePrefix" label="Dense Prefix" description="The address of the dense prefix, used when compacting" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   290
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   291
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   292
  <event id="GCYoungGarbageCollection" path="vm/gc/collector/young_garbage_collection" label="Young Garbage Collection"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   293
         description="Extra information specific to Young Garbage Collections">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   294
    <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   295
    <value type="UINT" field="tenuringThreshold" label="Tenuring Threshold" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   296
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   297
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   298
  <event id="GCOldGarbageCollection" path="vm/gc/collector/old_garbage_collection" label="Old Garbage Collection"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   299
         description="Extra information specific to Old Garbage Collections">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   300
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   301
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   302
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   303
  <event id="GCG1GarbageCollection" path="vm/gc/collector/g1_garbage_collection" label="G1 Garbage Collection"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   304
         description="Extra information specific to G1 Garbage Collections">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   305
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   306
    <value type="G1YCTYPE" field="type" label="Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   307
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   308
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   309
  <event id="GCG1MMU" path="vm/gc/detailed/g1_mmu_info" label="G1 MMU Information" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   310
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   311
    <value type="DOUBLE" field="timeSlice" label="Time slice used to calculate MMU"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   312
    <value type="DOUBLE" field="gcTime" label="Time spent on GC during last time slice"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   313
    <value type="DOUBLE" field="maxGcTime" label="Max time allowed to be spent on GC during last time slice"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   314
  </event>
31619
f27b8fcf4018 8078901: Add trace event for G1 MMU information
sjohanss
parents: 31344
diff changeset
   315
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   316
  <event id="EvacuationInfo" path="vm/gc/detailed/evacuation_info" label="Evacuation Information" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   317
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   318
    <value type="UINT" field="cSetRegions" label="Collection Set Regions"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   319
    <value type="BYTES64" field="cSetUsedBefore" label="Collection Set Before" description="Memory usage before GC in the collection set regions"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   320
    <value type="BYTES64" field="cSetUsedAfter" label="Collection Set After" description="Memory usage after GC in the collection set regions"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   321
    <value type="UINT" field="allocationRegions" label="Allocation Regions" description="Regions chosen as allocation regions during evacuation (includes survivors and old space regions)"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   322
    <value type="BYTES64" field="allocRegionsUsedBefore" label="Alloc Regions Before" description="Memory usage before GC in allocation regions"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   323
    <value type="BYTES64" field="allocRegionsUsedAfter" label="Alloc Regions After" description="Memory usage after GC in allocation regions"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   324
    <value type="BYTES64" field="bytesCopied" label="Bytes Copied"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   325
    <value type="UINT" field="regionsFreed" label="Regions Freed"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   326
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   327
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   328
  <event id="GCReferenceStatistics" path="vm/gc/reference/statistics"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   329
         label="GC Reference Statistics" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   330
         description="Total count of processed references during GC">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   331
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   332
    <value type="REFERENCETYPE" field="type" label="Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   333
    <value type="ULONG" field="count" label="Total Count" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   334
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   335
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   336
  <struct id="CopyFailed">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   337
    <value type="ULONG" field="objectCount" label="Object Count"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   338
    <value type="BYTES64" field="firstSize" label="First Failed Object Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   339
    <value type="BYTES64" field="smallestSize" label="Smallest Failed Object Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   340
    <value type="BYTES64" field="totalSize" label="Total Object Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   341
  </struct>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   342
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   343
  <event id="ObjectCountAfterGC" path="vm/gc/detailed/object_count_after_gc" is_instant="true" label="Object Count after GC">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   344
    <value type="UINT" field="gcId"  label="GC ID" relation="GC_ID" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   345
    <value type="CLASS" field="class" label="Class" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   346
    <value type="LONG" field="count" label="Count" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   347
    <value type="BYTES64" field="totalSize" label="Total Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   348
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   349
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   350
  <struct id="G1EvacStats">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   351
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   352
    <value type="BYTES64" field="allocated" label="Allocated" description="Total memory allocated by PLABs"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   353
    <value type="BYTES64" field="wasted" label="Wasted" description="Total memory wasted within PLABs due to alignment or refill"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   354
    <value type="BYTES64" field="used" label="Used" description="Total memory occupied by objects within PLABs"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   355
    <value type="BYTES64" field="undoWaste" label="Undo Wasted" description="Total memory wasted due to allocation undo within PLABs"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   356
    <value type="BYTES64" field="regionEndWaste" label="Region End Wasted" description="Total memory wasted at the end of regions due to refill"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   357
    <value type="UINT" field="regionsRefilled" label="Region Refills" description="Total memory wasted at the end of regions due to refill"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   358
    <value type="BYTES64" field="directAllocated" label="Allocated (direct)" description="Total memory allocated using direct allocation outside of PLABs"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   359
    <value type="BYTES64" field="failureUsed" label="Used (failure)" description="Total memory occupied by objects in regions where evacuation failed"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   360
    <value type="BYTES64" field="failureWaste" label="Wasted (failure)" description="Total memory left unused in regions where evacuation failed"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   361
  </struct>
32380
1dcdb686f0cb 8133530: Add JFR event for evacuation statistics
tschatzl
parents: 31619
diff changeset
   362
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   363
  <event id="GCG1EvacuationYoungStatistics" path="vm/gc/detailed/g1_evac_young_stats" label="G1 Evacuation Statistics for Young" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   364
         description="Memory related evacuation statistics during GC for the young generation">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   365
    <structvalue type="G1EvacStats" field="stats" label="Evacuation statistics"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   366
  </event>
32380
1dcdb686f0cb 8133530: Add JFR event for evacuation statistics
tschatzl
parents: 31619
diff changeset
   367
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   368
  <event id="GCG1EvacuationOldStatistics" path="vm/gc/detailed/g1_evac_old_stats" label="G1 Evacuation Memory Statistics for Old" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   369
         description="Memory related evacuation statistics during GC for the old generation">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   370
    <structvalue type="G1EvacStats" field="stats" label="Evacuation statistics"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   371
  </event>
32380
1dcdb686f0cb 8133530: Add JFR event for evacuation statistics
tschatzl
parents: 31619
diff changeset
   372
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   373
  <event id="GCG1BasicIHOP" path="vm/gc/detailed/g1_basic_ihop_status" label="G1 Basic IHOP statistics" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   374
         description="Basic statistics related to current IHOP calculation">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   375
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   376
    <value type="BYTES64" field="threshold" label="Current IHOP threshold" description="Current IHOP threshold in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   377
    <value type="BYTES64" field="thresholdPercentage" label="Current IHOP threshold in percent" description="Current IHOP threshold in percent of old gen"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   378
    <value type="BYTES64" field="targetOccupancy" label="Target occupancy" description="Target old gen occupancy to reach at the start of mixed GC in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   379
    <value type="BYTES64" field="currentOccupancy" label="Current occupancy" description="Current old gen occupancy in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   380
    <value type="BYTES64" field="lastAllocationSize" label="Last mutator allocation size" description="Mutator allocation during mutator operation since last GC in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   381
    <value type="DOUBLE" field="lastAllocationDuration" label="Last mutator operation duration" description="Time the mutator ran since last GC in seconds"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   382
    <value type="DOUBLE" field="lastAllocationRate" label="Last mutator allocation rate" description="Allocation rate of the mutator since last GC in bytes/second"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   383
    <value type="DOUBLE" field="lastMarkingLength" label="Last mutator time from initial mark to first mixed GC" description="Last time from the end of the last initial mark to the first mixed GC in seconds"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   384
  </event>
34300
6075c1e0e913 8136679: JFR event for adaptive IHOP
tschatzl
parents: 32380
diff changeset
   385
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   386
  <event id="GCG1AdaptiveIHOP" path="vm/gc/detailed/g1_adaptive_ihop_status" label="G1 Adaptive IHOP statistics" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   387
         description="Statistics related to current adaptive IHOP calculation">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   388
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   389
    <value type="BYTES64" field="threshold" label="Current IHOP threshold" description="Current IHOP threshold in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   390
    <value type="BYTES64" field="thresholdPercentage" label="Current IHOP threshold in percent" description="Current IHOP threshold in percent of the internal target occupancy"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   391
    <value type="BYTES64" field="internalTargetOccupancy" label="Target occupancy" description="Internal target old gen occupancy to reach at the start of mixed GC in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   392
    <value type="BYTES64" field="currentOccupancy" label="Current occupancy" description="Current old gen occupancy in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   393
    <value type="BYTES64" field="additionalBufferSize" label="Additional buffer size" description="Additional buffer size in bytes"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   394
    <value type="DOUBLE" field="predictedAllocationRate" label="Predicted mutator allocation rate" description="Current predicted allocation rate for the mutator in bytes/second"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   395
    <value type="DOUBLE" field="predictedMarkingLength" label="Predicted time from initial mark to first mixed GC" description="Current predicted time from the end of the last initial mark to the first mixed GC in seconds"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   396
    <value type="BOOLEAN" field="predictionActive" label="Prediction active" description="Indicates whether the adaptive IHOP prediction is active"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   397
  </event>
34300
6075c1e0e913 8136679: JFR event for adaptive IHOP
tschatzl
parents: 32380
diff changeset
   398
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   399
  <!-- Promotion events, Supported GCs are Parallel Scavange, G1 and CMS with Parallel New. -->
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   400
  <event id="PromoteObjectInNewPLAB" path="vm/gc/detailed/object_promotion_in_new_PLAB" label="Promotion in new PLAB"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   401
      description="Object survived scavenge and was copied to a new Promotion Local Allocation Buffer (PLAB). Supported GCs are Parallel Scavange, G1 and CMS with Parallel New. Due to promotion being done in parallel an object might be reported multiple times as the GC threads race to copy all objects." 
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   402
         has_thread="true" has_stacktrace="false" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   403
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" description="ID of GC during which the object was promoted"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   404
    <value type="CLASS" field="class" label="Class" description="Class of promoted object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   405
    <value type="BYTES64" field="objectSize" label="Object Size" description="Size of promoted object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   406
    <value type="UINT" field="tenuringAge" label="Object Tenuring Age" description="Tenuring age of a surviving object before being copied. The tenuring age of an object is a value between 0-15 and is incremented each scavange the object survives. Newly allocated objects have tenuring age 0."/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   407
    <value type="BOOLEAN" field="tenured" label="Tenured" description="True if object was promoted to Old space, otherwise the object was aged and copied to a Survivor space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   408
    <value type="BYTES64" field="plabSize" label="PLAB Size" description="Size of the allocated PLAB to which the object was copied"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   409
  </event>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   410
  
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   411
  <event id="PromoteObjectOutsidePLAB" path="vm/gc/detailed/object_promotion_outside_PLAB" label="Promotion outside PLAB"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   412
      description="Object survived scavenge and was copied directly to the heap. Supported GCs are Parallel Scavange, G1 and CMS with Parallel New. Due to promotion being done in parallel an object might be reported multiple times as the GC threads race to copy all objects." 
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   413
         has_thread="true" has_stacktrace="false" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   414
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID" description="ID of GC during which the object was promoted"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   415
    <value type="CLASS" field="class" label="Class" description="Class of promoted object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   416
    <value type="BYTES64" field="objectSize" label="Object Size" description="Size of promoted object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   417
    <value type="UINT" field="tenuringAge" label="Object Tenuring Age" description="Tenuring age of a surviving object before being copied. The tenuring age of an object is a value between 0-15 and is incremented each scavange the object survives. Newly allocated objects have tenuring age 0."/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   418
    <value type="BOOLEAN" field="tenured" label="Tenured" description="True if object was promoted to Old space, otherwise the object was aged and copied to a Survivor space"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   419
  </event>
28024
33102d6e1f06 8066441: Add PLAB trace event
sfriberg
parents: 27420
diff changeset
   420
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   421
  <event id="PromotionFailed" path="vm/gc/detailed/promotion_failed" label="Promotion Failed" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   422
         description="Promotion of an object failed">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   423
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   424
    <structvalue type="CopyFailed" field="data" label="Data"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   425
    <value type="THREAD" field="thread" label="Running thread"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   426
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   427
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   428
  <event id="EvacuationFailed" path="vm/gc/detailed/evacuation_failed" label="Evacuation Failed" is_instant="true"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   429
         description="Evacuation of an object failed">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   430
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   431
    <structvalue type="CopyFailed" field="data" label="Data"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   432
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   433
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   434
  <event id="ConcurrentModeFailure" path="vm/gc/detailed/concurrent_mode_failure" label="Concurrent Mode Failure"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   435
         is_instant="true" description="Concurrent Mode failed">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   436
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   437
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   438
37141
a03e5faf3190 8152007: Add the thread to the GCPhase trace events
stefank
parents: 37115
diff changeset
   439
  <event id="GCPhasePause" path="vm/gc/phases/pause" label="GC Phase Pause" has_thread="true">
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   440
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   441
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   442
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   443
37141
a03e5faf3190 8152007: Add the thread to the GCPhase trace events
stefank
parents: 37115
diff changeset
   444
  <event id="GCPhasePauseLevel1" path="vm/gc/phases/pause_level_1" label="GC Phase Pause Level 1" has_thread="true">
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   445
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   446
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   447
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   448
37141
a03e5faf3190 8152007: Add the thread to the GCPhase trace events
stefank
parents: 37115
diff changeset
   449
  <event id="GCPhasePauseLevel2" path="vm/gc/phases/pause_level_2" label="GC Phase Pause Level 2" has_thread="true">
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   450
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   451
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   452
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   453
37141
a03e5faf3190 8152007: Add the thread to the GCPhase trace events
stefank
parents: 37115
diff changeset
   454
  <event id="GCPhasePauseLevel3" path="vm/gc/phases/pause_level_3" label="GC Phase Pause Level 3" has_thread="true">
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   455
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   456
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   457
  </event>
35204
78a0fd90a70f 8068394: Trace event for concurrent GC phases
sangheki
parents: 35071
diff changeset
   458
37141
a03e5faf3190 8152007: Add the thread to the GCPhase trace events
stefank
parents: 37115
diff changeset
   459
  <event id="GCPhaseConcurrent" path="vm/gc/phases/concurrent" label="GC Phase Concurrent" has_thread="true">
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   460
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   461
    <value type="UTF8" field="name" label="Name" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   462
  </event>
35227
176e593eb364 8065331: Add trace events for failed allocations
mlarsson
parents: 35204
diff changeset
   463
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   464
  <event id="AllocationRequiringGC" path="vm/gc/detailed/allocation_requiring_gc" label="Allocation Requiring GC"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   465
         has_thread="true" has_stacktrace="true"  is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   466
    <value type="UINT" field="gcId"  label="Pending GC ID" relation="GC_ID" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   467
    <value type="BYTES64" field="size" label="Allocation Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   468
  </event>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   469
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   470
  <event id="TenuringDistribution" path="vm/gc/detailed/tenuring_distribution" label="Tenuring Distribution"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   471
         is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   472
    <value type="UINT" field="gcId" label="GC ID" relation="GC_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   473
    <value type="UINT" field="age" label="Age" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   474
    <value type="BYTES64" field="size" label="Size" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   475
  </event>
36097
c830c234e056 8009538: [Event Request] Want events for tenuring distribution
david
parents: 36095
diff changeset
   476
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   477
  <event id="G1HeapRegionTypeChange" path="vm/gc/detailed/g1_heap_region_type_change" label="G1 Heap Region Type Change"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   478
         description="Information about a G1 heap region type change." is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   479
    <value type="UINT" field="index" label="Index" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   480
    <value type="G1HEAPREGIONTYPE" field="from" label="From Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   481
    <value type="G1HEAPREGIONTYPE" field="to" label="To Type" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   482
    <value type="ADDRESS" field="start" label="Start" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   483
    <value type="BYTES64" field="used" label="Used" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   484
    <value type="UINT" field="allocContext" label="Allocation Context" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   485
  </event>
36098
e056a98ac7ca 8149650: Create a trace event for G1 heap region type transitions
david
parents: 36097
diff changeset
   486
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   487
  <event id="VMError" path="vm/runtime/vm_error" label="VM Error"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   488
         description="VM shutdown due to an error" has_stacktrace="true" has_thread="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   489
    <value type="BOOLEAN" field="out_of_java_memory" label="Java Out Of Memory"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   490
  </event>
36384
b0b41336a9a8 8143226: Minor updates to Event Based tracing
mgronlun
parents: 36098
diff changeset
   491
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   492
  <!-- Compiler events -->
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   493
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   494
  <event id="Compilation" path="vm/compiler/compilation" label="Compilation"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   495
       has_thread="true" is_requestable="false" is_constant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   496
    <value type="METHOD" field="method" label="Java Method"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   497
    <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   498
    <value type="USHORT" field="compileLevel" label="Compilation Level"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   499
    <value type="BOOLEAN" field="succeded" label="Succeeded"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   500
    <value type="BOOLEAN" field="isOsr" label="On Stack Replacement"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   501
    <value type="BYTES" field="codeSize" label="Compiled Code Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   502
    <value type="BYTES" field="inlinedBytes" label="Inlined Code Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   503
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   504
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   505
  <event id="CompilerPhase" path="vm/compiler/phase" label="Compiler Phase"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   506
          has_thread="true" is_requestable="false" is_constant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   507
    <value type="COMPILERPHASETYPE" field="phase" label="Compile Phase"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   508
    <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   509
    <value type="USHORT" field="phaseLevel" label="Phase Level"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   510
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   511
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   512
  <event id="CompilerFailure" path="vm/compiler/failure" label="Compilation Failure"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   513
          has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   514
    <value type="UTF8" field="failure" label="Message"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   515
    <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   516
  </event>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   517
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   518
  <struct id="CiMethod">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   519
    <value type="UTF8" field="class" label="Class name"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   520
    <value type="UTF8" field="name" label="Method name"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   521
    <value type="UTF8" field="signature" label="Method signature"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   522
  </struct>
29582
9a0bb63adf5a 8073607: add trace events for inlining
iignatyev
parents: 28024
diff changeset
   523
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   524
  <event id="CompilerInlining" path="vm/compiler/optimization/inlining" label="Method Inlining"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   525
       has_thread="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   526
    <value type="UINT" field="compileID" label="Compilation ID" relation="COMP_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   527
    <value type="METHOD" field="caller" label="Caller Method"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   528
    <structvalue type="CiMethod" field="callee" label="Callee Method"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   529
    <value type="BOOLEAN" field="succeeded" label="Succeeded"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   530
    <value type="UTF8" field="message" label="Message"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   531
    <value type="INTEGER" field="bci" label="Byte Code Index"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   532
  </event>
29582
9a0bb63adf5a 8073607: add trace events for inlining
iignatyev
parents: 28024
diff changeset
   533
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   534
  <!-- Code sweeper events -->
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   535
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   536
  <event id="SweepCodeCache" path="vm/code_sweeper/sweep" label="Sweep Code Cache"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   537
     has_thread="true" is_requestable="false" is_constant="false">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   538
    <value type="INTEGER" field="sweepIndex" label="Sweep Index" relation="SWEEP_ID"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   539
    <value type="UINT" field="sweptCount" label="Methods Swept"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   540
    <value type="UINT" field="flushedCount" label="Methods Flushed"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   541
    <value type="UINT" field="markedCount" label="Methods Reclaimed"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   542
    <value type="UINT" field="zombifiedCount" label="Methods Zombified"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   543
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   544
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   545
  <!-- Code cache events -->
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   546
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   547
  <event id="CodeCacheFull" path="vm/code_cache/full" label="Code Cache Full"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   548
       has_thread="true" is_requestable="false" is_constant="false" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   549
    <value type="CODEBLOBTYPE" field="codeBlobType" label="Code Heap"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   550
    <value type="ADDRESS" field="startAddress" label="Start Address"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   551
    <value type="ADDRESS" field="commitedTopAddress" label="Commited Top"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   552
    <value type="ADDRESS" field="reservedTopAddress" label="Reserved Top"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   553
    <value type="INTEGER" field="entryCount" label="Entries"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   554
    <value type="INTEGER" field="methodCount" label="Methods"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   555
    <value type="INTEGER" field="adaptorCount" label="Adaptors"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   556
    <value type="BYTES64" field="unallocatedCapacity" label="Unallocated"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   557
    <value type="INTEGER" field="fullCount" label="Full Count"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   558
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   559
37176
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   560
  <event id="SafepointBegin" path="vm/runtime/safepoint/begin" label="Safepoint Begin"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   561
         description="Safepointing begin" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   562
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   563
    <value type="INTEGER" field="totalThreadCount" label="Total Threads" description="The total number of threads at the start of safe point"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   564
    <value type="INTEGER" field="jniCriticalThreadCount" label="JNI Critical Threads" description="The number of threads in JNI critical sections"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   565
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   566
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   567
  <event id="SafepointStateSync" path="vm/runtime/safepoint/statesync" label="Safepoint State Sync"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   568
         description="Synchronize run state of threads" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   569
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   570
    <value type="INTEGER" field="initialThreadCount" label="Initial Threads" description="The number of threads running at the beginning of state check"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   571
    <value type="INTEGER" field="runningThreadCount" label="Running Threads" description="The number of threads still running"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   572
    <value type="INTEGER" field="iterations" label="Iterations" description="Number of state check iterations"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   573
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   574
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   575
  <event id="SafepointWaitBlocked" path="vm/runtime/safepoint/waitblocked" label="Safepoint Wait Blocked"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   576
         description="Safepointing begin waiting on running threads to block" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   577
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   578
    <value type="INTEGER" field="runningThreadCount" label="Running Threads" description="The number running of threads wait for safe point"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   579
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   580
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   581
  <event id="SafepointCleanup" path="vm/runtime/safepoint/cleanup" label="Safepoint Cleanup"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   582
         description="Safepointing begin running cleanup tasks" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   583
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   584
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   585
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   586
  <event id="SafepointCleanupTask" path="vm/runtime/safepoint/cleanuptask" label="Safepoint Cleanup Task"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   587
         description="Safepointing begin running cleanup tasks" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   588
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   589
    <value type="UTF8" field="name" label="Task Name" description="The task name"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   590
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   591
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   592
  <event id="SafepointEnd" path="vm/runtime/safepoint/end" label="Safepoint End"
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   593
         description="Safepointing end" has_thread="true">
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   594
    <value type="INTEGER" field="safepointId" label="Safepoint ID" relation="SAFEPOINT_ID"/>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   595
  </event>
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   596
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   597
  <event id="ExecuteVMOperation" path="vm/runtime/execute_vm_operation" label="VM Operation"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   598
      description="Execution of a VM Operation" has_thread="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   599
    <value type="VMOPERATIONTYPE" field="operation" label="Operation" />
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   600
    <value type="BOOLEAN" field="safepoint" label="At Safepoint" description="If the operation occured at a safepoint."/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   601
    <value type="BOOLEAN" field="blocking" label="Caller Blocked" description="If the calling thread was blocked until the operation was complete."/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   602
    <value type="THREAD" field="caller" label="Caller" transition="FROM" description="Thread requesting operation. If non-blocking, will be set to 0 indicating thread is unknown."/>
37176
663bdc7d0b86 8149023: Event based tracing should cover safepoint begin and end
dsimms
parents: 37141
diff changeset
   603
    <value type="INTEGER" field="safepointId" label="Safepoint ID" description="The safepoint (if any) under which this operation was completed." relation="SAFEPOINT_ID"/>
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   604
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   605
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   606
  <!-- Allocation events -->
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   607
  <event id="AllocObjectInNewTLAB" path="java/object_alloc_in_new_TLAB" label="Allocation in new TLAB"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   608
      description="Allocation in new Thread Local Allocation Buffer" has_thread="true" has_stacktrace="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   609
    <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   610
    <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   611
    <value type="BYTES64" field="tlabSize" label="TLAB Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   612
  </event>
18025
b7bcf7497f93 8005849: JEP 167: Event-Based JVM Tracing
sla
parents:
diff changeset
   613
37115
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   614
  <event id="AllocObjectOutsideTLAB" path="java/object_alloc_outside_TLAB" label="Allocation outside TLAB"
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   615
      description="Allocation outside Thread Local Allocation Buffers" has_thread="true" has_stacktrace="true" is_instant="true">
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   616
    <value type="CLASS" field="class" label="Class" description="Class of allocated object"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   617
    <value type="BYTES64" field="allocationSize" label="Allocation Size"/>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   618
  </event>
f9c20e87f9ec 8151653: Hotspot build does not respect --enable-openjdk-only
erikj
parents: 36384
diff changeset
   619
</events>