8058235: identify GCs initiated to update allocation context stats

Thu, 11 Sep 2014 17:13:30 -0700

author
jcoomes
date
Thu, 11 Sep 2014 17:13:30 -0700
changeset 7176
dce3f772de9f
parent 7175
9b8bd21b6823
child 7178
b2029969cc16

8058235: identify GCs initiated to update allocation context stats
Reviewed-by: mikael, sjohanss

src/share/vm/gc_interface/gcCause.cpp file | annotate | diff | comparison | revisions
src/share/vm/gc_interface/gcCause.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/gc_interface/gcCause.cpp	Thu Sep 11 14:21:24 2014 +0200
     1.2 +++ b/src/share/vm/gc_interface/gcCause.cpp	Thu Sep 11 17:13:30 2014 -0700
     1.3 @@ -54,6 +54,9 @@
     1.4      case _wb_young_gc:
     1.5        return "WhiteBox Initiated Young GC";
     1.6  
     1.7 +    case _update_allocation_context_stats:
     1.8 +      return "Update Allocation Context Stats";
     1.9 +
    1.10      case _no_gc:
    1.11        return "No GC";
    1.12  
     2.1 --- a/src/share/vm/gc_interface/gcCause.hpp	Thu Sep 11 14:21:24 2014 +0200
     2.2 +++ b/src/share/vm/gc_interface/gcCause.hpp	Thu Sep 11 17:13:30 2014 -0700
     2.3 @@ -47,6 +47,7 @@
     2.4      _heap_inspection,
     2.5      _heap_dump,
     2.6      _wb_young_gc,
     2.7 +    _update_allocation_context_stats,
     2.8  
     2.9      /* implementation independent, but reserved for GC use */
    2.10      _no_gc,

mercurial