--- 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>(),