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

Unified Diff: src/heap/heap.h

Issue 1404523002: [heap] inline allocation steps refactor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: work-around the requirements that set_limit needs to be aligned Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 3be440984f391bdc1bcfa0a74469ef46f99c95e9..84e59806a716ae9af695a389eac5143cce1f115b 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1900,13 +1900,6 @@ class Heap {
double mutator_speed);
// ===========================================================================
- // Inline allocation. ========================================================
- // ===========================================================================
-
- void LowerInlineAllocationLimit(intptr_t step);
- void ResetInlineAllocationLimit();
-
- // ===========================================================================
// Idle notification. ========================================================
// ===========================================================================
@@ -2293,6 +2286,8 @@ class Heap {
ScavengeJob* scavenge_job_;
+ InlineAllocationObserver* idle_scavenge_observer_;
+
// These two counters are monotomically increasing and never reset.
size_t full_codegen_bytes_generated_;
size_t crankshaft_codegen_bytes_generated_;
@@ -2363,6 +2358,7 @@ class Heap {
friend class GCCallbacksScope;
friend class GCTracer;
friend class HeapIterator;
+ friend class IdleScavengeObserver;
friend class IncrementalMarking;
friend class MarkCompactCollector;
friend class MarkCompactMarkingVisitor;
« 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