changeset 49172:f047fae0169c

8198750: [s390+x86_32+aarch64] Fix build after jdk-8195142 Reviewed-by: stuefe, shade
author mdoerr
date Tue, 27 Feb 2018 11:45:04 +0100
parents 6ecca4a9c75f
children cf4562e8a3f9
files src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp src/hotspot/cpu/s390/macroAssembler_s390.cpp src/hotspot/cpu/x86/stubGenerator_x86_32.cpp
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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.
--- 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      :