OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_SPACES_INL_H_ | 5 #ifndef V8_HEAP_SPACES_INL_H_ |
6 #define V8_HEAP_SPACES_INL_H_ | 6 #define V8_HEAP_SPACES_INL_H_ |
7 | 7 |
8 #include "src/heap/spaces.h" | 8 #include "src/heap/spaces.h" |
9 #include "src/heap-profiler.h" | |
10 #include "src/isolate.h" | 9 #include "src/isolate.h" |
11 #include "src/msan.h" | 10 #include "src/msan.h" |
| 11 #include "src/profiler/heap-profiler.h" |
12 #include "src/v8memory.h" | 12 #include "src/v8memory.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
19 // Bitmap | 19 // Bitmap |
20 | 20 |
21 void Bitmap::Clear(MemoryChunk* chunk) { | 21 void Bitmap::Clear(MemoryChunk* chunk) { |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 | 484 |
485 | 485 |
486 intptr_t LargeObjectSpace::Available() { | 486 intptr_t LargeObjectSpace::Available() { |
487 return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available()); | 487 return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available()); |
488 } | 488 } |
489 | 489 |
490 } | 490 } |
491 } // namespace v8::internal | 491 } // namespace v8::internal |
492 | 492 |
493 #endif // V8_HEAP_SPACES_INL_H_ | 493 #endif // V8_HEAP_SPACES_INL_H_ |
OLD | NEW |