From: hpayer@chromium.org Date: Wed, 30 Apr 2014 08:19:38 +0000 (+0000) Subject: Remove BootUpMemoryUse test. X-Git-Tag: upstream/4.7.83~9336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7768f4cd81477fd78eab509e37b224284d3b788;p=platform%2Fupstream%2Fv8.git Remove BootUpMemoryUse test. BUG= R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/254273002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21073 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc index fad230e..1a0e94f 100644 --- a/test/cctest/test-mark-compact.cc +++ b/test/cctest/test-mark-compact.cc @@ -484,30 +484,6 @@ static intptr_t MemoryInUse() { } -TEST(BootUpMemoryUse) { - intptr_t initial_memory = MemoryInUse(); - // Avoid flakiness. - FLAG_crankshaft = false; - FLAG_concurrent_osr = false; - FLAG_concurrent_recompilation = false; - - // Only Linux has the proc filesystem and only if it is mapped. If it's not - // there we just skip the test. - if (initial_memory >= 0) { - CcTest::InitializeVM(); - intptr_t delta = MemoryInUse() - initial_memory; - printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024); - if (v8::internal::Snapshot::IsEnabled()) { - CHECK_LE(delta, - 3200 * 1024 * FullCodeGenerator::kBootCodeSizeMultiplier / 100); - } else { - CHECK_LE(delta, - 3350 * 1024 * FullCodeGenerator::kBootCodeSizeMultiplier / 100); - } - } -} - - intptr_t ShortLivingIsolate() { v8::Isolate* isolate = v8::Isolate::New(); { v8::Isolate::Scope isolate_scope(isolate);