[Webkit-unassigned] [Bug 118733] Javascript JIT still allocates 2GB of memory on x86-64 Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 08:48:11 PDT 2013


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


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206778|                            |review-
               Flag|                            |




--- Comment #1 from Oliver Hunt <oliver at apple.com>  2013-07-16 08:48:21 PST ---
(From update of attachment 206778)
View in context: https://bugs.webkit.org/attachment.cgi?id=206778&action=review

> b/src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:44
> -#ifdef QT_USE_ONEGB_VMALLOCATOR
> -    #define VM_POOL_SIZE (1024u * 1024u * 1024u) // 1Gb
> -#else
> -    #define VM_POOL_SIZE (2u * 1024u * 1024u * 1024u) // 2Gb
> -#endif
> +    // On x86-64, where we require all jumps to have a 2Gb max range we'll use
> +    // MAP_32BIT
> +    #define VM_POOL_SIZE (32u * 1024u * 1024u) // 32Mb

Nope, we aren't taking a 32Mb JIT segment on 64 bit, also this leads to an incorrect comment.

The comment also becomes wrong

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list