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

Unified Diff: src/heap/gc-idle-time-handler.h

Issue 1265423002: Use idle task to perform incremental marking steps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More test fixes Created 5 years, 3 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 | « BUILD.gn ('k') | src/heap/gc-idle-time-handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/gc-idle-time-handler.h
diff --git a/src/heap/gc-idle-time-handler.h b/src/heap/gc-idle-time-handler.h
index ebd132e7520d417cef036973a13d6e5f6f55bbc2..3f7f02d390a50d7ea2805b25853adc8504fd02fc 100644
--- a/src/heap/gc-idle-time-handler.h
+++ b/src/heap/gc-idle-time-handler.h
@@ -13,10 +13,9 @@ namespace internal {
enum GCIdleTimeActionType {
DONE,
DO_NOTHING,
- DO_INCREMENTAL_MARKING,
+ DO_INCREMENTAL_STEP,
DO_SCAVENGE,
DO_FULL_GC,
- DO_FINALIZE_SWEEPING
};
@@ -25,7 +24,6 @@ class GCIdleTimeAction {
static GCIdleTimeAction Done() {
GCIdleTimeAction result;
result.type = DONE;
- result.parameter = 0;
result.additional_work = false;
return result;
}
@@ -33,15 +31,13 @@ class GCIdleTimeAction {
static GCIdleTimeAction Nothing() {
GCIdleTimeAction result;
result.type = DO_NOTHING;
- result.parameter = 0;
result.additional_work = false;
return result;
}
- static GCIdleTimeAction IncrementalMarking(intptr_t step_size) {
+ static GCIdleTimeAction IncrementalStep() {
GCIdleTimeAction result;
- result.type = DO_INCREMENTAL_MARKING;
- result.parameter = step_size;
+ result.type = DO_INCREMENTAL_STEP;
result.additional_work = false;
return result;
}
@@ -49,7 +45,6 @@ class GCIdleTimeAction {
static GCIdleTimeAction Scavenge() {
GCIdleTimeAction result;
result.type = DO_SCAVENGE;
- result.parameter = 0;
result.additional_work = false;
return result;
}
@@ -57,15 +52,6 @@ class GCIdleTimeAction {
static GCIdleTimeAction FullGC() {
GCIdleTimeAction result;
result.type = DO_FULL_GC;
- result.parameter = 0;
- result.additional_work = false;
- return result;
- }
-
- static GCIdleTimeAction FinalizeSweeping() {
- GCIdleTimeAction result;
- result.type = DO_FINALIZE_SWEEPING;
- result.parameter = 0;
result.additional_work = false;
return result;
}
@@ -73,7 +59,6 @@ class GCIdleTimeAction {
void Print();
GCIdleTimeActionType type;
- intptr_t parameter;
bool additional_work;
};
« no previous file with comments | « BUILD.gn ('k') | src/heap/gc-idle-time-handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698