OSDN Git Service

Add gctype device config property for GC experiments
authorMathieu Chartier <mathieuc@google.com>
Mon, 28 Jan 2019 19:11:25 +0000 (11:11 -0800)
committerMathieu Chartier <mathieuc@google.com>
Wed, 30 Jan 2019 02:08:12 +0000 (18:08 -0800)
commitd2a975adb5b97be5e8f86a603666a66bdc934fd6
tree25ef3dc90d18baabaad28d6c82ecea0c57de387d
parent1444690e53ee5a72cd745e1cd7287a03d315fc01
Add gctype device config property for GC experiments

Added to the runtime_native namespace.

The new property overrides dalvik.vm.gctype if it's set.

Bug: 120794191
Test: adb shell device_config put runtime_native gctype CC,preverify
Test: adb reboot

Change-Id: I30a2a3bcfb83f502f168c0d8588d80982a5f7d76
core/jni/Android.bp
core/jni/AndroidRuntime.cpp