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/mark-compact.h

Issue 1480553004: [heap] Tweak evacuation candidate selection. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Factored out computing heuristics Created 5 years, 1 month 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/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index e6723fd70e030d726938337d4294a0d20898d262..899c3ee2cb67e709eb57b6fd032f6ba5628c926e 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -524,6 +524,10 @@ class MarkCompactCollector {
void StartSweeperThreads();
+ void ComputeEvacuationHeuristics(int area_size,
+ int* target_fragmentation_percent,
+ int* max_evacuated_bytes);
+
#ifdef DEBUG
enum CollectorState {
IDLE,
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698