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

Unified Diff: src/objects-inl.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
« src/heap/heap-inl.h ('K') | « src/heap/heap-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index aaf657e5f8a05583b7506daaa9ccab4f50f85fcf..9078a04e9f68b6ba18566d0bff356f25099f72db 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1148,6 +1148,10 @@ MaybeHandle<Object> JSReceiver::GetProperty(Isolate* isolate,
object, HeapObject::RawField(object, offset), value); \
heap->RecordWrite(object, offset, value);
+#define FIXED_ARRAY_WRITE_BARRIER(heap, array, start, length) \
Hannes Payer (out of office) 2016/04/01 11:34:40 FIXED_ARRAY_ELEMENTS_WRITE_BARRIER
Camillo Bruni 2016/04/01 13:45:02 done.
+ heap->RecordWrites(array, start, length); \
ulan 2016/04/01 11:28:32 Let's put the two statements in do { } while (fa
Camillo Bruni 2016/04/01 13:45:02 done.
+ heap->incremental_marking()->IterateBlackObject(array)
+
#define CONDITIONAL_WRITE_BARRIER(heap, object, offset, value, mode) \
if (mode != SKIP_WRITE_BARRIER) { \
if (mode == UPDATE_WRITE_BARRIER) { \
« src/heap/heap-inl.h ('K') | « src/heap/heap-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698