Reviewers: ulan, Benedikt Meurer,
Description:
Increase final idle time in idle notifcation of test test-api/Regress2107.
BUG=
Please review this at https://codereview.chromium.org/653863002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M test/cctest/test-api.cc
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index
6b182d0845f7a2b3f3aab35a410ba91f6b67ad15..ba2cf10a71ee312adaf5d93d8a4f9e3e245d1465
100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -18296,6 +18296,7 @@ TEST(IdleNotificationWithLargeHint) {
TEST(Regress2107) {
const intptr_t MB = 1024 * 1024;
const int kIdlePauseInMs = 1000;
+ const int kLongIdlePauseInMs = 100000;
LocalContext env;
v8::Isolate* isolate = env->GetIsolate();
v8::HandleScope scope(env->GetIsolate());
@@ -18320,7 +18321,7 @@ TEST(Regress2107) {
CHECK_GT(size_with_garbage, initial_size + MB);
bool finished = false;
for (int i = 0; i < 200 && !finished; i++) {
- finished = env->GetIsolate()->IdleNotification(kIdlePauseInMs);
+ finished = env->GetIsolate()->IdleNotification(kLongIdlePauseInMs);
}
intptr_t final_size = CcTest::heap()->SizeOfObjects();
CHECK_LT(final_size, initial_size + 1);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.