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)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 25 Feb 2019 14:17:57 +0000 (14:17 +0000)
commit28cfcec6f616f1af639833327c9fabeaa2f4cf74
treeadcd06d93ab1e65b7630000ced2bb5bf1eb3f827
parentc5ea003bbbf9ffe35c1249b0c3feee04a1eda956
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

(cherry picked from commit d2a975adb5b97be5e8f86a603666a66bdc934fd6)

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