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

Unified Diff: src/heap/heap.h

Issue 1834373003: [heap] Add optimized RecordWrites (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: adding helper macro Created 4 years, 9 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.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 3226828c2210436afae35a0440bc489d349aa705..fd769e0bf7d96bcaec11320a67997b8cbf69b11b 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1078,6 +1078,7 @@ class Heap {
// Write barrier support for object[offset] = o;
inline void RecordWrite(Object* object, int offset, Object* o);
+ inline void RecordWrites(FixedArray* array, int offset, int length);
Hannes Payer (out of office) 2016/04/01 11:34:40 Let's call it RecordFixedArrayElements.
Address* store_buffer_top_address() {
return reinterpret_cast<Address*>(&roots_[kStoreBufferTopRootIndex]);

Powered by Google App Engine
This is Rietveld 408576698