summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2018-10-22 12:27:35 -0700
committer Alex Light <allight@google.com> 2018-10-22 12:27:35 -0700
commit91fc0910ef548557f4078bd21dca8964a92eadc3 (patch)
treeb5269e5e88496267fac1a55b10950e94a7cdbffd
parent7f1fe5d78af99e19ffebc1e5c03f095ea6301ea2 (diff)
Fix system_weak_test
A recent change made the SS collector send the Broadcast event. This caused the system_weak_test to fail when run with this collector. Test: ./art/test/testrunner/run_build_test_target.py -j30 art-gtest-debug-gc Bug: 76205593 Change-Id: I8780492240453f51e40808241ed63c455485834e
-rw-r--r--runtime/gc/system_weak_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc/system_weak_test.cc b/runtime/gc/system_weak_test.cc
index 07725b9a56..dad1beba2c 100644
--- a/runtime/gc/system_weak_test.cc
+++ b/runtime/gc/system_weak_test.cc
@@ -112,6 +112,7 @@ static bool CollectorDoesAllowOrBroadcast() {
switch (type) {
case CollectorType::kCollectorTypeCMS:
case CollectorType::kCollectorTypeCC:
+ case CollectorType::kCollectorTypeSS:
return true;
default: