8189101: AARCH32 - 'minimal' build fails because CMS bits are referred unconditionally
authordpochepk
Wed, 11 Apr 2018 20:56:56 +0300
changeset 49749 bebec5011846
parent 49748 6a880e576856
child 49750 bdcfe8154201
8189101: AARCH32 - 'minimal' build fails because CMS bits are referred unconditionally Reviewed-by: shade, dholmes Contributed-by: boris.ulasevich@bell-sw.com
src/hotspot/cpu/arm/c1_LIRGenerator_arm.cpp
src/hotspot/cpu/arm/interp_masm_arm.cpp
--- a/src/hotspot/cpu/arm/c1_LIRGenerator_arm.cpp	Wed Apr 11 16:07:42 2018 +0200
+++ b/src/hotspot/cpu/arm/c1_LIRGenerator_arm.cpp	Wed Apr 11 20:56:56 2018 +0300
@@ -533,9 +533,11 @@
     set_card(tmp, card_addr);
     __ branch_destination(L_already_dirty->label());
   } else {
+#if INCLUDE_ALL_GCS
     if (UseConcMarkSweepGC && CMSPrecleaningEnabled) {
       __ membar_storestore();
     }
+#endif
     set_card(tmp, card_addr);
   }
 }
--- a/src/hotspot/cpu/arm/interp_masm_arm.cpp	Wed Apr 11 16:07:42 2018 +0200
+++ b/src/hotspot/cpu/arm/interp_masm_arm.cpp	Wed Apr 11 20:56:56 2018 +0300
@@ -450,9 +450,11 @@
 #endif
 
   if (UseCondCardMark) {
+#if INCLUDE_ALL_GCS
     if (UseConcMarkSweepGC) {
       membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreLoad), noreg);
     }
+#endif
     Label already_dirty;
 
     ldrb(tmp, card_table_addr);
@@ -462,9 +464,11 @@
     bind(already_dirty);
 
   } else {
+#if INCLUDE_ALL_GCS
     if (UseConcMarkSweepGC && CMSPrecleaningEnabled) {
       membar(MacroAssembler::Membar_mask_bits(MacroAssembler::StoreStore), noreg);
     }
+#endif
     set_card(card_table_base, card_table_addr, tmp);
   }
 }