Reviewers: Benedikt Meurer,
Message:
Committed patchset #1 manually as r21073 (presubmit successful).
Description:
Remove BootUpMemoryUse test.
BUG=
R=bmeu...@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21073
Please review this at https://codereview.chromium.org/254273002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -24 lines):
M test/cctest/test-mark-compact.cc
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc
b/test/cctest/test-mark-compact.cc
index
a68530189e383107375e747f9b6448ce2dc5a99a..3244cc9e63ce8ba3b2de8feefd9093463a7539ea
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);
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.