[Webkit-unassigned] [Bug 129370] New: FastMalloc should use vm_page_shift intead of PAGE_SHIFT.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 26 06:58:28 PST 2014


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

           Summary: FastMalloc should use vm_page_shift intead of
                    PAGE_SHIFT.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


Previously we used PAGE_SHIFT to initialize kPageShift. Since this was a constant, it could be used to calculate other contants used in the code. Some of these values are used in the definition of certain data structures (specifiying the length of some array members).

Make kPageShift & dependent properties variables setup during initialization. Add upper bound values (K_PAGE_SHIFT_MAX, K_NUM_CLASSES_MAX) for use in cases where we need a constant.

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