# HG changeset patch # User jcoomes # Date 1410480810 25200 # Node ID dce3f772de9f79ec11e860c13d65cb10dfa6330d # Parent 9b8bd21b6823ec3cec5743d2d952f93153d09a86 8058235: identify GCs initiated to update allocation context stats Reviewed-by: mikael, sjohanss diff -r 9b8bd21b6823 -r dce3f772de9f src/share/vm/gc_interface/gcCause.cpp --- a/src/share/vm/gc_interface/gcCause.cpp Thu Sep 11 14:21:24 2014 +0200 +++ b/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"; diff -r 9b8bd21b6823 -r dce3f772de9f src/share/vm/gc_interface/gcCause.hpp --- a/src/share/vm/gc_interface/gcCause.hpp Thu Sep 11 14:21:24 2014 +0200 +++ b/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,