Refactor os_posix.cpp to remove non-portable flags

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 10
    • Component/s: hotspot
    • None
    • gc

      JDK-8190308 introduced a function using MAP_NORESERVE flag on mmap(). But this is not specified in POSIX[1]. So move this flag out of os_posix.cpp.

      In addition, move MAP_ANONYMOUS as well since this is also not specified.

      Currently AIX is the only OS reporting this problem.

      [1]: http://pubs.opengroup.org/onlinepubs/009695399/functions/mmap.html

            Assignee:
            Unassigned
            Reporter:
            Sangheon Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: