Fix relation between debuggable / JIT zygote.
- Move the logic to clear precompiled in ClassLinker.
- Add a null check on entries in ZygoteMap
- Avoid doing JIT zygote actions (precompile, remapping boot images)
when debuggable.
Test: android.jdwptunnel.cts.JdwpTunnelTest#testAttachDebuggerToProfileableApp
Bug: 144947842
(cherry-picked from commit c76232ef401a036a9828fd27f22163619d9c1944)
Merged-In: I9b5e391bb35aa04bbeba01b9b563b33f96395d2e
Change-Id: I9b5e391bb35aa04bbeba01b9b563b33f96395d2e
5 files changed