mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Some polishing
This commit is contained in:
parent
748fdccebf
commit
db78bed37c
@ -111,7 +111,7 @@ void CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier(MacroAssembl
|
||||
__ shrptr(end, CardTable::card_shift());
|
||||
__ subptr(end, addr); // end --> cards count
|
||||
|
||||
__ mov64(tmp, (intptr_t) ctbs->card_table_base_const());
|
||||
__ mov64(tmp, (intptr_t)ctbs->card_table_base_const());
|
||||
__ addptr(addr, tmp);
|
||||
__ BIND(L_loop);
|
||||
__ movb(Address(addr, count, Address::times_1), 0);
|
||||
|
||||
@ -44,7 +44,7 @@ void JavaThread::cache_global_variables() {
|
||||
|
||||
if (bs->is_a(BarrierSet::CardTableBarrierSet)) {
|
||||
CardTableBarrierSet* ctbs = CardTableBarrierSet::barrier_set();
|
||||
_card_table_base = (address) ctbs->card_table_base_const();
|
||||
_card_table_base = (address)ctbs->card_table_base_const();
|
||||
} else {
|
||||
_card_table_base = nullptr;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user