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 <map> | 9 #include <map> |
10 | 10 |
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1851 ExternalStringTableUpdaterCallback updater_func); | 1851 ExternalStringTableUpdaterCallback updater_func); |
1852 | 1852 |
1853 void UpdateReferencesInExternalStringTable( | 1853 void UpdateReferencesInExternalStringTable( |
1854 ExternalStringTableUpdaterCallback updater_func); | 1854 ExternalStringTableUpdaterCallback updater_func); |
1855 | 1855 |
1856 void ProcessAllWeakReferences(WeakObjectRetainer* retainer); | 1856 void ProcessAllWeakReferences(WeakObjectRetainer* retainer); |
1857 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer); | 1857 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer); |
1858 void ProcessNativeContexts(WeakObjectRetainer* retainer); | 1858 void ProcessNativeContexts(WeakObjectRetainer* retainer); |
1859 void ProcessAllocationSites(WeakObjectRetainer* retainer); | 1859 void ProcessAllocationSites(WeakObjectRetainer* retainer); |
1860 | 1860 |
| 1861 // Filter out entries residing on aborted compaction pages from the store |
| 1862 // buffer. |
| 1863 void FilterStoreBufferEntriesForAbortedPages(); |
| 1864 |
1861 // =========================================================================== | 1865 // =========================================================================== |
1862 // GC statistics. ============================================================ | 1866 // GC statistics. ============================================================ |
1863 // =========================================================================== | 1867 // =========================================================================== |
1864 | 1868 |
1865 inline intptr_t OldGenerationSpaceAvailable() { | 1869 inline intptr_t OldGenerationSpaceAvailable() { |
1866 return old_generation_allocation_limit_ - PromotedTotalSize(); | 1870 return old_generation_allocation_limit_ - PromotedTotalSize(); |
1867 } | 1871 } |
1868 | 1872 |
1869 // Returns maximum GC pause. | 1873 // Returns maximum GC pause. |
1870 double get_max_gc_pause() { return max_gc_pause_; } | 1874 double get_max_gc_pause() { return max_gc_pause_; } |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2729 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2733 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2730 | 2734 |
2731 private: | 2735 private: |
2732 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2736 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2733 }; | 2737 }; |
2734 #endif // DEBUG | 2738 #endif // DEBUG |
2735 } // namespace internal | 2739 } // namespace internal |
2736 } // namespace v8 | 2740 } // namespace v8 |
2737 | 2741 |
2738 #endif // V8_HEAP_HEAP_H_ | 2742 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |