Loosen up the test for boot time memory use on 64 bit.

Review URL: https://chromiumcodereview.appspot.com/9969051

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11209 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2012-04-02 13:29:04 +00:00
parent e352114fb8
commit 1d9cebd002

View File

@ -534,9 +534,9 @@ TEST(BootUpMemoryUse) {
intptr_t booted_memory = MemoryInUse(); intptr_t booted_memory = MemoryInUse();
if (sizeof(initial_memory) == 8) { if (sizeof(initial_memory) == 8) {
if (v8::internal::Snapshot::IsEnabled()) { if (v8::internal::Snapshot::IsEnabled()) {
CHECK_LE(booted_memory - initial_memory, 3500 * 1024); // 3396. CHECK_LE(booted_memory - initial_memory, 3600 * 1024); // 3396.
} else { } else {
CHECK_LE(booted_memory - initial_memory, 3500 * 1024); // 3432. CHECK_LE(booted_memory - initial_memory, 3600 * 1024); // 3432.
} }
} else { } else {
if (v8::internal::Snapshot::IsEnabled()) { if (v8::internal::Snapshot::IsEnabled()) {