diff -r ceece07bef14 -r 3ca57ef4f132 hotspot/src/os/windows/vm/os_windows.cpp --- a/hotspot/src/os/windows/vm/os_windows.cpp Wed Dec 03 20:40:00 2014 +0000 +++ b/hotspot/src/os/windows/vm/os_windows.cpp Wed Dec 03 17:12:25 2014 +0100 @@ -3087,7 +3087,7 @@ char* os::pd_reserve_memory(size_t bytes, char* addr, size_t alignment_hint) { assert((size_t)addr % os::vm_allocation_granularity() == 0, "reserve alignment"); - assert(bytes % os::vm_allocation_granularity() == 0, "reserve block size"); + assert(bytes % os::vm_page_size() == 0, "reserve page size"); char* res; // note that if UseLargePages is on, all the areas that require interleaving // will go thru reserve_memory_special rather than thru here.