hotspot/src/share/vm/gc/g1/g1MonitoringSupport.cpp
changeset 37218 c7241bc368bf
parent 37070 a2b389f23bac
child 37235 d9a0c407ac98
--- a/hotspot/src/share/vm/gc/g1/g1MonitoringSupport.cpp	Thu Mar 31 14:18:25 2016 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1MonitoringSupport.cpp	Wed Mar 30 21:05:13 2016 +0900
@@ -76,6 +76,7 @@
   _g1h(g1h),
   _incremental_collection_counters(NULL),
   _full_collection_counters(NULL),
+  _conc_collection_counters(NULL),
   _old_collection_counters(NULL),
   _old_space_counters(NULL),
   _young_collection_counters(NULL),
@@ -104,6 +105,9 @@
   // old generation collection.
   _full_collection_counters =
     new CollectorCounters("G1 stop-the-world full collections", 1);
+  // name "collector.2". STW phases as part of a concurrent collection.
+  _conc_collection_counters =
+    new CollectorCounters("G1 stop-the-world phases", 2);
 
   // timer sampling for all counters supporting sampling only update the
   // used value.  See the take_sample() method.  G1 requires both used and