| OLD | NEW |
| 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_INCREMENTAL_MARKING_H_ | 5 #ifndef V8_INCREMENTAL_MARKING_H_ |
| 6 #define V8_INCREMENTAL_MARKING_H_ | 6 #define V8_INCREMENTAL_MARKING_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 #include "src/execution.h" | 9 #include "src/execution.h" |
| 10 #include "src/mark-compact.h" | 10 #include "src/mark-compact.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 static void SetOldSpacePageFlags(MemoryChunk* chunk, | 195 static void SetOldSpacePageFlags(MemoryChunk* chunk, |
| 196 bool is_marking, | 196 bool is_marking, |
| 197 bool is_compacting); | 197 bool is_compacting); |
| 198 | 198 |
| 199 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking); | 199 static void SetNewSpacePageFlags(NewSpacePage* chunk, bool is_marking); |
| 200 | 200 |
| 201 void EnsureMarkingDequeIsCommitted(); | 201 void EnsureMarkingDequeIsCommitted(); |
| 202 | 202 |
| 203 INLINE(void ProcessMarkingDeque()); | 203 INLINE(void ProcessMarkingDeque()); |
| 204 | 204 |
| 205 INLINE(void ProcessMarkingDeque(intptr_t bytes_to_process)); | 205 INLINE(intptr_t ProcessMarkingDeque(intptr_t bytes_to_process)); |
| 206 | 206 |
| 207 INLINE(void VisitObject(Map* map, HeapObject* obj, int size)); | 207 INLINE(void VisitObject(Map* map, HeapObject* obj, int size)); |
| 208 | 208 |
| 209 Heap* heap_; | 209 Heap* heap_; |
| 210 | 210 |
| 211 State state_; | 211 State state_; |
| 212 bool is_compacting_; | 212 bool is_compacting_; |
| 213 | 213 |
| 214 base::VirtualMemory* marking_deque_memory_; | 214 base::VirtualMemory* marking_deque_memory_; |
| 215 bool marking_deque_memory_committed_; | 215 bool marking_deque_memory_committed_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 228 int no_marking_scope_depth_; | 228 int no_marking_scope_depth_; |
| 229 | 229 |
| 230 int unscanned_bytes_of_large_object_; | 230 int unscanned_bytes_of_large_object_; |
| 231 | 231 |
| 232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 232 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 } } // namespace v8::internal | 235 } } // namespace v8::internal |
| 236 | 236 |
| 237 #endif // V8_INCREMENTAL_MARKING_H_ | 237 #endif // V8_INCREMENTAL_MARKING_H_ |
| OLD | NEW |