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

Unified Diff: src/heap/scavenge-job.h

Issue 1841043002: Represent speed in GCTracer functions as double instead of int. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « src/heap/mark-compact.cc ('k') | src/heap/scavenge-job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/scavenge-job.h
diff --git a/src/heap/scavenge-job.h b/src/heap/scavenge-job.h
index 56299a154b25d16c78a0a2186d929c9713f15ddd..fadfccdcc4ea00503b38c0b39ba3af394f65984a 100644
--- a/src/heap/scavenge-job.h
+++ b/src/heap/scavenge-job.h
@@ -47,12 +47,12 @@ class ScavengeJob {
void NotifyIdleTask() { idle_task_pending_ = false; }
bool IdleTaskRescheduled() { return idle_task_rescheduled_; }
- static bool ReachedIdleAllocationLimit(size_t scavenge_speed_in_bytes_per_ms,
+ static bool ReachedIdleAllocationLimit(double scavenge_speed_in_bytes_per_ms,
size_t new_space_size,
size_t new_space_capacity);
static bool EnoughIdleTimeForScavenge(double idle_time_ms,
- size_t scavenge_speed_in_bytes_per_ms,
+ double scavenge_speed_in_bytes_per_ms,
size_t new_space_size);
// If we haven't recorded any scavenger events yet, we use a conservative
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/heap/scavenge-job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698