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

Unified Diff: src/heap/heap.cc

Issue 1675163003: Filter out invalid slots in store buffer eagerly during object transition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index f40fe4b958d42afe3ad05ad12af7cfc25a4b8fe9..290f6eee9358ef15087d1324c1c119c0dac83a68 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5449,6 +5449,9 @@ void Heap::CheckHandleCount() {
isolate_->handle_scope_implementer()->Iterate(&v);
}
+void Heap::ClearRecordedSlot(Object** slot) {
+ store_buffer()->Remove(reinterpret_cast<Address>(slot));
+}
Space* AllSpaces::next() {
switch (counter_++) {
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/store-buffer.h » ('j') | src/heap/store-buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698