changeset 8420:717252755363

8080584: isGCActiveMark.hpp should not include parallelScavengeHeap.hpp Reviewed-by: kbarrett, tschatzl
author pliden
date Tue, 19 May 2015 17:25:49 +0200
parents a2d828b1fa64
children eeacd32cbeeb
files src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp src/share/vm/gc/shared/isGCActiveMark.hpp
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp	Tue May 19 14:09:22 2015 +0200
+++ b/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/src/share/vm/gc/shared/isGCActiveMark.hpp	Tue May 19 14:09:22 2015 +0200
+++ b/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