8058235: identify GCs initiated to update allocation context stats
authorjcoomes
Thu, 11 Sep 2014 17:13:30 -0700
changeset 26845 ae163b62b9ac
parent 26844 80398753ed99
child 26846 7d4376f8560e
child 26847 137f550eba0e
8058235: identify GCs initiated to update allocation context stats Reviewed-by: mikael, sjohanss
hotspot/src/share/vm/gc_interface/gcCause.cpp
hotspot/src/share/vm/gc_interface/gcCause.hpp
--- 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,