< prev index next >
src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp
Print this page
*** 25,35 ****
#ifndef SHARE_GC_G1_G1GCPHASETIMES_HPP
#define SHARE_GC_G1_G1GCPHASETIMES_HPP
#include "gc/shared/referenceProcessorPhaseTimes.hpp"
#include "gc/shared/weakProcessorPhaseTimes.hpp"
- #include "jfr/jfrEvents.hpp"
#include "logging/logLevel.hpp"
#include "memory/allocation.hpp"
#include "utilities/macros.hpp"
class LineBuffer;
--- 25,34 ----
*** 455,484 ****
~G1EvacPhaseWithTrimTimeTracker();
void stop();
};
- class G1GCParPhaseTimesTracker : public CHeapObj<mtGC> {
- protected:
- Ticks _start_time;
- G1GCPhaseTimes::GCParPhases _phase;
- G1GCPhaseTimes* _phase_times;
- uint _worker_id;
- EventGCPhaseParallel _event;
- bool _must_record;
-
- public:
- G1GCParPhaseTimesTracker(G1GCPhaseTimes* phase_times, G1GCPhaseTimes::GCParPhases phase, uint worker_id, bool must_record = true);
- virtual ~G1GCParPhaseTimesTracker();
- };
-
- class G1EvacPhaseTimesTracker : public G1GCParPhaseTimesTracker {
- Tickspan _total_time;
- Tickspan _trim_time;
-
- G1EvacPhaseWithTrimTimeTracker _trim_tracker;
- public:
- G1EvacPhaseTimesTracker(G1GCPhaseTimes* phase_times, G1ParScanThreadState* pss, G1GCPhaseTimes::GCParPhases phase, uint worker_id);
- virtual ~G1EvacPhaseTimesTracker();
- };
-
#endif // SHARE_GC_G1_G1GCPHASETIMES_HPP
--- 454,459 ----
< prev index next >