Mercurial > hg > release > icedtea7-forest-2.3 > hotspot
changeset 1387:a393ff93e7e5 icedtea7-1.13
6951686: Using large pages on Linux prevents zero based compressed oops
Summary: Use req_addr when attaching shared memory segment.
Reviewed-by: twisti
author | kvn |
---|---|
date | Mon, 17 May 2010 11:32:56 -0700 |
parents | f90324c8eb8c |
children | 4e4a12de9349 |
files | src/os/linux/vm/os_linux.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Wed May 12 03:49:52 2010 -0700 +++ b/src/os/linux/vm/os_linux.cpp Mon May 17 11:32:56 2010 -0700 @@ -2784,7 +2784,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