Fix Zero build failures epsilon-gc-branch
authorshade
Thu, 03 May 2018 22:30:08 +0200
branchepsilon-gc-branch
changeset 56516 ad37b6a5cd76
parent 56510 54c1aa06c1d8
child 56533 28a4f284ad83
Fix Zero build failures
src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp
--- a/src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp	Thu May 03 11:59:58 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp	Thu May 03 22:30:08 2018 +0200
@@ -22,12 +22,15 @@
  */
 
 #include "precompiled.hpp"
-#include "gc/shared/collectorPolicy.hpp"
-#include "gc/shared/barrierSetAssembler.hpp"
-#include "gc/shared/c1/barrierSetC1.hpp"
-#include "gc/shared/barrierSet.hpp"
+#include "runtime/thread.hpp"
 #include "gc/epsilon/epsilonBarrierSet.hpp"
 #include "gc/epsilon/epsilonThreadLocalData.hpp"
+#include "gc/shared/collectorPolicy.hpp"
+#include "gc/shared/barrierSet.hpp"
+#include "gc/shared/barrierSetAssembler.hpp"
+#ifdef COMPILER1
+#include "gc/shared/c1/barrierSetC1.hpp"
+#endif
 
 EpsilonBarrierSet::EpsilonBarrierSet() : BarrierSet(
           make_barrier_set_assembler<BarrierSetAssembler>(),