OSDN Git Service

JIT: Don't update the dex cache of another class loader.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 19 Jul 2016 16:06:23 +0000 (17:06 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 19 Jul 2016 16:46:29 +0000 (17:46 +0100)
commit491617a612c8a1c890e72d8ba780a151ddee8e11
tree3f10b3af3363d70173f43a4235a782e166a5afe2
parent2be946bbf995496fe56364d9b7c4957fcb6aeec5
JIT: Don't update the dex cache of another class loader.

This only works for properly delegating class loaders. But Java allows
non-delegating ones :(

bug:29964720

Change-Id: I8b785e6cdfe9a2b77322521a02b8e59ec332ad83
test:612-jit-dex-cache
12 files changed:
compiler/optimizing/inliner.cc
test/604-hot-static-interface/hot_static_interface.cc [deleted file]
test/604-hot-static-interface/src/Main.java
test/612-jit-dex-cache/expected.txt [new file with mode: 0644]
test/612-jit-dex-cache/info.txt [new file with mode: 0644]
test/612-jit-dex-cache/src-ex/B.java [new file with mode: 0644]
test/612-jit-dex-cache/src-ex/LoadedByAppClassLoader.java [new file with mode: 0644]
test/612-jit-dex-cache/src/A.java [new file with mode: 0644]
test/612-jit-dex-cache/src/B.java [new file with mode: 0644]
test/612-jit-dex-cache/src/Main.java [new file with mode: 0644]
test/Android.libarttest.mk
test/common/runtime_state.cc