| 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 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2014 | 2014 |
| 2015 VisitorDispatchTable<ScavengingCallback> scavenging_visitors_table_; | 2015 VisitorDispatchTable<ScavengingCallback> scavenging_visitors_table_; |
| 2016 | 2016 |
| 2017 MemoryChunk* chunks_queued_for_free_; | 2017 MemoryChunk* chunks_queued_for_free_; |
| 2018 | 2018 |
| 2019 base::Mutex relocation_mutex_; | 2019 base::Mutex relocation_mutex_; |
| 2020 | 2020 |
| 2021 int gc_callbacks_depth_; | 2021 int gc_callbacks_depth_; |
| 2022 | 2022 |
| 2023 friend class AlwaysAllocateScope; | 2023 friend class AlwaysAllocateScope; |
| 2024 friend class Deserializer; |
| 2024 friend class Factory; | 2025 friend class Factory; |
| 2025 friend class GCCallbacksScope; | 2026 friend class GCCallbacksScope; |
| 2026 friend class GCTracer; | 2027 friend class GCTracer; |
| 2027 friend class HeapIterator; | 2028 friend class HeapIterator; |
| 2028 friend class Isolate; | 2029 friend class Isolate; |
| 2029 friend class MarkCompactCollector; | 2030 friend class MarkCompactCollector; |
| 2030 friend class MarkCompactMarkingVisitor; | 2031 friend class MarkCompactMarkingVisitor; |
| 2031 friend class MapCompact; | 2032 friend class MapCompact; |
| 2032 #ifdef VERIFY_HEAP | 2033 #ifdef VERIFY_HEAP |
| 2033 friend class NoWeakObjectVerificationScope; | 2034 friend class NoWeakObjectVerificationScope; |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2492 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2493 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 2493 | 2494 |
| 2494 private: | 2495 private: |
| 2495 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2496 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2496 }; | 2497 }; |
| 2497 #endif // DEBUG | 2498 #endif // DEBUG |
| 2498 } | 2499 } |
| 2499 } // namespace v8::internal | 2500 } // namespace v8::internal |
| 2500 | 2501 |
| 2501 #endif // V8_HEAP_HEAP_H_ | 2502 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |