Mercurial > hg > truffle
changeset 20462:dce3f772de9f
8058235: identify GCs initiated to update allocation context stats
Reviewed-by: mikael, sjohanss
author | jcoomes |
---|---|
date | Thu, 11 Sep 2014 17:13:30 -0700 |
parents | 9b8bd21b6823 |
children | b2029969cc16 |
files | src/share/vm/gc_interface/gcCause.cpp src/share/vm/gc_interface/gcCause.hpp |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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";
--- 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,