summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2019-04-18 18:39:02 +0000
committerAndreas Gampe <agampe@google.com>2019-04-19 15:37:20 +0000
commit87658f3e8877afdf80990ba986841dba9037da50 (patch)
tree9dc0019e277ab8313e7e0376339202be9b9d4d19 /test/ProfileTestMultiDex/Main.java
parentd5d807bc2d4e538f6f9a4cf5bb2b010482504c9d (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 Change-Id: I059abce98fe876d89de35d099647ee673c27343b
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions