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

Side by Side Diff: src/heap/gc-idle-time-handler.h

Issue 1148633005: Uncommit and shrink semi-spaces only on low allocation rate. (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/gc-idle-time-handler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_GC_IDLE_TIME_HANDLER_H_ 5 #ifndef V8_HEAP_GC_IDLE_TIME_HANDLER_H_
6 #define V8_HEAP_GC_IDLE_TIME_HANDLER_H_ 6 #define V8_HEAP_GC_IDLE_TIME_HANDLER_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool can_start_incremental_marking; 181 bool can_start_incremental_marking;
182 bool sweeping_in_progress; 182 bool sweeping_in_progress;
183 bool sweeping_completed; 183 bool sweeping_completed;
184 size_t mark_compact_speed_in_bytes_per_ms; 184 size_t mark_compact_speed_in_bytes_per_ms;
185 size_t incremental_marking_speed_in_bytes_per_ms; 185 size_t incremental_marking_speed_in_bytes_per_ms;
186 size_t final_incremental_mark_compact_speed_in_bytes_per_ms; 186 size_t final_incremental_mark_compact_speed_in_bytes_per_ms;
187 size_t scavenge_speed_in_bytes_per_ms; 187 size_t scavenge_speed_in_bytes_per_ms;
188 size_t used_new_space_size; 188 size_t used_new_space_size;
189 size_t new_space_capacity; 189 size_t new_space_capacity;
190 size_t new_space_allocation_throughput_in_bytes_per_ms; 190 size_t new_space_allocation_throughput_in_bytes_per_ms;
191 size_t current_new_space_allocation_throughput_in_bytes_per_ms;
191 }; 192 };
192 193
193 GCIdleTimeHandler() 194 GCIdleTimeHandler()
194 : idle_mark_compacts_(0), 195 : idle_mark_compacts_(0),
195 mark_compacts_(0), 196 mark_compacts_(0),
196 scavenges_(0), 197 scavenges_(0),
197 long_idle_notifications_(0), 198 long_idle_notifications_(0),
198 background_idle_notifications_(0), 199 background_idle_notifications_(0),
199 idle_times_which_made_no_progress_per_mode_(0), 200 idle_times_which_made_no_progress_per_mode_(0),
200 next_gc_likely_to_collect_more_(false), 201 next_gc_likely_to_collect_more_(false),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 270
270 Mode mode_; 271 Mode mode_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(GCIdleTimeHandler); 273 DISALLOW_COPY_AND_ASSIGN(GCIdleTimeHandler);
273 }; 274 };
274 275
275 } // namespace internal 276 } // namespace internal
276 } // namespace v8 277 } // namespace v8
277 278
278 #endif // V8_HEAP_GC_IDLE_TIME_HANDLER_H_ 279 #endif // V8_HEAP_GC_IDLE_TIME_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/gc-idle-time-handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698