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

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

Issue 7639020: Perform TODO(gc) cleanup for TODO-lockdown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 4 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 19 matching lines...) Expand all
30 30
31 31
32 #include "execution.h" 32 #include "execution.h"
33 #include "mark-compact.h" 33 #include "mark-compact.h"
34 #include "objects.h" 34 #include "objects.h"
35 35
36 namespace v8 { 36 namespace v8 {
37 namespace internal { 37 namespace internal {
38 38
39 39
40 // TODO(gc) rename into IncrementalMarker after merge.
41 class IncrementalMarking { 40 class IncrementalMarking {
42 public: 41 public:
43 enum State { 42 enum State {
44 STOPPED, 43 STOPPED,
45 SWEEPING, 44 SWEEPING,
46 MARKING, 45 MARKING,
47 COMPLETE 46 COMPLETE
48 }; 47 };
49 48
50 explicit IncrementalMarking(Heap* heap); 49 explicit IncrementalMarking(Heap* heap);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 bool should_hurry_; 239 bool should_hurry_;
241 int allocation_marking_factor_; 240 int allocation_marking_factor_;
242 intptr_t allocated_; 241 intptr_t allocated_;
243 242
244 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 243 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
245 }; 244 };
246 245
247 } } // namespace v8::internal 246 } } // namespace v8::internal
248 247
249 #endif // V8_INCREMENTAL_MARKING_H_ 248 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/liveedit.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698