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

Refactor os_posix.cpp to remove non-portable flags

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 10
    • 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

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

              Created:
              Updated: