Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: src/heap-snapshot-generator.cc

Issue 132063004: More efficient use of space in AllocationSite. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap-snapshot-generator.cc
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
index 3125a266d69c55e0e84f64e1e647bc6376ea57ce..6be580f6342d3a98b61280027a45e8af4d458f0b 100644
--- a/src/heap-snapshot-generator.cc
+++ b/src/heap-snapshot-generator.cc
@@ -1403,15 +1403,12 @@ void V8HeapExplorer::ExtractAllocationSiteReferences(int entry,
AllocationSite::kTransitionInfoOffset);
SetInternalReference(site, entry, "nested_site", site->nested_site(),
AllocationSite::kNestedSiteOffset);
- SetInternalReference(site, entry, "memento_found_count",
- site->memento_found_count(),
- AllocationSite::kMementoFoundCountOffset);
- SetInternalReference(site, entry, "memento_create_count",
- site->memento_create_count(),
- AllocationSite::kMementoCreateCountOffset);
- SetInternalReference(site, entry, "pretenure_decision",
- site->pretenure_decision(),
- AllocationSite::kPretenureDecisionOffset);
+ SetInternalReference(site, entry, "pretenure_data",
+ site->pretenure_data(),
+ AllocationSite::kPretenureDataOffset);
+ SetInternalReference(site, entry, "pretenure_create_count",
+ site->pretenure_create_count(),
+ AllocationSite::kPretenureCreateCountOffset);
SetInternalReference(site, entry, "dependent_code", site->dependent_code(),
AllocationSite::kDependentCodeOffset);
}
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698