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

Unified Diff: src/heap/gc-tracer.cc

Issue 1314603002: Revert of Version 4.5.103.23 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/gc-tracer.cc
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc
index 6728f09bdadb9aab540bd6995922b1d414c14312..214bb8b24d67b031ebafbfe6a54e8c793e76d4ca 100644
--- a/src/heap/gc-tracer.cc
+++ b/src/heap/gc-tracer.cc
@@ -682,15 +682,11 @@ size_t GCTracer::AllocationThroughputInBytesPerMillisecond(
}
-size_t GCTracer::CurrentAllocationThroughputInBytesPerMillisecond() const {
- return AllocationThroughputInBytesPerMillisecond(kThroughputTimeFrameMs);
-}
-
-
size_t GCTracer::CurrentOldGenerationAllocationThroughputInBytesPerMillisecond()
const {
+ static const double kThroughputTimeFrame = 5000;
return OldGenerationAllocationThroughputInBytesPerMillisecond(
- kThroughputTimeFrameMs);
+ kThroughputTimeFrame);
}
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698