--- a/src/hotspot/cpu/aarch64/aarch64.ad Thu Apr 12 11:05:42 2018 +0200
+++ b/src/hotspot/cpu/aarch64/aarch64.ad Thu Apr 12 11:22:24 2018 +0200
@@ -5847,8 +5847,8 @@
operand immByteMapBase()
%{
// Get base of card map
- predicate(Universe::heap()->barrier_set()->is_a(BarrierSet::CardTableBarrierSet) &&
- (jbyte*)n->get_ptr() == ((CardTableBarrierSet*)(Universe::heap()->barrier_set()))->card_table()->byte_map_base());
+ predicate(BarrierSet::barrier_set()->is_a(BarrierSet::CardTableBarrierSet) &&
+ (jbyte*)n->get_ptr() == ((CardTableBarrierSet*)(BarrierSet::barrier_set()))->card_table()->byte_map_base());
match(ConP);
op_cost(0);