Revision: 24903
Author: [email protected]
Date: Mon Oct 27 12:37:40 2014 UTC
Log: Revert "Make all references from root shortcuts (except one to GC
roots)"
This reverts commit 940418d2e1150499a28cca60b5dd138d351ec652. It resulted
in orphan (Document DOM trees) and (Detached DOM trees) nodes.
BUG=chromium:414190
LOG=N
[email protected], [email protected]
Review URL: https://codereview.chromium.org/639753007
https://code.google.com/p/v8/source/detail?r=24903
Modified:
/branches/bleeding_edge/src/heap-snapshot-generator.cc
=======================================
--- /branches/bleeding_edge/src/heap-snapshot-generator.cc Mon Oct 27
12:10:19 2014 UTC
+++ /branches/bleeding_edge/src/heap-snapshot-generator.cc Mon Oct 27
12:37:40 2014 UTC
@@ -2517,8 +2517,10 @@
HeapEntry* group_entry =
filler_->FindOrAddEntry(group_info, native_entries_allocator_);
DCHECK(group_entry != NULL);
- filler_->SetNamedAutoIndexReference(
- HeapGraphEdge::kShortcut, snapshot_->root()->index(), group_entry);
+ filler_->SetIndexedAutoIndexReference(
+ HeapGraphEdge::kElement,
+ snapshot_->root()->index(),
+ group_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.