The POSIX implementation of the function os::map_memory_to_file incorrectly calls os::release_memory if a mapping fails. If NMT is turned on then this will lead to the JVM crashing, as the region was not previously reserved.
- links to
-
Review(master) openjdk/jdk/17669