Searched defs:shmid (Results 1 - 3 of 3) sorted by relevance
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | os_bsd.cpp | 3425 int shmid = shmget(key, bytes, SHM_HUGETLB|IPC_CREAT|SHM_R|SHM_W); local 3427 int shmid = shmget(key, bytes, IPC_CREAT|SHM_R|SHM_W); local 3429 if (shmid == -1) { 3452 addr = (char*)shmat(shmid, req_addr, 0); 3455 // Remove shmid. If shmat() is successful, the actual shared memory segment 3459 shmctl(shmid, IPC_RMID, NULL);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | os_linux.cpp | 3346 int shmid = shmget(key, bytes, SHM_HUGETLB|IPC_CREAT|SHM_R|SHM_W); local 3347 if (shmid == -1) { 3370 addr = (char*)shmat(shmid, req_addr, 0); 3373 // Remove shmid. If shmat() is successful, the actual shared memory segment 3377 shmctl(shmid, IPC_RMID, NULL);
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.cpp | 3514 int shmid; local 3528 shmid = shmget(ismKey, size, SHM_R | SHM_W | IPC_CREAT); 3529 if (shmid == -1){ 3538 retAddr = (char *) shmat(shmid, 0, SHM_SHARE_MMU | SHM_R | SHM_W); 3541 // Remove shmid. If shmat() is successful, the actual shared memory segment 3545 shmctl(shmid, IPC_RMID, NULL);
|
Completed in 127 milliseconds