diff options
author | Orion Hodson <oth@google.com> | 2018-05-17 14:03:39 +0100 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2018-05-21 15:30:48 +0100 |
commit | 3f383468e14822b9eb125d087e3e38df8b0cf1f5 (patch) | |
tree | 88cccf042559fd9fcffd3714fb9658766100391f /compiler/optimizing/graph_visualizer.cc | |
parent | 80a7c29b29c50c1c6cf40093a4552dacd4c5d638 (diff) |
ART: Faster 712-varhandle-invocations
Reduce number of allocations when running 712-varhandle-invocations as
it timeouts under gcstress.
In the runtime, avoid allocating a MethodType when raising a
WrongMethodTypeException when dispatching an erroneous VarHandle
accessor.
In the test, limit the number of incorrect types tested in boxing test
portion of 712 which is particularly slow. And pre-allocate boxed
values and share across sub-tests.
The total time to run 712-varhandle-invocations is reduced by 45% on
host and 33% on angler.
Test: art/test/run-test --host --64 --gcstress 712
Bug: 73275005
Change-Id: If5b323a61291d490f51638d416c2529874282f1c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions