--- 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"