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

Unified Diff: src/heap/heap.h

Issue 881763005: Just visit young array buffers during scavenge. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@split-up-native-context
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 643a1519f5fe980f5792ba0f6af5dc2ffcaa0b33..92ae0f163b4f73b45710f0548e76707bd56d9988 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1614,6 +1614,9 @@ class Heap {
Object* array_buffers_list_;
Object* allocation_sites_list_;
+ Object* last_array_buffers_young_object_;
+ Object* last_native_contexts_young_object_;
+
// WeakHashTable that maps objects embedded in optimized code to dependent
// code list. It is initilized lazily and contains the undefined_value at
// start.
@@ -1950,8 +1953,10 @@ class Heap {
void MarkCompactPrologue();
void MarkCompactEpilogue();
- void ProcessNativeContexts(WeakObjectRetainer* retainer);
- void ProcessArrayBuffers(WeakObjectRetainer* retainer);
+ void ProcessNativeContexts(WeakObjectRetainer* retainer,
+ Object* last_native_contexts_young_object);
+ void ProcessArrayBuffers(WeakObjectRetainer* retainer,
+ Object* last_array_buffers_young_object);
void ProcessAllocationSites(WeakObjectRetainer* retainer);
// Deopts all code that contains allocation instruction which are tenured or
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698