<?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>31943</bug_id>
          
          <creation_ts>2009-11-27 16:07:20 -0800</creation_ts>
          <short_desc>Apply workaround for the limitation of VirtualFree with MEM_RELEASE to all ports running on Windows</short_desc>
          <delta_ts>2009-11-30 06:45:15 -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>PC</rep_platform>
          <op_sys>All</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="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>hausmann</cc>
    
    <cc>sfalken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166975</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-11-27 16:07:20 -0800</bug_when>
    <thetext>This patch is related to commit r47159 (http://trac.webkit.org/changeset/47159). 

On windows we cannot release a part of a region with VirtualFree.  To get around this we&apos;ll release the entire region and reallocate the size that we want. 

This needs to be done for all ports running on Windows (Gtk, Qt, Wx, etc) not just for PLATFORM(WIN). PLATFORM(WIN) guard should be changed to PLATFORM(WIN_OS).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166976</commentid>
    <comment_count>1</comment_count>
      <attachid>43974</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-11-27 16:10:06 -0800</bug_when>
    <thetext>Created attachment 43974
proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167035</commentid>
    <comment_count>2</comment_count>
      <attachid>43974</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-11-28 09:46:41 -0800</bug_when>
    <thetext>Comment on attachment 43974
proposed patch.

Looks OK to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167048</commentid>
    <comment_count>3</comment_count>
      <attachid>43974</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-28 13:48:26 -0800</bug_when>
    <thetext>Comment on attachment 43974
proposed patch.

Clearing flags on attachment: 43974

Committed r51461: &lt;http://trac.webkit.org/changeset/51461&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167049</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-28 13:48:32 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167200</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-30 00:59:23 -0800</bug_when>
    <thetext>Cherry-picked into QtWebKit 4.6 maintenance branch as 205da189165ea7ba9940bb3bf183b856ce0be874</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167230</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-11-30 06:45:15 -0800</bug_when>
    <thetext>I wonder if HAVE(VIRTUALALLOC) would be more appropriate?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43974</attachid>
            <date>2009-11-27 16:10:06 -0800</date>
            <delta_ts>2009-11-28 13:48:25 -0800</delta_ts>
            <desc>proposed patch.</desc>
            <filename>31943.patch</filename>
            <type>text/plain</type>
            <size>1362</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDUxNDUxKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMTEtMjcgIExhc3psbyBH
b21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9raWEuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEFwcGx5IHdvcmthcm91bmQgZm9yIHRoZSBsaW1p
dGF0aW9uIG9mIFZpcnR1YWxGcmVlIHdpdGggTUVNX1JFTEVBU0UgdG8gYWxsIHBvcnRzIHJ1bm5p
bmcgb24gV2luZG93cworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9MzE5NDMKKworICAgICAgICAqIHJ1bnRpbWUvTWFya1N0YWNrLmg6CisgICAgICAgIChK
U0M6Ok1hcmtTdGFjazo6TWFya1N0YWNrQXJyYXk6OnNocmlua0FsbG9jYXRpb24pOgorCiAyMDA5
LTExLTI1ICBPbGl2ZXIgSHVudCAgPG9saXZlckBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3
ZWQgYnkgR2F2aW4gQmFycmFjbG91Z2guCkluZGV4OiBKYXZhU2NyaXB0Q29yZS9ydW50aW1lL01h
cmtTdGFjay5oCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT0KLS0tIEphdmFTY3JpcHRDb3JlL3J1bnRpbWUvTWFya1N0YWNr
LmgJKHJldmlzaW9uIDUxNDUwKQorKysgSmF2YVNjcmlwdENvcmUvcnVudGltZS9NYXJrU3RhY2su
aAkod29ya2luZyBjb3B5KQpAQCAtMTUzLDcgKzE1Myw3IEBAIG5hbWVzcGFjZSBKU0MgewogICAg
ICAgICAgICAgICAgIEFTU0VSVCgwID09IChzaXplICUgTWFya1N0YWNrOjpwYWdlU2l6ZSgpKSk7
CiAgICAgICAgICAgICAgICAgaWYgKHNpemUgPT0gbV9hbGxvY2F0ZWQpCiAgICAgICAgICAgICAg
ICAgICAgIHJldHVybjsKLSNpZiBQTEFURk9STShXSU4pIHx8IFBMQVRGT1JNKFNZTUJJQU4pCisj
aWYgUExBVEZPUk0oV0lOX09TKSB8fCBQTEFURk9STShTWU1CSUFOKQogICAgICAgICAgICAgICAg
IC8vIFdlIGNhbm5vdCByZWxlYXNlIGEgcGFydCBvZiBhIHJlZ2lvbiB3aXRoIFZpcnR1YWxGcmVl
LiAgVG8gZ2V0IGFyb3VuZCB0aGlzLAogICAgICAgICAgICAgICAgIC8vIHdlJ2xsIHJlbGVhc2Ug
dGhlIGVudGlyZSByZWdpb24gYW5kIHJlYWxsb2NhdGUgdGhlIHNpemUgdGhhdCB3ZSB3YW50Lgog
ICAgICAgICAgICAgICAgIHJlbGVhc2VTdGFjayhtX2RhdGEsIG1fYWxsb2NhdGVkKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>