Revision: 24902
Author: [email protected]
Date: Mon Oct 27 12:10:19 2014 UTC
Log: Make all references from root shortcuts (except one to GC roots)
Eventually we are going to nuke this shortcuts from root entry altogether.
This fix makes (GC roots) retained size equal to the snapshot's total size.
BUG=chromium:414190
LOG=N
[email protected], [email protected]
Review URL: https://codereview.chromium.org/681743002
https://code.google.com/p/v8/source/detail?r=24902
Modified:
/branches/bleeding_edge/src/heap-snapshot-generator.cc
=======================================
--- /branches/bleeding_edge/src/heap-snapshot-generator.cc Fri Oct 24
19:28:23 2014 UTC
+++ /branches/bleeding_edge/src/heap-snapshot-generator.cc Mon Oct 27
12:10:19 2014 UTC
@@ -2517,10 +2517,8 @@
HeapEntry* group_entry =
filler_->FindOrAddEntry(group_info, native_entries_allocator_);
DCHECK(group_entry != NULL);
- filler_->SetIndexedAutoIndexReference(
- HeapGraphEdge::kElement,
- snapshot_->root()->index(),
- group_entry);
+ filler_->SetNamedAutoIndexReference(
+ HeapGraphEdge::kShortcut, 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.