Mercurial > hg > truffle
diff src/cpu/x86/vm/assembler_x86.cpp @ 606:19962e74284f
6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
author | never |
---|---|
date | Sun, 01 Mar 2009 20:49:46 -0800 |
parents | 52a431267315 |
children | 56aae7be60d4 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.cpp Fri Feb 27 13:27:09 2009 -0800 +++ b/src/cpu/x86/vm/assembler_x86.cpp Sun Mar 01 20:49:46 2009 -0800 @@ -6463,7 +6463,8 @@ 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