OSDN Git Service

[DO NOT MERGE] Add flag to "am start" to enable native debugging
authorTamas Berghammer <tberghammer@google.com>
Fri, 29 Jan 2016 12:07:00 +0000 (12:07 +0000)
committerDavid Srbecky <dsrbecky@google.com>
Mon, 14 Mar 2016 11:48:40 +0000 (11:48 +0000)
commit21bdaf14a2bb9dc5baeb3109d3af99518572ce51
treeee9c3ac359e9ba4ba78b322b9f4f78789ddda10e
parent8a49cf4cae33c13cc6a52039808d2cf6250b0794
[DO NOT MERGE] Add flag to "am start" to enable native debugging

[Backported form internal CL854980]

Specifying the new flag will enable several features in the runtime
required by the native debugger to debug Java and C++ code at the same
time.

The enabled features:
* Force JIT (never use the interpreter)
* Debug info generation
* Disable some optimizations

Change-Id: Iaf5ab649715a0c274bd1b0fc64e483705da53cd0
cmds/am/src/com/android/commands/am/Am.java
core/java/android/app/ActivityManager.java
core/java/android/os/Process.java
core/java/com/android/internal/os/Zygote.java
core/java/com/android/internal/os/ZygoteConnection.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java