| 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 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 void StartIncrementalMarking( | 1248 void StartIncrementalMarking( |
| 1249 int gc_flags, GarbageCollectionReason gc_reason, | 1249 int gc_flags, GarbageCollectionReason gc_reason, |
| 1250 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); | 1250 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); |
| 1251 | 1251 |
| 1252 void StartIncrementalMarkingIfAllocationLimitIsReached( | 1252 void StartIncrementalMarkingIfAllocationLimitIsReached( |
| 1253 int gc_flags, | 1253 int gc_flags, |
| 1254 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); | 1254 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); |
| 1255 | 1255 |
| 1256 void FinalizeIncrementalMarkingIfComplete(GarbageCollectionReason gc_reason); | 1256 void FinalizeIncrementalMarkingIfComplete(GarbageCollectionReason gc_reason); |
| 1257 | 1257 |
| 1258 void RegisterReservationsForBlackAllocation(Reservation* reservations); | 1258 void RegisterDeserializedObjectsForBlackAllocation( |
| 1259 Reservation* reservations, List<HeapObject*>* large_objects); |
| 1259 | 1260 |
| 1260 IncrementalMarking* incremental_marking() { return incremental_marking_; } | 1261 IncrementalMarking* incremental_marking() { return incremental_marking_; } |
| 1261 | 1262 |
| 1262 // =========================================================================== | 1263 // =========================================================================== |
| 1263 // Concurrent marking API. =================================================== | 1264 // Concurrent marking API. =================================================== |
| 1264 // =========================================================================== | 1265 // =========================================================================== |
| 1265 | 1266 |
| 1266 ConcurrentMarking* concurrent_marking() { return concurrent_marking_; } | 1267 ConcurrentMarking* concurrent_marking() { return concurrent_marking_; } |
| 1267 | 1268 |
| 1268 // The runtime uses this function to notify potentially unsafe object layout | 1269 // The runtime uses this function to notify potentially unsafe object layout |
| (...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2654 friend class PagedSpace; | 2655 friend class PagedSpace; |
| 2655 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2656 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2656 }; | 2657 }; |
| 2657 | 2658 |
| 2658 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); | 2659 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); |
| 2659 | 2660 |
| 2660 } // namespace internal | 2661 } // namespace internal |
| 2661 } // namespace v8 | 2662 } // namespace v8 |
| 2662 | 2663 |
| 2663 #endif // V8_HEAP_HEAP_H_ | 2664 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |