Ignore:
Timestamp:
Dec 7, 2008, 3:55:04 PM (16 years ago)
Author:
[email protected]
Message:

<rdar://problem/6309878> Need more granular control over allocation of executable memory (21783)
<https://bugs.webkit.org/show_bug.cgi?id=21783>

Reviewed by Cameron Zwarich and Sam Weinig

Add a new allocator for use by the JIT that provides executable pages, so
we can get rid of the current hack that makes the entire heap executable.

1-2% progression on SunSpider-v8, 1% on SunSpider. Reduces memory usage as well!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecode/CodeBlock.h

    r39072 r39083  
    240240        void setJITCode(void* jitCode) { m_jitCode = jitCode; }
    241241        void* jitCode() { return m_jitCode; }
     242        ExecutablePool* executablePool() { return m_executablePool.get(); }
     243        void setExecutablePool(ExecutablePool* pool) { m_executablePool = pool; }
    242244#endif
    243245
     
    354356#if ENABLE(JIT)
    355357        void* m_jitCode;
     358        RefPtr<ExecutablePool> m_executablePool;
    356359#endif
    357360
Note: See TracChangeset for help on using the changeset viewer.