< prev index next >

src/share/vm/gc/shenandoah/shenandoahCollectorPolicy.hpp

Print this page
rev 12669 : [mq]: degenerating-marking.patch

@@ -124,10 +124,12 @@
   TimingData _timing_data[_num_phases];
   const char* _phase_names[_num_phases];
 
   size_t _user_requested_gcs;
   size_t _allocation_failure_gcs;
+  size_t _degenerated_cm;
+  size_t _successful_cm;
 
   ShenandoahHeap* _pgc;
   ShenandoahHeuristics* _heuristics;
   ShenandoahTracer* _tracer;
   STWGCTimer* _stw_timer;

@@ -172,10 +174,15 @@
   void record_bytes_allocated(size_t bytes);
   void record_bytes_reclaimed(size_t bytes);
   void record_bytes_start_CM(size_t bytes);
   void record_bytes_end_CM(size_t bytes);
   bool should_start_concurrent_mark(size_t used, size_t capacity);
+  bool handover_cancelled_marking();
+
+  void record_cm_cancelled();
+  void record_cm_success();
+  void record_cm_degenerated();
 
   void choose_collection_set(ShenandoahCollectionSet* collection_set, int* connections=NULL);
   void choose_free_set(ShenandoahFreeSet* free_set);
 
   bool process_references();
< prev index next >