summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-09-02 17:44:35 -0700
committer Elliott Hughes <enh@google.com> 2011-09-02 17:44:35 -0700
commit0db460b881a3fdaa63d581a1dc39e417d682faaa (patch)
tree367d1431634a9a8418a99034fc38af36f491c281
parent9b81cf3cbd222363c087807406fd54d27ca57cc6 (diff)
Make our tests only 2x slower than they were this morning...
...by disabling the expensive heap checks that made us 6x slower. Change-Id: I049db7ab256214b79d67586e1f70bbf7a1936608
-rw-r--r--src/common_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common_test.h b/src/common_test.h
index 5318008c9b..5943714d9d 100644
--- a/src/common_test.h
+++ b/src/common_test.h
@@ -90,6 +90,7 @@ class CommonTest : public testing::Test {
ASSERT_TRUE(runtime_.get() != NULL);
class_linker_ = runtime_->GetClassLinker();
+ //Heap::DisableObjectValidation();
Heap::VerifyHeap(); // Check for heap corruption before the test
}