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

os_bsd.cpp contains code for UseSHM and UseHugeTLBFS

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: