8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp
Reviewed-by: kbarrett, tschatzl
--- a/hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp Tue May 19 14:09:22 2015 +0200
+++ b/hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp Tue May 19 17:25:49 2015 +0200
@@ -43,6 +43,7 @@
#include "gc/shared/collectorCounters.hpp"
#include "gc/shared/collectorPolicy.hpp"
#include "gc/shared/gcLocker.inline.hpp"
+#include "gc/shared/gcPolicyCounters.hpp"
#include "gc/shared/gcTimer.hpp"
#include "gc/shared/gcTrace.hpp"
#include "gc/shared/gcTraceTime.hpp"
--- a/hotspot/src/share/vm/gc/shared/isGCActiveMark.hpp Tue May 19 14:09:22 2015 +0200
+++ b/hotspot/src/share/vm/gc/shared/isGCActiveMark.hpp Tue May 19 17:25:49 2015 +0200
@@ -25,10 +25,10 @@
#ifndef SHARE_VM_GC_SHARED_ISGCACTIVEMARK_HPP
#define SHARE_VM_GC_SHARED_ISGCACTIVEMARK_HPP
-#include "utilities/macros.hpp"
-#if INCLUDE_ALL_GCS
-#include "gc/parallel/parallelScavengeHeap.hpp"
-#endif // INCLUDE_ALL_GCS
+#include "gc/shared/collectedHeap.hpp"
+#include "memory/allocation.hpp"
+#include "memory/universe.hpp"
+#include "utilities/debug.hpp"
// This class provides a method for block structured setting of the
// _is_gc_active state without requiring accessors in CollectedHeap