diff options
author | Roland Levillain <rpl@google.com> | 2019-02-04 15:48:09 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2019-02-25 14:24:45 +0000 |
commit | 688ed594ba5478f46ad4711889267a2dc47d5df5 (patch) | |
tree | 5e0fab7d987828981b0d58f8f028c86f73b45b67 /rs/java/android/renderscript/ProgramStore.java | |
parent | 28cfcec6f616f1af639833327c9fabeaa2f4cf74 (diff) |
Read "gctype" flag from namespace "runtime_native_boot".
ART does not support changing the garbage collector type/configuration
dynamically at the moment, so we can only change it when the runtime
starts, i.e. at boot time.
Also materialize "gctype" and "runtime_native_boot" as named constants.
Bug: 120794191
Bug: 72446017
Test: adb shell device_config put runtime_native_boot gctype nogenerational_cc && adb reboot
Test: adb shell device_config put runtime_native_boot gctype generational_cc && adb reboot
(cherry picked from commit 7b098c8487a05360de8f80fde48cfd28a3aa8321)
Change-Id: Ied0eacf46ab92ba128d0a538a314f42c18c5b8f5
Merged-In: Ibf765a5f442136d6327be99786ea9ae4b4537d59
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions