< prev index next >
src/share/vm/gc/shared/gcTrace.hpp
Print this page
rev 8823 : imported patch 8133530-add-jfr-event-for-evacuation
rev 8824 : imported patch erik-comments
*** 35,52 ****
--- 35,54 ----
#include "memory/referenceType.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
#if INCLUDE_ALL_GCS
#include "gc/g1/g1YCTypes.hpp"
+ #include "gc/shared/gcHeapSummary.hpp"
#endif
class EvacuationInfo;
class GCHeapSummary;
class MetaspaceChunkFreeListSummary;
class MetaspaceSummary;
class PSHeapSummary;
class G1HeapSummary;
+ struct TraceStructG1EvacStats;
class ReferenceProcessorStats;
class TimePartitions;
class BoolObjectClosure;
class SharedGCInfo VALUE_OBJ_CLASS_SPEC {
*** 255,268 ****
--- 257,276 ----
void report_yc_type(G1YCType type);
void report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions);
void report_evacuation_info(EvacuationInfo* info);
void report_evacuation_failed(EvacuationFailedInfo& ef_info);
+ void report_evacuation_statistics(const G1EvacSummary& young_summary, const G1EvacSummary& old_summary) const;
private:
void send_g1_young_gc_event();
void send_evacuation_info_event(EvacuationInfo* info);
void send_evacuation_failed_event(const EvacuationFailedInfo& ef_info) const;
+
+ void send_young_evacuation_statistics(const G1EvacSummary& summary) const;
+ void send_old_evacuation_statistics(const G1EvacSummary& summary) const;
+
+ TraceStructG1EvacStats create_g1_evacstats(const G1EvacSummary& summary) const;
};
#endif
class CMSTracer : public OldGCTracer {
public:
< prev index next >