1.1 --- a/src/os/windows/vm/os_windows.cpp Wed Mar 18 11:37:48 2009 -0400 1.2 +++ b/src/os/windows/vm/os_windows.cpp Thu Mar 19 09:13:24 2009 -0700 1.3 @@ -2595,7 +2595,7 @@ 1.4 return true; 1.5 } 1.6 1.7 -char* os::reserve_memory_special(size_t bytes) { 1.8 +char* os::reserve_memory_special(size_t bytes, char* addr) { 1.9 1.10 if (UseLargePagesIndividualAllocation) { 1.11 if (TracePageSizes && Verbose) { 1.12 @@ -2615,7 +2615,7 @@ 1.13 "use -XX:-UseLargePagesIndividualAllocation to turn off"); 1.14 return NULL; 1.15 } 1.16 - p_buf = (char *) VirtualAlloc(NULL, 1.17 + p_buf = (char *) VirtualAlloc(addr, 1.18 size_of_reserve, // size of Reserve 1.19 MEM_RESERVE, 1.20 PAGE_EXECUTE_READWRITE);