--- old/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2020-05-11 18:24:39.793389905 -0700 +++ new/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp 2020-05-11 18:24:39.573381623 -0700 @@ -27,7 +27,6 @@ #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" @@ -457,28 +456,4 @@ void stop(); }; -class G1GCParPhaseTimesTracker : public CHeapObj { -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