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

Unified Diff: src/heap/memory-reducer.h

Issue 1420363004: Remove special handling of background idle notification in memory reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « src/heap/heap.cc ('k') | src/heap/memory-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/memory-reducer.h
diff --git a/src/heap/memory-reducer.h b/src/heap/memory-reducer.h
index f98cb045e3854a3ed6cae2a37a3da95c33efff43..b3272f868c9a49df0303ca50824ae3da674bd4ce 100644
--- a/src/heap/memory-reducer.h
+++ b/src/heap/memory-reducer.h
@@ -96,18 +96,13 @@ class MemoryReducer {
double last_gc_time_ms;
};
- enum EventType {
- kTimer,
- kMarkCompact,
- kContextDisposed,
- kBackgroundIdleNotification
- };
+ enum EventType { kTimer, kMarkCompact, kContextDisposed };
struct Event {
EventType type;
double time_ms;
- bool low_allocation_rate;
bool next_gc_likely_to_collect_more;
+ bool should_start_incremental_gc;
bool can_start_incremental_gc;
};
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/memory-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698