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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 07:44:55 PDT 2013


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

           Summary: Javascript JIT still allocates 2GB of memory on x86-64
                    Linux
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: edwin+webkit at etorok.net


Created an attachment (id=206778)
 --> (https://bugs.webkit.org/attachment.cgi?id=206778&action=review)
Use MAP_32BIT

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712387 for the original bugreport.

Currently the javascript JIT allocates 2GB on x86-64, to ensure that all jumps are within a 2GB range.
This causes problems without overcommit (or without a swapfile), even on a machine with 8GB of physical RAM.

Attached is a patch that uses MAP_32BIT, instead of the wasteful allocation of 2GB.

-- 
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