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

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

Issue 2407153002: [heap] Use RAIL mode for initial heap sizing (Closed)
Patch Set: fix test 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 ccc60c55cbb73458dc467fd13b7757899b5066f4..9a3fb6f71d784df155424ed4138bb982fbb7f0f7 100644
--- a/src/heap/incremental-marking-job.h
+++ b/src/heap/incremental-marking-job.h
@@ -5,6 +5,7 @@
#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 {
@@ -32,8 +33,6 @@ class IncrementalMarkingJob {
IncrementalMarkingJob() : task_pending_(false) {}
- bool TaskPending() { return task_pending_; }
-
void Start(Heap* heap);
void NotifyTask();
@@ -41,7 +40,7 @@ class IncrementalMarkingJob {
void ScheduleTask(Heap* heap);
private:
- bool task_pending_;
+ base::AtomicValue<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