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); |
} |