8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp
authorpliden
Tue, 19 May 2015 17:25:49 +0200
changeset 30771 0d139bc2a24a
parent 30770 5ba2d9f2084d
child 30772 fe109817cc79
8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp Reviewed-by: kbarrett, tschatzl
hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp
hotspot/src/share/vm/gc/shared/isGCActiveMark.hpp
--- 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