Reviewers: alph, y.endoh,
Description:
Mark link between "(Detached DOM Trees)" and "Detached DOM Tree" as weak.
With this fix "(Detached DOM Trees)" will not appear in the retainers tree
of a
detached tree.
BUG=
Please review this at https://codereview.chromium.org/221923006/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/heap-snapshot-generator.cc
Index: src/heap-snapshot-generator.cc
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
index
332d0dbf6ff3705318f28a666d7134667e12295c..77a557bb25acab99a056df226f1f911c9430e3ba
100644
--- a/src/heap-snapshot-generator.cc
+++ b/src/heap-snapshot-generator.cc
@@ -2408,7 +2408,7 @@ void NativeObjectsExplorer::SetNativeRootReference(
HeapEntry* group_entry =
filler_->FindOrAddEntry(group_info, synthetic_entries_allocator_);
filler_->SetNamedAutoIndexReference(
- HeapGraphEdge::kInternal,
+ HeapGraphEdge::kWeak,
group_entry->index(),
child_entry);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.