The implementation of the function os::map_memory_to_file calls os::release_memory if a mmap:ing to a fixed location succeeds but is not at the requested location. A POSIX implementation of mmap is not allowed to succeed and return a different base address if `MAP_FIXED` is supplied, so this is dead code.
- links to
-
Review(master)
openjdk/jdk/17669
-
Review(master)
openjdk/jdk/29081