hotspot/src/os/windows/vm/os_windows.cpp
changeset 2259 d3c946e7f127
parent 2105 347008ce7984
parent 2254 f13dda645a4b
child 2268 bea8be80ec88
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Wed Mar 18 11:37:48 2009 -0400
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Thu Mar 19 09:13:24 2009 -0700
@@ -2595,7 +2595,7 @@
   return true;
 }
 
-char* os::reserve_memory_special(size_t bytes) {
+char* os::reserve_memory_special(size_t bytes, char* addr) {
 
   if (UseLargePagesIndividualAllocation) {
     if (TracePageSizes && Verbose) {
@@ -2615,7 +2615,7 @@
         "use -XX:-UseLargePagesIndividualAllocation to turn off");
       return NULL;
     }
-    p_buf = (char *) VirtualAlloc(NULL,
+    p_buf = (char *) VirtualAlloc(addr,
                                  size_of_reserve,  // size of Reserve
                                  MEM_RESERVE,
                                  PAGE_EXECUTE_READWRITE);