hotspot/src/os/linux/vm/os_linux.cpp
changeset 5532 34c4ef11dbed
parent 5413 ec3af2f4d9f9
child 5547 f4b087cbb361
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed May 12 22:06:02 2010 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Mon May 17 11:32:56 2010 -0700
@@ -2788,7 +2788,7 @@
   }
 
   // attach to the region
-  addr = (char*)shmat(shmid, NULL, 0);
+  addr = (char*)shmat(shmid, req_addr, 0);
   int err = errno;
 
   // Remove shmid. If shmat() is successful, the actual shared memory segment