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_HEAP_HEAP_H_ | 5 #ifndef V8_HEAP_HEAP_H_ |
6 #define V8_HEAP_HEAP_H_ | 6 #define V8_HEAP_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
331 V(TwoPointerFillerMap) \ | 331 V(TwoPointerFillerMap) \ |
332 V(UndefinedCell) \ | 332 V(UndefinedCell) \ |
333 V(UndefinedMap) \ | 333 V(UndefinedMap) \ |
334 V(UndefinedValue) \ | 334 V(UndefinedValue) \ |
335 V(UninitializedMap) \ | 335 V(UninitializedMap) \ |
336 V(UninitializedValue) \ | 336 V(UninitializedValue) \ |
337 V(WeakCellMap) \ | 337 V(WeakCellMap) \ |
338 V(WithContextMap) \ | 338 V(WithContextMap) \ |
339 PRIVATE_SYMBOL_LIST(V) | 339 PRIVATE_SYMBOL_LIST(V) |
340 | 340 |
341 #define FIXED_ARRAY_ELEMENTS_WRITE_BARRIER(heap, array, start, length) \ | |
jgruber
2017/05/23 09:58:36
Used in both elements.cc and here.
| |
342 do { \ | |
343 heap->RecordFixedArrayElements(array, start, length); \ | |
344 heap->incremental_marking()->IterateBlackObject(array); \ | |
345 } while (false) | |
346 | |
341 // Forward declarations. | 347 // Forward declarations. |
342 class AllocationObserver; | 348 class AllocationObserver; |
343 class ArrayBufferTracker; | 349 class ArrayBufferTracker; |
344 class ConcurrentMarking; | 350 class ConcurrentMarking; |
345 class GCIdleTimeAction; | 351 class GCIdleTimeAction; |
346 class GCIdleTimeHandler; | 352 class GCIdleTimeHandler; |
347 class GCIdleTimeHeapState; | 353 class GCIdleTimeHeapState; |
348 class GCTracer; | 354 class GCTracer; |
349 class HeapObjectsFilter; | 355 class HeapObjectsFilter; |
350 class HeapStats; | 356 class HeapStats; |
(...skipping 2284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2635 friend class PagedSpace; | 2641 friend class PagedSpace; |
2636 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2642 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2637 }; | 2643 }; |
2638 | 2644 |
2639 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); | 2645 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); |
2640 | 2646 |
2641 } // namespace internal | 2647 } // namespace internal |
2642 } // namespace v8 | 2648 } // namespace v8 |
2643 | 2649 |
2644 #endif // V8_HEAP_HEAP_H_ | 2650 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |