src/hotspot/share/gc/shared/gcTrace.cpp
changeset 53411 aa87f38fcba2
parent 50113 caf115bb98ad
child 58002 01d31583f25c
equal deleted inserted replaced
53410:571f12d51db5 53411:aa87f38fcba2
    35 #include "runtime/os.hpp"
    35 #include "runtime/os.hpp"
    36 #include "utilities/globalDefinitions.hpp"
    36 #include "utilities/globalDefinitions.hpp"
    37 #include "utilities/macros.hpp"
    37 #include "utilities/macros.hpp"
    38 #include "utilities/ticks.hpp"
    38 #include "utilities/ticks.hpp"
    39 #if INCLUDE_G1GC
    39 #if INCLUDE_G1GC
    40 #include "gc/g1/evacuationInfo.hpp"
    40 #include "gc/g1/g1EvacuationInfo.hpp"
    41 #endif
    41 #endif
    42 
    42 
    43 void GCTracer::report_gc_start_impl(GCCause::Cause cause, const Ticks& timestamp) {
    43 void GCTracer::report_gc_start_impl(GCCause::Cause cause, const Ticks& timestamp) {
    44   _shared_gc_info.set_cause(cause);
    44   _shared_gc_info.set_cause(cause);
    45   _shared_gc_info.set_start_timestamp(timestamp);
    45   _shared_gc_info.set_start_timestamp(timestamp);
   198 void G1NewTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
   198 void G1NewTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
   199   YoungGCTracer::report_gc_end_impl(timestamp, time_partitions);
   199   YoungGCTracer::report_gc_end_impl(timestamp, time_partitions);
   200   send_g1_young_gc_event();
   200   send_g1_young_gc_event();
   201 }
   201 }
   202 
   202 
   203 void G1NewTracer::report_evacuation_info(EvacuationInfo* info) {
   203 void G1NewTracer::report_evacuation_info(G1EvacuationInfo* info) {
   204   send_evacuation_info_event(info);
   204   send_evacuation_info_event(info);
   205 }
   205 }
   206 
   206 
   207 void G1NewTracer::report_evacuation_failed(EvacuationFailedInfo& ef_info) {
   207 void G1NewTracer::report_evacuation_failed(EvacuationFailedInfo& ef_info) {
   208   send_evacuation_failed_event(ef_info);
   208   send_evacuation_failed_event(ef_info);