Changes between Version 1 and Version 2 of Abandoned documents


Ignore:
Timestamp:
Aug 17, 2018, 2:59:14 PM (6 years ago)
Author:
Simon Fraser
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Abandoned documents

    v1 v2  
    11= What is an abandoned document? =
    22
    3 Abandoned documents are effectively leaked: they are Document objects which have never been destroyed, and persist after loading about:blank and clearing caches. This is probably because there's some object that is holding a reference to the Document object, possibly in the GC heap, or via a retain cycle (often involving Nodes in the document).
     3Abandoned documents are effectively leaked: they are Document objects which have never been destroyed, and persist after loading about:blank, running a garbage collection and clearing caches. This is probably because there's some object that is holding a reference to the Document object, possibly in the GC heap, or via a retain cycle (often involving Nodes in the document).
    44
    55All documents are referenced by Document::allDocumentsMap(), so they are not leaked in the sense that the 'leaks' tool doesn't show them.