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

Use MAP_JIT when allocating pages for code cache on macOS

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • OS:
      os_x

      Description

      According to Apple documentation (e.g. https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-jit ) the MAP_JIT flag should be used when mmap:ing memory for JIT compilers. We should investigate if that flag can and should be used for the code cache.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              akozlov Anton Kozlov
              Reporter:
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: