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

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

Issue 1255173002: Add regression test for 507979. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: GC: Refactor incremental marking w/ deadline into a separate call Created 5 years, 4 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 2273 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 double OldGenerationMutatorUtilization(); 2284 double OldGenerationMutatorUtilization();
2285 2285
2286 void ReduceNewSpaceSize(); 2286 void ReduceNewSpaceSize();
2287 2287
2288 bool TryFinalizeIdleIncrementalMarking( 2288 bool TryFinalizeIdleIncrementalMarking(
2289 double idle_time_in_ms, size_t size_of_objects, 2289 double idle_time_in_ms, size_t size_of_objects,
2290 size_t mark_compact_speed_in_bytes_per_ms); 2290 size_t mark_compact_speed_in_bytes_per_ms);
2291 2291
2292 GCIdleTimeHandler::HeapState ComputeHeapState(); 2292 GCIdleTimeHandler::HeapState ComputeHeapState();
2293 2293
2294 double AdvanceIncrementalMarking(
2295 double step_size_in_bytes, double deadline_in_ms,
2296 IncrementalMarking::ForceCompletionAction completion);
2297
2294 bool PerformIdleTimeAction(GCIdleTimeAction action, 2298 bool PerformIdleTimeAction(GCIdleTimeAction action,
2295 GCIdleTimeHandler::HeapState heap_state, 2299 GCIdleTimeHandler::HeapState heap_state,
2296 double deadline_in_ms); 2300 double deadline_in_ms);
2297 2301
2298 void IdleNotificationEpilogue(GCIdleTimeAction action, 2302 void IdleNotificationEpilogue(GCIdleTimeAction action,
2299 GCIdleTimeHandler::HeapState heap_state, 2303 GCIdleTimeHandler::HeapState heap_state,
2300 double start_ms, double deadline_in_ms); 2304 double start_ms, double deadline_in_ms);
2301 void CheckAndNotifyBackgroundIdleNotification(double idle_time_in_ms, 2305 void CheckAndNotifyBackgroundIdleNotification(double idle_time_in_ms,
2302 double now_ms); 2306 double now_ms);
2303 2307
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
2887 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2891 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2888 2892
2889 private: 2893 private:
2890 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2894 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2891 }; 2895 };
2892 #endif // DEBUG 2896 #endif // DEBUG
2893 } 2897 }
2894 } // namespace v8::internal 2898 } // namespace v8::internal
2895 2899
2896 #endif // V8_HEAP_HEAP_H_ 2900 #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