[Webkit-unassigned] [Bug 33138] New: ExecutableAllocatorSymbian appears to have buggy ARM version check

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 4 01:19:05 PST 2010


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

           Summary: ExecutableAllocatorSymbian appears to have buggy ARM
                    version check
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: S60 3rd edition
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mjs at apple.com


ExecutableAllocatorSymbian has this code:

#if PLATFORM_ARM_ARCH(5)
    // The moving memory model (as used in ARMv5 and earlier platforms)         
    // on Symbian OS limits the number of chunks for each process to 16.        
    // To mitigate this limitation increase the pagesize to                     
    // allocate less of larger chunks.                                          
    ExecutableAllocator::pageSize = MOVING_MEM_PAGE_SIZE;
#else
    TInt page_size;
    UserHal::PageSizeInBytes(page_size);
    ExecutableAllocator::pageSize = page_size;
#endif

But PLATFORM_ARM_ARCH(5) checks for ARM achitecture greater than or equal to 5,
not less than or equal to 5. I believe what is intended is this:

#if PLATFORM_ARM_ARCH(6)
    TInt page_size;
    UserHal::PageSizeInBytes(page_size);
    ExecutableAllocator::pageSize = page_size;
#else
    // The moving memory model (as used in ARMv5 and earlier platforms)         
    // on Symbian OS limits the number of chunks for each process to 16.        
    // To mitigate this limitation increase the pagesize to                     
    // allocate less of larger chunks.                                          
    ExecutableAllocator::pageSize = MOVING_MEM_PAGE_SIZE;
#endif

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