<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>52517</bug_id>
          
          <creation_ts>2011-01-15 12:24:55 -0800</creation_ts>
          <short_desc>Only use moving memory model assumption in ExecutableAllocator::intializePageSize() for Symbian OS</short_desc>
          <delta_ts>2011-01-18 14:54:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Daniel Bates">dbates</assigned_to>
          <cc>barraclough</cc>
    
    <cc>dave+webkit</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>334920</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-01-15 12:24:55 -0800</bug_when>
    <thetext>We should strengthen the constraint in ExecutableAllocator::initializePageSize() such that we only use the moving memory model when compiling for Symbian OS on ARMv5 or lower architectures. Currently, we compile code that assumes the moving memory model for all ARMv5 or lower architectures.

As per section Chunk in &lt;http://library.forum.nokia.com/index.jsp?topic=/S60_5th_Edition_Cpp_Developers_Library/GUID-35228542-8C95-4849-A73F-2B4F082F0C44/sdk/doc_source/guide/Base-subsystem-guide/e32/MemoryManagement/MemoryAllocationOverview.guide.html&gt;:

[[
On ARM processors up to and including those that support the ARMv5 architecture, the memory model used by Symbian OS is the moving memory model. To guarantee real-time behaviour using this model, each process is limited to a maximum of 16 chunks....

On ARM processors that support the ARMv6 architecture, the memory model used by Symbian OS is the multiple memory model. Using this model, there is no limit on the number of chunks per process.
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334923</commentid>
    <comment_count>1</comment_count>
      <attachid>79072</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-01-15 12:37:28 -0800</bug_when>
    <thetext>Created attachment 79072
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334925</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-01-15 12:44:34 -0800</bug_when>
    <thetext>Additional remarks:

Prior to changeset 64105 &lt;http://trac.webkit.org/changeset/64105&gt; (bug #43009), the moving memory model code in ExecutableAllocator::initializePageSize() was behind an OS(SYMBIAN) guard when the code was in the file ExecutableAllocatorSymbian.cpp &lt;http://trac.webkit.org/browser/trunk/JavaScriptCore/jit/ExecutableAllocatorSymbian.cpp?rev=64104#L25&gt;. This file was removed in changeset 64105.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336113</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-01-18 14:54:17 -0800</bug_when>
    <thetext>Committed r76068: &lt;http://trac.webkit.org/changeset/76068&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>79072</attachid>
            <date>2011-01-15 12:37:28 -0800</date>
            <delta_ts>2011-01-15 23:47:02 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug52517.patch</filename>
            <type>text/plain</type>
            <size>1627</size>
            <attacher name="Daniel Bates">dbates</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS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="1"
          status="+"
          setter="barraclough"
    />
          </attachment>
      

    </bug>

</bugzilla>