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

Unified Diff: src/heap/heap.cc

Issue 1493653002: [heap] Clean up stale store buffer entries for aborted pages. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/heap.h ('k') | src/heap/mark-compact.cc » ('j') | src/heap/spaces.h » ('J')
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 1105c6868dc4699e0c0ffb9c057d7a6c16775112..50cecf4ca667db3d4c77edd6c2c38c1a848f2b71 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5961,6 +5961,11 @@ void Heap::QueueMemoryChunkForFree(MemoryChunk* chunk) {
}
+void Heap::FilterStoreBufferEntriesForAbortedPages() {
+ store_buffer()->Filter(MemoryChunk::COMPACTION_WAS_ABORTED);
+}
+
+
void Heap::FilterStoreBufferEntriesOnAboutToBeFreedPages() {
if (chunks_queued_for_free_ == NULL) return;
MemoryChunk* next;
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/mark-compact.cc » ('j') | src/heap/spaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698