6811384: MacroAssembler::serialize_memory may touch next page on amd64

Reviewed-by: kvn, phh, twisti
This commit is contained in:
Tom Rodriguez 2009-03-01 20:49:46 -08:00
parent 05d1de7727
commit 48d4a43c2a

View File

@ -6463,7 +6463,8 @@ void MacroAssembler::serialize_memory(Register thread, Register tmp) {
Address index(noreg, tmp, Address::times_1);
ExternalAddress page(os::get_memory_serialize_page());
movptr(ArrayAddress(page, index), tmp);
// Size of store must match masking code above
movl(as_Address(ArrayAddress(page, index)), tmp);
}
// Calls to C land