6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
This commit is contained in:
parent
05d1de7727
commit
48d4a43c2a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user