Bug 142749

Summary: Windows X86-64 should use the fixed executable allocator
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, commit-queue
Priority: P2 Keywords: InRadar
Version: 312.x   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
msaboff: review-
Updated patch none

Description Michael Saboff 2015-03-16 14:45:32 PDT
Windows currently uses the demand based executable allocator.  Using the demand based allocator can result in executable memory in various parts of the address space.  Currently, the JSC JITs expect that all JIT'ed addresses is within a 32 bit offset of each other.  The demand executable allocator cannot provide such a guarantee, therefore Windows X86-64 should use the fixed allocator like the rest of the X86-64 platforms.

<rdar://problem/19804738>
Comment 1 Michael Saboff 2015-03-16 14:47:33 PDT
Created attachment 248750 [details]
Patch
Comment 2 Michael Saboff 2015-03-16 14:55:10 PDT
Looks like the Windows implementation of the fixed allocator is not complete.  More work to do.
Comment 3 Michael Saboff 2015-03-16 19:09:19 PDT
Created attachment 248780 [details]
Updated patch
Comment 4 WebKit Commit Bot 2015-03-17 02:34:05 PDT
Comment on attachment 248780 [details]
Updated patch

Clearing flags on attachment: 248780

Committed r181628: <http://trac.webkit.org/changeset/181628>
Comment 5 WebKit Commit Bot 2015-03-17 02:34:10 PDT
All reviewed patches have been landed.  Closing bug.