diff options
| author | Andy McFadden <fadden@android.com> | 2010-09-30 14:02:54 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2010-09-30 15:15:32 -0700 |
| commit | d8b5f50d0c6c9a0ce157e89df4ee1e8eb8b334c3 (patch) | |
| tree | 6eeec1d0e2739d802fc5f3b8455bb403a240f57e /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | f45b6cbed6ce7cb6a38746b5abe0213263106a71 (diff) | |
Correct dexopt for uniprocessors.
The SMP flag was defaulting to "true" for dexopt, even on uniprocessors.
With this change the VM now has three choices: dexopt for SMP, dexopt
for uniprocessor, or dexopt for current system. The last is used for
just-in-time dexopt (used by -eng and -userdebug builds on bootstrap DEX
files) and installd dexopt (used for apps on all builds).
The dexopt used by the build system during -user builds will either be
explicitly SMP or explicitly uniprocessor, since "current system" has
no meaning when you're cross-dexopting.
Also, unified the dexopt control flags into a single enum.
(cherry-pick from dalvik-dev)
Change-Id: Id1d9c548ca8567585a28ef9ee911cc2ac6b116dd
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions
