8189101: AARCH32 - 'minimal' build fails because CMS bits are referred unconditionally
Reviewed-by: shade, dholmes
This commit is contained in:
parent
2a0986b882
commit
c130c8137f
@ -533,9 +533,11 @@ void LIRGenerator::CardTableBarrierSet_post_barrier_helper(LIR_OprDesc* addr, LI
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
@ -450,9 +450,11 @@ void InterpreterMacroAssembler::store_check_part2(Register obj, Register card_ta
|
||||
#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 @@ void InterpreterMacroAssembler::store_check_part2(Register obj, Register card_ta
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user