FTL should force LLVM to use our own JIT memory allocator.
Created attachment 201888 [details] LLVM patch to expose MCJITMemoryManager callbacks
Created attachment 201889 [details] the patch
Created attachment 201890 [details] LLVM patch to expose MCJITMemoryManager callbacks
Comment on attachment 201889 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=201889&action=review r=me > Source/JavaScriptCore/ftl/FTLCompile.cpp:43 > +static uint8_t *allocateCodeSection( Move the star, please. And below. > Source/JavaScriptCore/ftl/FTLCompile.cpp:54 > + state.graph.m_vm, size, state.graph.m_codeBlock, JITCompilationMustSucceed); Maybe link to the bug here about must succeed.
Created attachment 201909 [details] LLVM patch to expose MCJITMemoryManager callbacks
Created attachment 202207 [details] new patch for LLVM
Created attachment 202208 [details] the patch
Landed in http://trac.webkit.org/changeset/150520