summaryrefslogtreecommitdiff
path: root/oatdump/oatdump_image_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite hot method info retrieval.Vladimir Marko2021-03-151-4/+4
| | | | | | | | | | | | | | | Remove the `ProfileCompilationInfo::GetHotMethodInfo()` API and provide another API to tie profile indexes to dex files for inline caches that avoids unnecessary heap allocations. And look up only dex caches for the referenced dex files when getting AOT inline caches in HInliner. Test: m test-art-host-gtest Test: testrunner.py --host --optimzing Test: boots. Bug: 181943478 Change-Id: I124ac4870b0f483c1f0422c841c4ff69fc95b7e0
* Remove MIPS support from dex2oat.Vladimir Marko2020-02-121-8/+6
| | | | | | | | Test: aosp_taimen-userdebug boots. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 147346243 Change-Id: Id29631ca0344d5bd4fcc8df7605580c9ed628f72
* Revert "Remove ShadowFrame::dex_pc_ (but keep dex_pc_ptr_)"David Srbecky2019-07-051-4/+4
| | | | | | | | This reverts commit 50bc8fb89c79874e731f245abda3b9e48a541cfe. Reason for revert: Performance regression Change-Id: Ib39ceb9e1f2753c518dd24fd193a824211fd5795
* Remove ShadowFrame::dex_pc_ (but keep dex_pc_ptr_)David Srbecky2019-07-031-4/+4
| | | | | | | They store the same information which is redundant and error prone. Test: ./art/test.py --interpreter Change-Id: I379c20973b90645e3c1016c253d9a6db9a2417dc
* Fix oatdump_image_test.Nicolas Geoffray2019-01-261-2/+2
| | | | | | | It needs to rune on the core oat file, not an app odex. Test: oatdump_image_test Change-Id: I7f6390e21aac794784230b038a4386682ee360d4
* ART: Clean up test exec codeAndreas Gampe2018-07-131-6/+15
| | | | | | | | | | | | | Add a helper for fork+exec of another program and collection of that process' output. Use the helper in other code. Clean up some tests. Move away from global #ifdef ARCH and disable tests with the usual-style macros so that it's easier to see refactoring issues immediately. Test: mmma Test: m test-art-host Change-Id: Ic450e8a3bb24fc6fe423c0e1e007eb0bb34e22b4
* Fix oatdump for app with --boot-image and add test.Vladimir Marko2018-02-281-1/+1
| | | | | | Test: oatdump_app_test Bug: 67081292 Change-Id: I2e0bccac4ab866f6b54855f9795b16f2ea30c9bb
* Split image_test and oatdump_test.Vladimir Marko2017-05-021-0/+43
With sufficient -j, splitting the oatdump_test makes gtests finish faster, splitting image_test makes valgring tests finish faster. make -j 48 valgrind-test-art-host-gtest - before: #### make completed successfully (05:20:16 (hh:mm:ss)) #### - after: #### make completed successfully (03:05:43 (hh:mm:ss)) #### Note that the new image_*test variants are still running long after the rest of the tests is finished. Further splitting may still be beneficial for host tests. Target tests with lower -j parameter do not benefit that much. Test: make -j 48 valgrind-test-art-host-gtest Bug: 36849303 Change-Id: I2b887e6b3266f9d3efd7b4d71dde0fcf012829d2