< prev index next >
src/hotspot/share/gc/shared/gcTrace.hpp
Print this page
@@ -32,11 +32,11 @@
#include "gc/shared/gcWhen.hpp"
#include "memory/metaspace.hpp"
#include "memory/referenceType.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
-#if INCLUDE_ALL_GCS
+#if INCLUDE_G1GC
#include "gc/g1/g1YCTypes.hpp"
#endif
class EvacuationInfo;
class GCHeapSummary;
@@ -95,11 +95,11 @@
_dense_prefix = addr;
}
void* dense_prefix() const { return _dense_prefix; }
};
-#if INCLUDE_ALL_GCS
+#if INCLUDE_G1GC
class G1YoungGCInfo {
G1YCType _type;
public:
G1YoungGCInfo() : _type(G1YCTypeEndSentinel) {}
@@ -107,11 +107,11 @@
_type = type;
}
G1YCType type() const { return _type; }
};
-#endif // INCLUDE_ALL_GCS
+#endif // INCLUDE_G1GC
class GCTracer : public ResourceObj {
protected:
SharedGCInfo _shared_gc_info;
@@ -230,11 +230,11 @@
class ParNewTracer : public YoungGCTracer {
public:
ParNewTracer() : YoungGCTracer(ParNew) {}
};
-#if INCLUDE_ALL_GCS
+#if INCLUDE_G1GC
class G1MMUTracer : public AllStatic {
static void send_g1_mmu_event(double time_slice_ms, double gc_time_ms, double max_time_ms);
public:
static void report_mmu(double time_slice_sec, double gc_time_sec, double max_time_sec);
@@ -292,11 +292,11 @@
class G1FullGCTracer : public OldGCTracer {
public:
G1FullGCTracer() : OldGCTracer(G1Full) {}
};
-#endif
+#endif // INCLUDE_G1GC
class CMSTracer : public OldGCTracer {
public:
CMSTracer() : OldGCTracer(ConcurrentMarkSweep) {}
};
< prev index next >