# HG changeset patch # User mdoerr # Date 1519728304 -3600 # Node ID f047fae0169cbd87c6348f578444785bffbc0018 # Parent 6ecca4a9c75fdfc94ee76bdc068b1f456e6fcfc6 8198750: [s390+x86_32+aarch64] Fix build after jdk-8195142 Reviewed-by: stuefe, shade diff -r 6ecca4a9c75f -r f047fae0169c src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp --- a/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp Mon Feb 26 16:33:48 2018 +0100 +++ b/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp Tue Feb 27 11:45:04 2018 +0100 @@ -4514,7 +4514,7 @@ void MacroAssembler::load_byte_map_base(Register reg) { jbyte *byte_map_base = - ((CardTableModRefBS*)(Universe::heap()->barrier_set()))->byte_map_base; + ((CardTableModRefBS*)(Universe::heap()->barrier_set()))->card_table()->byte_map_base(); if (is_valid_AArch64_address((address)byte_map_base)) { // Strictly speaking the byte_map_base isn't an address at all, diff -r 6ecca4a9c75f -r f047fae0169c src/hotspot/cpu/s390/macroAssembler_s390.cpp --- a/src/hotspot/cpu/s390/macroAssembler_s390.cpp Mon Feb 26 16:33:48 2018 +0100 +++ b/src/hotspot/cpu/s390/macroAssembler_s390.cpp Tue Feb 27 11:45:04 2018 +0100 @@ -3710,7 +3710,7 @@ assert_different_registers(Rstore_addr, Rnew_val, Rtmp1, Rtmp2); // Most probably, Rnew_val == Rtmp3. G1SATBCardTableModRefBS* bs = (G1SATBCardTableModRefBS*) Universe::heap()->barrier_set(); - G1CardTable* ct = bs->card_table(); + CardTable* ct = bs->card_table(); assert(bs->kind() == BarrierSet::G1SATBCTLogging, "wrong barrier"); BLOCK_COMMENT("g1_write_barrier_post {"); @@ -3750,8 +3750,8 @@ Rbase = noreg; // end of lifetime // Filter young. - assert((unsigned int)G1SATBCardTableModRefBS::g1_young_card_val() <= 255, "otherwise check this code"); - z_cli(0, Rcard_addr, (int)G1SATBCardTableModRefBS::g1_young_card_val()); + assert((unsigned int)G1CardTable::g1_young_card_val() <= 255, "otherwise check this code"); + z_cli(0, Rcard_addr, (int)G1CardTable::g1_young_card_val()); z_bre(filtered); // Check the card value. If dirty, we're done. diff -r 6ecca4a9c75f -r f047fae0169c src/hotspot/cpu/x86/stubGenerator_x86_32.cpp --- a/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp Mon Feb 26 16:33:48 2018 +0100 +++ b/src/hotspot/cpu/x86/stubGenerator_x86_32.cpp Tue Feb 27 11:45:04 2018 +0100 @@ -706,6 +706,7 @@ __ bind(filtered); } break; +#endif // INCLUDE_ALL_GCS case BarrierSet::CardTableModRef: break; default :