8058235: identify GCs initiated to update allocation context stats

Reviewed-by: mikael, sjohanss
This commit is contained in:
John Coomes 2014-09-11 17:13:30 -07:00
parent 174af2ea34
commit fada700e21
2 changed files with 4 additions and 0 deletions

View file

@ -54,6 +54,9 @@ const char* GCCause::to_string(GCCause::Cause cause) {
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";

View file

@ -47,6 +47,7 @@ class GCCause : public AllStatic {
_heap_inspection,
_heap_dump,
_wb_young_gc,
_update_allocation_context_stats,
/* implementation independent, but reserved for GC use */
_no_gc,