Fix non-PCH build epsilon-gc-branch
authorshade
Mon, 26 Mar 2018 17:27:47 +0200
branchepsilon-gc-branch
changeset 56354 4b9449c330fb
parent 56353 eb96d40953f1
child 56406 e629240491c7
Fix non-PCH build
src/hotspot/share/gc/epsilon/epsilonHeap.cpp
src/hotspot/share/gc/epsilon/epsilonHeap.hpp
src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp
src/hotspot/share/runtime/commandLineFlagConstraintList.cpp
--- a/src/hotspot/share/gc/epsilon/epsilonHeap.cpp	Mon Mar 26 16:43:05 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonHeap.cpp	Mon Mar 26 17:27:47 2018 +0200
@@ -24,6 +24,9 @@
 #include "precompiled.hpp"
 #include "gc/epsilon/epsilonHeap.hpp"
 #include "gc/epsilon/epsilonMemoryPool.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
 
 jint EpsilonHeap::initialize() {
   size_t init_byte_size = _policy->initial_heap_byte_size();
--- a/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Mon Mar 26 16:43:05 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonHeap.hpp	Mon Mar 26 17:27:47 2018 +0200
@@ -25,6 +25,7 @@
 #define SHARE_VM_GC_EPSILON_COLLECTEDHEAP_HPP
 
 #include "gc/shared/collectedHeap.hpp"
+#include "gc/shared/softRefPolicy.hpp"
 #include "gc/shared/space.hpp"
 #include "services/memoryManager.hpp"
 #include "gc/epsilon/epsilonCollectorPolicy.hpp"
--- a/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp	Mon Mar 26 16:43:05 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp	Mon Mar 26 17:27:47 2018 +0200
@@ -22,10 +22,13 @@
  */
 
 #include "precompiled.hpp"
-#include "services/memoryService.hpp"
-#include "gc/shared/generationCounters.hpp"
 #include "gc/epsilon/epsilonMonitoringSupport.hpp"
 #include "gc/epsilon/epsilonHeap.hpp"
+#include "gc/shared/generationCounters.hpp"
+#include "memory/allocation.hpp"
+#include "memory/allocation.inline.hpp"
+#include "memory/resourceArea.hpp"
+#include "services/memoryService.hpp"
 
 class EpsilonSpaceCounters: public CHeapObj<mtGC> {
   friend class VMStructs;
--- a/src/hotspot/share/runtime/commandLineFlagConstraintList.cpp	Mon Mar 26 16:43:05 2018 +0200
+++ b/src/hotspot/share/runtime/commandLineFlagConstraintList.cpp	Mon Mar 26 17:27:47 2018 +0200
@@ -35,6 +35,7 @@
 #include "utilities/macros.hpp"
 #if INCLUDE_ALL_GCS
 #include "gc/g1/g1_globals.hpp"
+#include "gc/epsilon/epsilon_globals.hpp"
 #endif
 #ifdef COMPILER1
 #include "c1/c1_globals.hpp"