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

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

Issue 2808473003: Reduce VC++ padding in IncrementalMarking class (Closed)
Patch Set: Reorder initialization Created 3 years, 8 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
« 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 #include "src/cancelable-task.h" 8 #include "src/cancelable-task.h"
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/heap/heap.h" 10 #include "src/heap/heap.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 void IncrementIdleMarkingDelayCounter(); 265 void IncrementIdleMarkingDelayCounter();
266 266
267 void AdvanceIncrementalMarkingOnAllocation(); 267 void AdvanceIncrementalMarkingOnAllocation();
268 268
269 size_t StepSizeToKeepUpWithAllocations(); 269 size_t StepSizeToKeepUpWithAllocations();
270 size_t StepSizeToMakeProgress(); 270 size_t StepSizeToMakeProgress();
271 271
272 Heap* heap_; 272 Heap* heap_;
273 273
274 State state_;
275
276 double start_time_ms_; 274 double start_time_ms_;
277 size_t initial_old_generation_size_; 275 size_t initial_old_generation_size_;
278 size_t old_generation_allocation_counter_; 276 size_t old_generation_allocation_counter_;
279 size_t bytes_allocated_; 277 size_t bytes_allocated_;
280 size_t bytes_marked_ahead_of_schedule_; 278 size_t bytes_marked_ahead_of_schedule_;
281 size_t unscanned_bytes_of_large_object_; 279 size_t unscanned_bytes_of_large_object_;
282 280
281 State state_;
282
283 int idle_marking_delay_counter_; 283 int idle_marking_delay_counter_;
284 int incremental_marking_finalization_rounds_; 284 int incremental_marking_finalization_rounds_;
285 285
286 bool is_compacting_; 286 bool is_compacting_;
287 bool should_hurry_; 287 bool should_hurry_;
288 bool was_activated_; 288 bool was_activated_;
289 bool black_allocation_; 289 bool black_allocation_;
290 bool finalize_marking_completed_; 290 bool finalize_marking_completed_;
291 bool trace_wrappers_toggle_; 291 bool trace_wrappers_toggle_;
292 IncrementalMarkingJob incremental_marking_job_;
292 293
293 GCRequestType request_type_; 294 GCRequestType request_type_;
294 295
295 IncrementalMarkingJob incremental_marking_job_;
296 Observer new_generation_observer_; 296 Observer new_generation_observer_;
297 Observer old_generation_observer_; 297 Observer old_generation_observer_;
298 298
299 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 299 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
300 }; 300 };
301 } // namespace internal 301 } // namespace internal
302 } // namespace v8 302 } // namespace v8
303 303
304 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 304 #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