Lines Matching defs:mapAddress
58 char* mapAddress = os::reserve_memory(size);
60 if (mapAddress == NULL) {
65 if (!os::commit_memory(mapAddress, size, !ExecMem)) {
69 os::release_memory(mapAddress, size);
73 return mapAddress;
722 char* mapAddress;
750 mapAddress = (char*)::mmap((char*)0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
757 if (mapAddress == MAP_FAILED) {
770 (void)::memset((void*) mapAddress, 0, size);
773 MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC);
775 return mapAddress;
842 char* mapAddress;
919 mapAddress = (char*)::mmap((char*)0, size, mmap_prot, MAP_SHARED, fd, 0);
926 if (mapAddress == MAP_FAILED) {
935 MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC);
937 *addr = mapAddress;
942 INTPTR_FORMAT "\n", size, vmid, (void*)mapAddress);