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

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

Issue 2851743002: [heap] Remove TryFinalizeIdleIncrementalMarking. (Closed)
Patch Set: fix call-site Created 3 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 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1250 void StartIncrementalMarking( 1250 void StartIncrementalMarking(
1251 int gc_flags, GarbageCollectionReason gc_reason, 1251 int gc_flags, GarbageCollectionReason gc_reason,
1252 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); 1252 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags);
1253 1253
1254 void StartIncrementalMarkingIfAllocationLimitIsReached( 1254 void StartIncrementalMarkingIfAllocationLimitIsReached(
1255 int gc_flags, 1255 int gc_flags,
1256 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags); 1256 GCCallbackFlags gc_callback_flags = GCCallbackFlags::kNoGCCallbackFlags);
1257 1257
1258 void FinalizeIncrementalMarkingIfComplete(GarbageCollectionReason gc_reason); 1258 void FinalizeIncrementalMarkingIfComplete(GarbageCollectionReason gc_reason);
1259 1259
1260 bool TryFinalizeIdleIncrementalMarking(double idle_time_in_ms,
1261 GarbageCollectionReason gc_reason);
1262
1263 void RegisterReservationsForBlackAllocation(Reservation* reservations); 1260 void RegisterReservationsForBlackAllocation(Reservation* reservations);
1264 1261
1265 IncrementalMarking* incremental_marking() { return incremental_marking_; } 1262 IncrementalMarking* incremental_marking() { return incremental_marking_; }
1266 1263
1267 // =========================================================================== 1264 // ===========================================================================
1268 // Concurrent marking API. =================================================== 1265 // Concurrent marking API. ===================================================
1269 // =========================================================================== 1266 // ===========================================================================
1270 1267
1271 ConcurrentMarking* concurrent_marking() { return concurrent_marking_; } 1268 ConcurrentMarking* concurrent_marking() { return concurrent_marking_; }
1272 1269
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2659 friend class PagedSpace; 2656 friend class PagedSpace;
2660 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2657 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2661 }; 2658 };
2662 2659
2663 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); 2660 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space);
2664 2661
2665 } // namespace internal 2662 } // namespace internal
2666 } // namespace v8 2663 } // namespace v8
2667 2664
2668 #endif // V8_HEAP_HEAP_H_ 2665 #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