summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.cc
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2022-05-29 14:17:29 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2022-08-10 18:06:05 +0000
commit65429ce9bcaf8779f5d6cd14aeee4acd60006095 (patch)
tree1f2f185a17d43dd9a5aecdeaad09d4706c37cbc8 /runtime/common_runtime_test.cc
parentca5ed9f281a5758814d2495da80178de56945720 (diff)
Fix gtest failures due to userfaultfd GC
Mostly involved replacing compile-test check for read-barrier with runtime one. Bug: 160737021 Test: art/test/testrunner/run_build_test_target.py -j <core-count> art-test Change-Id: I685e4b717d314a19f7714ece5c8b84f23154cc66
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r--runtime/common_runtime_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc
index a48d860f0a..cd3968610b 100644
--- a/runtime/common_runtime_test.cc
+++ b/runtime/common_runtime_test.cc
@@ -166,9 +166,6 @@ void CommonRuntimeTestImpl::FinalizeSetup() {
WellKnownClasses::Init(Thread::Current()->GetJniEnv());
InitializeIntrinsics();
- // Create the heap thread pool so that the GC runs in parallel for tests. Normally, the thread
- // pool is created by the runtime.
- runtime_->GetHeap()->CreateThreadPool();
runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test
// Reduce timinig-dependent flakiness in OOME behavior (eg StubTest.AllocObject).
runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U);