< prev index next >
src/share/vm/gc/g1/g1GCPhaseTimes.hpp
Print this page
@@ -34,10 +34,12 @@
class G1GCPhaseTimes : public CHeapObj<mtGC> {
friend class G1GCParPhasePrinter;
uint _active_gc_threads;
uint _max_gc_threads;
+ jlong _gc_start_counter;
+ double _gc_pause_time_ms;
public:
enum GCParPhases {
GCWorkerStart,
ExtRootScan,
@@ -124,11 +126,11 @@
void note_gc_end();
public:
G1GCPhaseTimes(uint max_gc_threads);
void note_gc_start(uint active_gc_threads);
- void print(double pause_time_ms);
+ void print();
// record the time a phase took in seconds
void record_time_secs(GCParPhases phase, uint worker_i, double secs);
// add a number of seconds to a phase
< prev index next >