--- old/src/hotspot/share/gc/shared/gcTraceSend.cpp 2018-04-27 15:29:52.182202625 +0200 +++ new/src/hotspot/share/gc/shared/gcTraceSend.cpp 2018-04-27 15:29:51.934202634 +0200 @@ -31,11 +31,11 @@ #include "runtime/os.hpp" #include "trace/traceBackend.hpp" #include "trace/tracing.hpp" +#include "tracefiles/traceEventClasses.hpp" #include "utilities/macros.hpp" -#if INCLUDE_ALL_GCS +#if INCLUDE_G1GC #include "gc/g1/evacuationInfo.hpp" #include "gc/g1/g1YCTypes.hpp" -#include "tracefiles/traceEventClasses.hpp" #endif // All GC dependencies against the trace framework is contained within this file. @@ -188,7 +188,7 @@ } } -#if INCLUDE_ALL_GCS +#if INCLUDE_G1GC void G1NewTracer::send_g1_young_gc_event() { EventG1GarbageCollection e(UNTIMED); if (e.should_commit()) { @@ -311,7 +311,7 @@ } } -#endif +#endif // INCLUDE_G1GC static TraceStructVirtualSpace to_trace_struct(const VirtualSpaceSummary& summary) { TraceStructVirtualSpace space;