[Webkit-unassigned] [Bug 26448] New: Need to optimize MessagePort GC for same-thread case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 16 10:38:17 PDT 2009


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

           Summary: Need to optimize MessagePort GC for same-thread case
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: atwilson at google.com


The patch for bug #25043 reflects the latest spec - any entangled MessagePort
should be treated as "reachable" regardless of whether its entangled port is
reachable or not. This spec change was driven by the need to support ports that
are entangled across multiple threads where it is difficult to determine
reachability.

In the case where both ends of the MessagePort are run by the same thread, it
is possible to determine reachability correctly. This would allow us to GC
unreachable ports in case like this:

var channel = new MessageChannel();
channel = 0;


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list