Fix IdleNotificationFinishMarking test on slow devices.
BUG= TBR=ulan@chromium.org Review URL: https://codereview.chromium.org/641533004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
25dbc2476c
commit
c7149e50a3
@ -2219,8 +2219,8 @@ TEST(IdleNotificationFinishMarking) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The next idle notification has to finish incremental marking.
|
// The next idle notification has to finish incremental marking.
|
||||||
const int kShortIdleTimeInMs = 1;
|
const int kLongIdleTime = 1000000;
|
||||||
CcTest::isolate()->IdleNotification(kShortIdleTimeInMs);
|
CcTest::isolate()->IdleNotification(kLongIdleTime);
|
||||||
CHECK_EQ(CcTest::heap()->gc_count(), 1);
|
CHECK_EQ(CcTest::heap()->gc_count(), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user