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 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2122 | 2122 |
2123 // Total time spent in GC. | 2123 // Total time spent in GC. |
2124 double total_gc_time_ms_; | 2124 double total_gc_time_ms_; |
2125 | 2125 |
2126 // Maximum size of objects alive after GC. | 2126 // Maximum size of objects alive after GC. |
2127 intptr_t max_alive_after_gc_; | 2127 intptr_t max_alive_after_gc_; |
2128 | 2128 |
2129 // Minimal interval between two subsequent collections. | 2129 // Minimal interval between two subsequent collections. |
2130 double min_in_mutator_; | 2130 double min_in_mutator_; |
2131 | 2131 |
2132 // Cumulative GC time spent in marking. | 2132 // Cumulative GC time spent in marking |
2133 double marking_time_; | 2133 double marking_time_; |
2134 | 2134 |
2135 // Cumulative GC time spent in sweeping. | 2135 // Cumulative GC time spent in sweeping |
2136 double sweeping_time_; | 2136 double sweeping_time_; |
2137 | 2137 |
2138 // Last time an idle notification happened. | 2138 // Last time an idle notification happened |
2139 double last_idle_notification_time_; | 2139 double last_idle_notification_time_; |
2140 | 2140 |
2141 // Last time a garbage collection happened. | |
2142 double last_gc_time_; | |
2143 | |
2144 MarkCompactCollector mark_compact_collector_; | 2141 MarkCompactCollector mark_compact_collector_; |
2145 | 2142 |
2146 StoreBuffer store_buffer_; | 2143 StoreBuffer store_buffer_; |
2147 | 2144 |
2148 Marking marking_; | 2145 Marking marking_; |
2149 | 2146 |
2150 IncrementalMarking incremental_marking_; | 2147 IncrementalMarking incremental_marking_; |
2151 | 2148 |
2152 GCIdleTimeHandler gc_idle_time_handler_; | 2149 GCIdleTimeHandler gc_idle_time_handler_; |
2153 | 2150 |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2649 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2646 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2650 | 2647 |
2651 private: | 2648 private: |
2652 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2649 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2653 }; | 2650 }; |
2654 #endif // DEBUG | 2651 #endif // DEBUG |
2655 } | 2652 } |
2656 } // namespace v8::internal | 2653 } // namespace v8::internal |
2657 | 2654 |
2658 #endif // V8_HEAP_HEAP_H_ | 2655 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |