--- old/src/hotspot/cpu/x86/gc/g1/g1BarrierSetAssembler_x86.cpp 2018-04-12 10:20:21.463989225 +0200 +++ new/src/hotspot/cpu/x86/gc/g1/g1BarrierSetAssembler_x86.cpp 2018-04-12 10:20:21.261980500 +0200 @@ -29,7 +29,6 @@ #include "gc/g1/g1CardTable.hpp" #include "gc/g1/g1ThreadLocalData.hpp" #include "gc/g1/heapRegion.hpp" -#include "gc/shared/collectedHeap.hpp" #include "interpreter/interp_masm.hpp" #include "runtime/sharedRuntime.hpp" #include "utilities/macros.hpp" @@ -267,7 +266,7 @@ Address buffer(thread, in_bytes(G1ThreadLocalData::dirty_card_queue_buffer_offset())); CardTableBarrierSet* ct = - barrier_set_cast(Universe::heap()->barrier_set()); + barrier_set_cast(BarrierSet::barrier_set()); assert(sizeof(*ct->card_table()->byte_map_base()) == sizeof(jbyte), "adjust this code"); Label done;