Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8192919

Refactor os_posix.cpp to remove non-portable flags

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sangheki Sangheon Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: