src/hotspot/share/gc/shared/gcTraceSend.cpp
changeset 53411 aa87f38fcba2
parent 50113 caf115bb98ad
child 58002 01d31583f25c
equal deleted inserted replaced
53410:571f12d51db5 53411:aa87f38fcba2
    30 #include "gc/shared/gcWhen.hpp"
    30 #include "gc/shared/gcWhen.hpp"
    31 #include "jfr/jfrEvents.hpp"
    31 #include "jfr/jfrEvents.hpp"
    32 #include "runtime/os.hpp"
    32 #include "runtime/os.hpp"
    33 #include "utilities/macros.hpp"
    33 #include "utilities/macros.hpp"
    34 #if INCLUDE_G1GC
    34 #if INCLUDE_G1GC
    35 #include "gc/g1/evacuationInfo.hpp"
    35 #include "gc/g1/g1EvacuationInfo.hpp"
    36 #include "gc/g1/g1YCTypes.hpp"
    36 #include "gc/g1/g1YCTypes.hpp"
    37 #endif
    37 #endif
    38 
    38 
    39 // All GC dependencies against the trace framework is contained within this file.
    39 // All GC dependencies against the trace framework is contained within this file.
    40 
    40 
   207     e.set_pauseTarget(max_time_ms);
   207     e.set_pauseTarget(max_time_ms);
   208     e.commit();
   208     e.commit();
   209   }
   209   }
   210 }
   210 }
   211 
   211 
   212 void G1NewTracer::send_evacuation_info_event(EvacuationInfo* info) {
   212 void G1NewTracer::send_evacuation_info_event(G1EvacuationInfo* info) {
   213   EventEvacuationInformation e;
   213   EventEvacuationInformation e;
   214   if (e.should_commit()) {
   214   if (e.should_commit()) {
   215     e.set_gcId(GCId::current());
   215     e.set_gcId(GCId::current());
   216     e.set_cSetRegions(info->collectionset_regions());
   216     e.set_cSetRegions(info->collectionset_regions());
   217     e.set_cSetUsedBefore(info->collectionset_used_before());
   217     e.set_cSetUsedBefore(info->collectionset_used_before());