summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInitWrapper1.java
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2019-04-18 18:39:02 +0000
committerMathieu Chartier <mathieuc@google.com>2019-04-25 03:51:33 +0000
commit72736d90de9358bdeecf15312ab2398a705d172c (patch)
tree33c7209037e6950261e4e47947815805d4673056 /test/008-exceptions/src/MultiDexBadInitWrapper1.java
parent63a13159b84e8f872fc8062b2c8208b10fe43d41 (diff)
Revert^2 "Optimize FindClass ClassNotFoundException case"
With the current class loaders, there are many exceptions thrown for each ClassNotFoundexception from FindClass calling ClassLoader.loadClass. This CL reduces that by throwing directly from FindClass to avoid these extra exceptions. Numbers are from logging time taken by QuickDeliverException. Time spent in exception throwing during startup goes down (Pixel 2 XL): Camera: 20ms -> 5ms Calculator: 5ms -> 2ms Maps: 20ms -> 10ms Added option -XX:FastClassNotFoundException=<bool> to enable or disable the feature. This reverts commit d399f579cf2a8462ef6f1fbea360fe62be174377. Bug: 130310316 Bug: 130293184 Bug: 130209120 Test: test-art-host Test: art/test/testrunner/testrunner.py --host --no-prebuild -t 134 (cherry picked from commit 87658f3e8877afdf80990ba986841dba9037da50) Merged-In: I059abce98fe876d89de35d099647ee673c27343b Change-Id: I37f4cc1bba8cb46522fd9e016594c2dc24ebe74a
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInitWrapper1.java')
0 files changed, 0 insertions, 0 deletions