< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp

Print this page
rev 59132 : 8244326: Shenandoah: global statistics should not accept bogus samples
Reviewed-by: XXX

@@ -193,10 +193,11 @@
 
   ShenandoahWorkerData* worker_data(Phase phase, ParPhase par_phase);
   Phase worker_par_phase(Phase phase, ParPhase par_phase);
 
   void set_cycle_data(Phase phase, double time);
+  static double uninitialized() { return -1; }
 
 public:
   ShenandoahPhaseTimings(uint _max_workers);
 
   void record_phase_time(Phase phase, double time);
< prev index next >