< prev index next >

os/windows/os_windows.cpp

Print this page
rev 1 : G1GC+POGC+NVDIMM Patch with latest comments incorporated from all.

*** 2982,2992 **** } return fd; } // If 'base' is not NULL, function will return NULL if it cannot get 'base' ! char* os::map_memory_to_file(char* base, size_t size, int fd) { assert(fd != -1, "File descriptor is not valid"); HANDLE fh = (HANDLE)_get_osfhandle(fd); #ifdef _LP64 HANDLE fileMapping = CreateFileMapping(fh, NULL, PAGE_READWRITE, --- 2982,2992 ---- } return fd; } // If 'base' is not NULL, function will return NULL if it cannot get 'base' ! char* os::map_memory_to_file(char* base, size_t size, int fd, int offset, bool exec, bool allocate) { assert(fd != -1, "File descriptor is not valid"); HANDLE fh = (HANDLE)_get_osfhandle(fd); #ifdef _LP64 HANDLE fileMapping = CreateFileMapping(fh, NULL, PAGE_READWRITE,
< prev index next >