8058235: identify GCs initiated to update allocation context stats
Reviewed-by: mikael, sjohanss
--- 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,