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

Unified Diff: src/heap/heap.cc

Issue 1343043002: [heap] Move slots buffer into a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « BUILD.gn ('k') | src/heap/mark-compact.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 671d4626924e24d45b0caced1c5f0c004de487bc..31b93e71991e219b5c6050bd0f17bd890f6018ec 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -2852,8 +2852,8 @@ void Heap::AddAllocationSiteToScratchpad(AllocationSite* site,
// candidates are not part of the global list of old space pages and
// releasing an evacuation candidate due to a slots buffer overflow
// results in lost pages.
- mark_compact_collector()->RecordSlot(allocation_sites_scratchpad(), slot,
- *slot, SlotsBuffer::IGNORE_OVERFLOW);
+ mark_compact_collector()->ForceRecordSlot(allocation_sites_scratchpad(),
+ slot, *slot);
}
allocation_sites_scratchpad_length_++;
}
« no previous file with comments | « BUILD.gn ('k') | src/heap/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698