summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorHajime Morrita <morrita@google.com>2021-06-21 15:29:20 -0700
committerHajime Morrita <morrita@google.com>2021-06-22 09:33:16 -0700
commit9ffa963efff9d2147fe3f5b982ec51173e1790ad (patch)
tree38234d9464784b5a7327b0fc85c4d44079e48232 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentc4bb8a2620891c5f55b80acc04958783548c1c8d (diff)
dexopt: Drop native libraries from the class loader context.
Native shared libraries are recently introduced through <uses-native-library> manifest declaration. This value is intended to limit the native shared library loading path, not to limit Dex shared library path. This CL filters these native libraries from the class loader context encoded into the oat files. Without this change, the class loader specified in the odex and runtime class loader has a discrepancy and the runtime failed to verify the odex file, falling back to a slow execution path. Test: Followed the steps below: * Install the latest GoogleCamera APK. * Run following commands: $ adb shell am start com.google.android.GoogleCamera && \ sleep 5 && \ adb shell am force-stop com.google.android.GoogleCamera $ adb shell cmd package compile -m speed-profile \ -f com.google.android.GoogleCamera $ adb logcat -c && \ adb shell am start com.google.android.GoogleCamera && \ sleep 2 & adb shell 'logcat -d | grep "id.GoogleCamer:"' * No "ClassLoaderContext shared library size mismatch." warning is observed. Bug: 191182412 Change-Id: I069aff0386ac51c842703f5fcd75075a30f09cf5
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions