[Webkit-unassigned] [Bug 85450] New: unbounded growth of JSDOMWindowShells loading pages in the same window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 20:16:56 PDT 2012


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

           Summary: unbounded growth of JSDOMWindowShells loading pages in
                    the same window
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: slewis at apple.com


We have unbounded growth of JSDOMWindowShells loading pages in the same window.  This is regression from http://trac.webkit.org/changeset/115081.
The API didCreateGlobalObjectForFrame was getting a global object for every isolated world.  Even one's that didn't need to access it.  This had the side effect of creating a JSDOMWindowShell that the world may not have known to clean up.  

Solution: change the API to not create and pass around the globalObject, just to notify the client that the object is available.  That way only clients that need the object will access it.

<rdar://problem/11320059> REGRESSION (r115083): PLT3 shows linear memory growth and gets slower with each run

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