< prev index next >

src/share/vm/gc/g1/g1GCPhaseTimes.hpp

Print this page
rev 13330 : imported patch webrev.2
rev 13332 : [mq]: webrev.4

*** 23,37 **** --- 23,39 ---- */ #ifndef SHARE_VM_GC_G1_G1GCPHASETIMES_HPP #define SHARE_VM_GC_G1_G1GCPHASETIMES_HPP + #include "gc/shared/referenceProcessorPhaseTimes.hpp" #include "logging/logLevel.hpp" #include "memory/allocation.hpp" #include "utilities/macros.hpp" class LineBuffer; + class STWGCTimer; template <class T> class WorkerDataArray; class G1GCPhaseTimes : public CHeapObj<mtGC> { uint _max_gc_threads;
*** 149,158 **** --- 151,162 ---- size_t _cur_fast_reclaim_humongous_reclaimed; double _cur_verify_before_time_ms; double _cur_verify_after_time_ms; + ReferenceProcessorPhaseTimes _ref_phase_times; + double worker_time(GCParPhases phase, uint worker); void note_gc_end(); void reset(); template <class T>
*** 173,183 **** double print_evacuate_collection_set() const; double print_post_evacuate_collection_set() const; void print_other(double accounted_ms) const; public: ! G1GCPhaseTimes(uint max_gc_threads); void note_gc_start(); void print(); // record the time a phase took in seconds void record_time_secs(GCParPhases phase, uint worker_i, double secs); --- 177,187 ---- double print_evacuate_collection_set() const; double print_post_evacuate_collection_set() const; void print_other(double accounted_ms) const; public: ! G1GCPhaseTimes(STWGCTimer* gc_timer, uint max_gc_threads); void note_gc_start(); void print(); // record the time a phase took in seconds void record_time_secs(GCParPhases phase, uint worker_i, double secs);
*** 346,355 **** --- 350,361 ---- } double fast_reclaim_humongous_time_ms() { return _cur_fast_reclaim_humongous_time_ms; } + + ReferenceProcessorPhaseTimes* ref_phase_times() { return &_ref_phase_times; } }; class G1GCParPhaseTimesTracker : public StackObj { double _start_time; G1GCPhaseTimes::GCParPhases _phase;
< prev index next >