--- a/src/hotspot/share/interpreter/templateTable.cpp Thu Apr 12 11:05:42 2018 +0200
+++ b/src/hotspot/share/interpreter/templateTable.cpp Thu Apr 12 11:22:24 2018 +0200
@@ -23,7 +23,7 @@
*/
#include "precompiled.hpp"
-#include "gc/shared/collectedHeap.hpp"
+#include "gc/shared/barrierSet.hpp"
#include "interpreter/interp_masm.hpp"
#include "interpreter/templateTable.hpp"
#include "runtime/timerTrace.hpp"
@@ -247,7 +247,7 @@
// Initialize table
TraceTime timer("TemplateTable initialization", TRACETIME_LOG(Info, startuptime));
- _bs = Universe::heap()->barrier_set();
+ _bs = BarrierSet::barrier_set();
// For better readability
const char _ = ' ';