summaryrefslogtreecommitdiff
path: root/runtime/method_handles_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move implementations from class_root.h to -inl.h .Vladimir Marko2020-05-131-1/+1
| | | | | | | | | | Make it possible to include the definition of enum ClassRoot without pulling in a lot of other headers. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Change-Id: Ic90fdd70bfe0c5428a5c9a0d7901ea7e15b03488
* ObjPtr<>-ify method/var handles, fix stale refs in tests.Vladimir Marko2019-03-281-2/+2
| | | | | | | Test: m test-art-host-gtest Test: testrunner.py --host --interpreter Bug: 31113334 Change-Id: I89ea84f7970899643e437161b598d3232a182e98
* ART: Add object-array-alloc-inl.hAndreas Gampe2018-10-261-0/+1
| | | | | | | | | | In an effort to reduce the (transitive) proliferation of heap-inl add a specific inline header for object array allocation. Bug: 118385392 Test: mmma art Test: m test-art-host Change-Id: I0d7c40ed53708d4c759190961b40f0cac3fe696d
* ObjPtr<>-ify array allocations.Vladimir Marko2018-06-011-8/+6
| | | | | | | | | And remove some unnecessary calls to ObjPtr<>::Ptr(). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: Ie313980f7f23b33b0ccea4fa8d5131d643c59080
* ObjPtr<>-ify ClassLinker::FindClass(), fix 1 stale reference use.Vladimir Marko2018-05-311-3/+3
| | | | | | | | | | Thread::CreateAnnotatedStackTrace() was using a stale reference `aste_array_class`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: I191907c0053456bb57de425aa6ccd9668df818a2
* ART: Type conversion fixes for MethodHandlesOrion Hodson2018-01-291-0/+382
Remove illegal conversion path from byte to short. Throw WrongMethodTypeException on later error paths of reference to primitive conversion. Bug: 72489224 Test: art/test.py --host -g Change-Id: Iddca81ee7185bb90cc5e8ab19cfa03ddfb1652ec