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

Unified Diff: src/heap/incremental-marking-job.h

Issue 2549053002: Revert "[heap] Use RAIL mode for initial heap sizing" (Closed)
Patch Set: Created 4 years 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/incremental-marking-job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/incremental-marking-job.h
diff --git a/src/heap/incremental-marking-job.h b/src/heap/incremental-marking-job.h
index 9a3fb6f71d784df155424ed4138bb982fbb7f0f7..ccc60c55cbb73458dc467fd13b7757899b5066f4 100644
--- a/src/heap/incremental-marking-job.h
+++ b/src/heap/incremental-marking-job.h
@@ -5,7 +5,6 @@
#ifndef V8_HEAP_INCREMENTAL_MARKING_JOB_H_
#define V8_HEAP_INCREMENTAL_MARKING_JOB_H_
-#include "src/base/atomic-utils.h"
#include "src/cancelable-task.h"
namespace v8 {
@@ -33,6 +32,8 @@ class IncrementalMarkingJob {
IncrementalMarkingJob() : task_pending_(false) {}
+ bool TaskPending() { return task_pending_; }
+
void Start(Heap* heap);
void NotifyTask();
@@ -40,7 +41,7 @@ class IncrementalMarkingJob {
void ScheduleTask(Heap* heap);
private:
- base::AtomicValue<bool> task_pending_;
+ bool task_pending_;
};
} // namespace internal
} // namespace v8
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/incremental-marking-job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698