summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-07-19 23:13:18 -0700
committerAndreas Gampe <agampe@google.com>2017-08-22 15:52:33 -0700
commit1563f26736ee09a2c35973ea167b2ed0d7c0d307 (patch)
tree109bf4ea302751c08ee40d733b2883642368f06c /test/ProfileTestMultiDex/Main.java
parent3efecdef520e80cd79f34549c4ba3a77042d0d92 (diff)
ART: Account for OOME during array merging
When joining class types, in the case of arrays it is possible that a join type cannot be created (e.g., there's no Java heap to actually create the class). In that case report an unresolved reference. For AoT this will lead to re-verification at runtime. At runtime, this will most likely fail the class. However, have a special cutout that aborts for AoT on the host, to protect determinism of preopting. The decision for an unresolved reference type was made as we do not want to propagate the underlying exception out of verification. This would require significant work along all call edges, violating the current design and invariants of the verifier. Extend reg_type_test. (cherry picked from commit 64d2d3e9c7d935dfe879f68019970983fee7189d) Bug: 63822536 Test: m test-art-host-gtest-reg_type_test Merged-In: I823201e3c401b2c2a46a46fad3327a28e049c181 Change-Id: I823201e3c401b2c2a46a46fad3327a28e049c181
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions