Changeset 86523 in webkit


Ignore:
Timestamp:
May 15, 2011 10:10:02 PM (13 years ago)
Author:
ggaren@apple.com
Message:

2011-05-15 Geoffrey Garen <ggaren@apple.com>

Reviewed by Gavin Barraclough.

https://bugs.webkit.org/show_bug.cgi?id=59699
Global object is recreated on teardown, for no good reason


(Another partial fix for <rdar://problem/9417875> REGRESSION: SunSpider
~7% slower in browser than on command line (was 17%))


I'm basically rolling out http://trac.webkit.org/changeset/49786 because

(a) it created this performance problem


and


(b) a more complete fix, which obsoletes http://trac.webkit.org/changeset/49786,
was committed in http://trac.webkit.org/changeset/53439.


Tested with the file attached to https://bugs.webkit.org/show_bug.cgi?id=29832.

  • page/Frame.cpp: (WebCore::Frame::~Frame): Don't create a new window every time we destroy a frame.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86521 r86523  
     12011-05-15  Geoffrey Garen  <ggaren@apple.com>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=59699
     6        Global object is recreated on teardown, for no good reason
     7       
     8        (Another partial fix for <rdar://problem/9417875> REGRESSION: SunSpider
     9        ~7% slower in browser than on command line (was 17%))
     10       
     11        I'm basically rolling out http://trac.webkit.org/changeset/49786 because
     12
     13        (a) it created this performance problem
     14       
     15        and
     16       
     17        (b) a more complete fix, which obsoletes http://trac.webkit.org/changeset/49786,
     18        was committed in http://trac.webkit.org/changeset/53439.
     19       
     20        Tested with the file attached to https://bugs.webkit.org/show_bug.cgi?id=29832.
     21
     22        * page/Frame.cpp:
     23        (WebCore::Frame::~Frame): Don't create a new window every time we destroy
     24        a frame.
     25
    1262011-05-12  MORITA Hajime  <morrita@google.com>
    227
  • trunk/Source/WebCore/page/Frame.cpp

    r86047 r86523  
    231231#endif
    232232
    233     script()->clearWindowShell();
    234 
    235233    HashSet<DOMWindow*>::iterator end = m_liveFormerWindows.end();
    236234    for (HashSet<DOMWindow*>::iterator it = m_liveFormerWindows.begin(); it != end; ++it)
Note: See TracChangeset for help on using the changeset viewer.