summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2019-02-19 18:09:58 +0000
committerNicolas Geoffray <ngeoffray@google.com>2019-02-25 14:25:12 +0000
commit72a1815e6fc40ae6fc6c48f0601a3624d50b6d78 (patch)
tree0dbd4edb8e6a1dc357138aa5a606aac9c338e09f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentddcbe90fb7c631c897c9d6b752dca0f946573dd0 (diff)
Replace generic GC type flag with a specific Generational CC flag.
The "gctype" device configuration flag (from the "runtime_native_boot" namespace) was a string passed verbatim as an argument to the runtime option "-Xgc". It was too generic, conveyed no typing information, and was error-prone (there was no control over what was passed from the server to the zygote, and then to the runtime). This change replaces "gctype" with a specific, Boolean "enable_generational_cc" flag. This new flag better reflects the nature of the experiment to be conducted (either enable or disable generational garbage collection in ART's concurrent copying collector). Test: core/jni/runtime_native_boot-flags-test.sh Bug: 72446017 Bug: 120794191 Bug: 123754583 (cherry picked from commit 72b16f0ad0a4f0f81c0db4a24ecd6629348950e0) Change-Id: I5f30f38914bb44d6ce9dc6870ee2c566ce66278a Merged-In: I30a73171c0dc3c7bc891c4f164eed0ba42b0f420
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions