diff src/share/vm/trace/trace.xml @ 22938:a4ad5d51d29c

8065331: Add trace events for failed allocations Reviewed-by: ehelin, jwilhelm
author mlarsson
date Mon, 02 Mar 2015 14:50:53 +0100
parents fa21c9537e6e
children dd9cc155639c
line wrap: on
line diff
--- a/src/share/vm/trace/trace.xml	Thu Apr 09 15:59:26 2015 +0200
+++ b/src/share/vm/trace/trace.xml	Mon Mar 02 14:50:53 2015 +0100
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
- Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
  This code is free software; you can redistribute it and/or modify it
@@ -352,6 +352,12 @@
       <value type="UTF8" field="name" label="Name" />
     </event>
 
+    <event id="AllocationRequiringGC" path="vm/gc/detailed/allocation_requiring_gc" label="Allocation Requiring GC"
+           has_thread="true" has_stacktrace="true"  is_instant="true">
+      <value type="UINT" field="gcId"  label="Pending GC ID" relation="GC_ID" />
+      <value type="BYTES64" field="size" label="Allocation Size" />
+    </event>
+
     <!-- Compiler events -->
 
     <event id="Compilation" path="vm/compiler/compilation" label="Compilation"