Lines Matching defs:mapAddress
56 char* mapAddress = os::reserve_memory(size);
58 if (mapAddress == NULL) {
63 if (!os::commit_memory(mapAddress, size, !ExecMem)) {
67 os::release_memory(mapAddress, size);
71 return mapAddress;
707 char* mapAddress;
735 mapAddress = (char*)::mmap((char*)0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
742 if (mapAddress == MAP_FAILED) {
755 (void)::memset((void*) mapAddress, 0, size);
758 MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC);
760 return mapAddress;
827 char* mapAddress;
904 mapAddress = (char*)::mmap((char*)0, size, mmap_prot, MAP_SHARED, fd, 0);
911 if (mapAddress == MAP_FAILED) {
920 MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC);
922 *addr = mapAddress;
927 INTPTR_FORMAT "\n", size, vmid, (void*)mapAddress);