summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2018-10-23 09:25:22 -0700
committer Alex Light <allight@google.com> 2018-10-23 09:25:22 -0700
commit065f7ccdca7c2c11fae760779687da76d313ce1c (patch)
tree1ea40b646b5b6513f7fc4da4e3d8402a29c88936
parent91fc0910ef548557f4078bd21dca8964a92eadc3 (diff)
Fix system_weak_test 2: GSS
A recent change made the GSS collector also 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 -j50 art-gtest-gss-gc Test: ./art/test/testrunner/run_build_test_target.py -j50 art-gtest-gss-gc-tlab Bug: 76205593 Change-Id: Ic331c7710cb07d8cfc39a8a9eab94cccaa9d7bd1
-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 dad1beba2c..f16ed2d835 100644
--- a/runtime/gc/system_weak_test.cc
+++ b/runtime/gc/system_weak_test.cc
@@ -113,6 +113,7 @@ static bool CollectorDoesAllowOrBroadcast() {
case CollectorType::kCollectorTypeCMS:
case CollectorType::kCollectorTypeCC:
case CollectorType::kCollectorTypeSS:
+ case CollectorType::kCollectorTypeGSS:
return true;
default: