Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: src/heap/heap.h

Issue 1145113003: Revert of Set lower allocation limit in idle notification only if no GC happend recently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698