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

Unified Diff: src/heap/store-buffer.h

Issue 957273002: Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: StoreBuffer issue addressed Created 5 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/store-buffer.h
diff --git a/src/heap/store-buffer.h b/src/heap/store-buffer.h
index 30ef18f54f08f9c924f206dfde212e6c55c77e1f..519cecd28e3763d89d77f0aeb85b646dbc37b203 100644
--- a/src/heap/store-buffer.h
+++ b/src/heap/store-buffer.h
@@ -105,6 +105,14 @@ class StoreBuffer {
void Filter(int flag);
+
+ // Returns number of slots stored in the slots buffer.
Hannes Payer (out of office) 2015/03/03 09:48:53 store buffer
Igor Sheludko 2015/03/04 14:54:20 Done.
+ int SizeForTesting();
+
+ // Removes all the slots in [start_address, end_address) range from the store
+ // buffer.
+ void RemoveSlots(Address start_address, Address end_address);
+
private:
Heap* heap_;

Powered by Google App Engine
This is Rietveld 408576698