--- old/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp 2018-04-12 10:20:17.353811706 +0200 +++ new/src/hotspot/cpu/s390/c1_Runtime1_s390.cpp 2018-04-12 10:20:17.150802938 +0200 @@ -768,7 +768,7 @@ case g1_pre_barrier_slow_id: { // Z_R1_scratch: previous value of memory - BarrierSet* bs = Universe::heap()->barrier_set(); + BarrierSet* bs = BarrierSet::barrier_set(); if (bs->kind() != BarrierSet::G1BarrierSet) { __ should_not_reach_here(FILE_AND_LINE); break; @@ -831,7 +831,7 @@ case g1_post_barrier_slow_id: { // Z_R1_scratch: oop address, address of updated memory slot - BarrierSet* bs = Universe::heap()->barrier_set(); + BarrierSet* bs = BarrierSet::barrier_set(); if (bs->kind() != BarrierSet::G1BarrierSet) { __ should_not_reach_here(FILE_AND_LINE); break;