Index: src/heap/gc-idle-time-handler-unittest.cc |
diff --git a/src/heap/gc-idle-time-handler-unittest.cc b/src/heap/gc-idle-time-handler-unittest.cc |
index b9989a8c46a1d689b977a7d80a7dfba4f71b8a30..56ff2f313cd3c5807df57a5b825af14f69b7da7d 100644 |
--- a/src/heap/gc-idle-time-handler-unittest.cc |
+++ b/src/heap/gc-idle-time-handler-unittest.cc |
@@ -32,8 +32,8 @@ class GCIdleTimeHandlerTest : public ::testing::Test { |
} |
static const size_t kSizeOfObjects = 100 * MB; |
- static const size_t kMarkCompactSpeed = 100 * KB; |
- static const size_t kMarkingSpeed = 100 * KB; |
+ static const size_t kMarkCompactSpeed = 200 * KB; |
+ static const size_t kMarkingSpeed = 200 * KB; |
private: |
GCIdleTimeHandler handler_; |
@@ -87,7 +87,7 @@ TEST(GCIdleTimeHandler, EstimateMarkCompactTimeInitial) { |
TEST(GCIdleTimeHandler, EstimateMarkCompactTimeNonZero) { |
size_t size = 100 * MB; |
- size_t speed = 10 * KB; |
+ size_t speed = 1 * MB; |
size_t time = GCIdleTimeHandler::EstimateMarkCompactTime(size, speed); |
EXPECT_EQ(size / speed, time); |
} |