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

Side by Side Diff: src/heap/incremental-marking.h

Issue 556503002: Split up marking step and marking speed up functionality. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/heap/incremental-marking.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_ 5 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_
6 #define V8_HEAP_INCREMENTAL_MARKING_H_ 6 #define V8_HEAP_INCREMENTAL_MARKING_H_
7 7
8 8
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/heap/mark-compact.h" 10 #include "src/heap/mark-compact.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 void UncommitMarkingDeque(); 160 void UncommitMarkingDeque();
161 161
162 void NotifyIncompleteScanOfObject(int unscanned_bytes) { 162 void NotifyIncompleteScanOfObject(int unscanned_bytes) {
163 unscanned_bytes_of_large_object_ = unscanned_bytes; 163 unscanned_bytes_of_large_object_ = unscanned_bytes;
164 } 164 }
165 165
166 private: 166 private:
167 int64_t SpaceLeftInOldSpace(); 167 int64_t SpaceLeftInOldSpace();
168 168
169 void SpeedUp();
170
169 void ResetStepCounters(); 171 void ResetStepCounters();
170 172
171 void StartMarking(CompactionFlag flag); 173 void StartMarking(CompactionFlag flag);
172 174
173 void ActivateIncrementalWriteBarrier(PagedSpace* space); 175 void ActivateIncrementalWriteBarrier(PagedSpace* space);
174 static void ActivateIncrementalWriteBarrier(NewSpace* space); 176 static void ActivateIncrementalWriteBarrier(NewSpace* space);
175 void ActivateIncrementalWriteBarrier(); 177 void ActivateIncrementalWriteBarrier();
176 178
177 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space); 179 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space);
178 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); 180 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 int no_marking_scope_depth_; 215 int no_marking_scope_depth_;
214 216
215 int unscanned_bytes_of_large_object_; 217 int unscanned_bytes_of_large_object_;
216 218
217 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 219 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
218 }; 220 };
219 } 221 }
220 } // namespace v8::internal 222 } // namespace v8::internal
221 223
222 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 224 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698