summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2017-04-13 14:21:01 +0100
committer Roland Levillain <rpl@google.com> 2017-04-13 16:38:31 +0100
commit245af87476b6784a2a1da04b47a0f1fc87ccc9c0 (patch)
tree0659aed19214377de8bb54b83751a4fda655050a
parentb1a52116a1ca418dcccad2ca2acd6cb36f8ca0e7 (diff)
Make ART build/test configurations use the CC collector by default.
As the concurrent copying (CC) garbage collector is currently the default GC in ART, set `ART_USE_READ_BARRIER` to `true` on most build/test configurations, with the exception of configurations meant to explicitly exercise a specific collector, GC configuration, heap poisoning, or a build using Valgrind. Test: Rely on ab/master-art-host builds. Bug: 12687968 Change-Id: I6ef7d3ad668aa2d608f7e70794fb110aa65375ea
-rw-r--r--test/testrunner/target_config.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py
index 95ab2e7875..6e47c5eb7a 100644
--- a/test/testrunner/target_config.py
+++ b/test/testrunner/target_config.py
@@ -26,7 +26,7 @@ target_config = {
'make' : 'test-art-host-gtest',
'run-test' : [],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},
@@ -45,19 +45,19 @@ target_config = {
'art-interpreter' : {
'run-test' : ['--interpreter'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},
'art-interpreter-access-checks' : {
'run-test' : ['--interp-ac'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},
'art-jit' : {
'run-test' : ['--jit'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},
'art-gcstress-gcverify': {
@@ -167,51 +167,51 @@ target_config = {
'art-tracing' : {
'run-test' : ['--trace'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},
'art-interpreter-tracing' : {
'run-test' : ['--interpreter',
'--trace'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-forcecopy' : {
'run-test' : ['--forcecopy'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-no-prebuild' : {
'run-test' : ['--no-prebuild'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-no-image' : {
'run-test' : ['--no-image'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-interpreter-no-image' : {
'run-test' : ['--interpreter',
'--no-image'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-relocate-no-patchoat' : {
'run-test' : ['--relocate-npatchoat'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-no-dex2oat' : {
'run-test' : ['--no-dex2oat'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false',
+ 'ART_USE_READ_BARRIER' : 'true',
}
},
'art-heap-poisoning' : {
@@ -231,7 +231,7 @@ target_config = {
'--relocate',
'--jit'],
'env' : {
- 'ART_USE_READ_BARRIER' : 'false'
+ 'ART_USE_READ_BARRIER' : 'true'
}
},