hotspot/src/os/windows/vm/os_windows.cpp
changeset 2254 f13dda645a4b
parent 2012 041fbc6030dd
child 2259 d3c946e7f127
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Wed Mar 11 14:16:13 2009 -0700
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Thu Mar 12 10:37:46 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);