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

os_bsd.cpp contains code for UseSHM and UseHugeTLBFS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • hs25
    • hotspot
    • b18

      There's unused and untested large pages code in os_bsd.cpp, which was copied over from os_linux.cpp. It's not used because large pages is not supported on BSD. See arguments.cpp:
      #ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD.
        UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages");
      #endif

      Since this code is not used or tested we should probably remove it.

            gziemski Gerard Ziemski
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: