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_H_ | 5 #ifndef V8_HEAP_SPACES_H_ |
6 #define V8_HEAP_SPACES_H_ | 6 #define V8_HEAP_SPACES_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <unordered_set> | 10 #include <unordered_set> |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 inline TypedSlotSet* typed_old_to_new_slots() { | 458 inline TypedSlotSet* typed_old_to_new_slots() { |
459 return typed_old_to_new_slots_.Value(); | 459 return typed_old_to_new_slots_.Value(); |
460 } | 460 } |
461 inline TypedSlotSet* typed_old_to_old_slots() { | 461 inline TypedSlotSet* typed_old_to_old_slots() { |
462 return typed_old_to_old_slots_; | 462 return typed_old_to_old_slots_; |
463 } | 463 } |
464 inline LocalArrayBufferTracker* local_tracker() { return local_tracker_; } | 464 inline LocalArrayBufferTracker* local_tracker() { return local_tracker_; } |
465 | 465 |
466 V8_EXPORT_PRIVATE void AllocateOldToNewSlots(); | 466 V8_EXPORT_PRIVATE void AllocateOldToNewSlots(); |
467 void ReleaseOldToNewSlots(); | 467 void ReleaseOldToNewSlots(); |
468 V8_EXPORT_PRIVATE void AllocateOldToOldSlots(); | 468 void AllocateOldToOldSlots(); |
469 void ReleaseOldToOldSlots(); | 469 void ReleaseOldToOldSlots(); |
470 void AllocateTypedOldToNewSlots(); | 470 void AllocateTypedOldToNewSlots(); |
471 void ReleaseTypedOldToNewSlots(); | 471 void ReleaseTypedOldToNewSlots(); |
472 void AllocateTypedOldToOldSlots(); | 472 void AllocateTypedOldToOldSlots(); |
473 void ReleaseTypedOldToOldSlots(); | 473 void ReleaseTypedOldToOldSlots(); |
474 void AllocateLocalTracker(); | 474 void AllocateLocalTracker(); |
475 void ReleaseLocalTracker(); | 475 void ReleaseLocalTracker(); |
476 | 476 |
477 Address area_start() { return area_start_; } | 477 Address area_start() { return area_start_; } |
478 Address area_end() { return area_end_; } | 478 Address area_end() { return area_end_; } |
(...skipping 2468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2947 PageIterator old_iterator_; | 2947 PageIterator old_iterator_; |
2948 PageIterator code_iterator_; | 2948 PageIterator code_iterator_; |
2949 PageIterator map_iterator_; | 2949 PageIterator map_iterator_; |
2950 LargePageIterator lo_iterator_; | 2950 LargePageIterator lo_iterator_; |
2951 }; | 2951 }; |
2952 | 2952 |
2953 } // namespace internal | 2953 } // namespace internal |
2954 } // namespace v8 | 2954 } // namespace v8 |
2955 | 2955 |
2956 #endif // V8_HEAP_SPACES_H_ | 2956 #endif // V8_HEAP_SPACES_H_ |
OLD | NEW |