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

os_bsd.cpp contains code for UseSHM and UseHugeTLBFS

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • hs25
    • 12
    • hotspot
    • b18

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: