investigate mapping the code cache with large pages on linux

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P5
    • None
    • Affects Version/s: hs11
    • Component/s: hotspot
    • None
    • generic
    • generic

      On linux the code cache cannot be mapped using large pages because linux shared memory does not allow executable permissions to be set. From the shmget man page:

             ...
             mode_flags (lowest 9 bits)
                         specifying the permissions granted to the owner, group,
                         and world. Presently, the execute permissions are not
                         used by the system.

      If/when linux shared mem supports execute permission, or if/when linux gets another method of obtaining large page memory, the JVM should map the code cache with large pages.

            Assignee:
            Unassigned
            Reporter:
            John Coomes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: