Sun, 01 Mar 2009 20:49:46 -0800
6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
src/cpu/x86/vm/assembler_x86.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cpu/x86/vm/assembler_x86.cpp Fri Feb 27 13:27:09 2009 -0800 1.2 +++ b/src/cpu/x86/vm/assembler_x86.cpp Sun Mar 01 20:49:46 2009 -0800 1.3 @@ -6463,7 +6463,8 @@ 1.4 Address index(noreg, tmp, Address::times_1); 1.5 ExternalAddress page(os::get_memory_serialize_page()); 1.6 1.7 - movptr(ArrayAddress(page, index), tmp); 1.8 + // Size of store must match masking code above 1.9 + movl(as_Address(ArrayAddress(page, index)), tmp); 1.10 } 1.11 1.12 // Calls to C land