changeset 26845:ae163b62b9ac

8058235: identify GCs initiated to update allocation context stats Reviewed-by: mikael, sjohanss
author jcoomes
date Thu, 11 Sep 2014 17:13:30 -0700
parents 80398753ed99
children 7d4376f8560e 137f550eba0e
files hotspot/src/share/vm/gc_interface/gcCause.cpp hotspot/src/share/vm/gc_interface/gcCause.hpp
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc_interface/gcCause.cpp	Mon Sep 08 15:24:10 2014 +0200
+++ b/hotspot/src/share/vm/gc_interface/gcCause.cpp	Thu Sep 11 17:13:30 2014 -0700
@@ -54,6 +54,9 @@
     case _wb_young_gc:
       return "WhiteBox Initiated Young GC";
 
+    case _update_allocation_context_stats:
+      return "Update Allocation Context Stats";
+
     case _no_gc:
       return "No GC";
 
--- a/hotspot/src/share/vm/gc_interface/gcCause.hpp	Mon Sep 08 15:24:10 2014 +0200
+++ b/hotspot/src/share/vm/gc_interface/gcCause.hpp	Thu Sep 11 17:13:30 2014 -0700
@@ -47,6 +47,7 @@
     _heap_inspection,
     _heap_dump,
     _wb_young_gc,
+    _update_allocation_context_stats,
 
     /* implementation independent, but reserved for GC use */
     _no_gc,