POSIX map_memory_to_file calls release_memory incorrectly

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 23
    • Component/s: hotspot

      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.

            Assignee:
            Johan Sjölen
            Reporter:
            Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: