[Webkit-unassigned] [Bug 258409] New: Skip JIT memory allocation in ExecutableAllocator::disableJIT() when running on an open source XNU.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 22 11:09:31 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258409

            Bug ID: 258409
           Summary: Skip JIT memory allocation in
                    ExecutableAllocator::disableJIT() when running on an
                    open source XNU.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

The open source XNU does not support special handling of JIT memory.  However, macOS Safari and WebKit binaries still need to be able to run on the open source XNU, albeit without JIT.

However, ExecutableAllocator::disableJIT() is still trying to allocated JIT memory if the JIT entitlement is present (which is defined by the WebKit binary, not the kernel), and currently, will assert that the allocation succeeds.  We need to skip this allocation and assertion when running on open source XNU because the allocation is not necessary, and the assertion is invalid for the open source kernel and will fail every time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230622/5c8a3d21/attachment.htm>


More information about the webkit-unassigned mailing list