summaryrefslogtreecommitdiff
path: root/test/572-checker-array-get-regression/src/Main.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Load the array class in the compiler for allocations.""Nicolas Geoffray2017-01-191-4/+4
| | | | | | This reverts commit fee255039e30c1c3dfc70c426c3d176221c3cdf9. Change-Id: I02b45f9a659d872feeb35df40b42c1be9878413a
* Revert "Load the array class in the compiler for allocations."Hiroshi Yamauchi2017-01-191-4/+4
| | | | | | | | libcore test fails. This reverts commit cc99df230feb46ba717252f002d0cc2da6828421. Change-Id: I5bac595acd2b240886062e8c1f11f9095ff6a9ed
* Load the array class in the compiler for allocations.Nicolas Geoffray2017-01-181-4/+4
| | | | | | | | | | | | | | Removing one other dependency for needing to pass the current method, and having dex_cache_resolved_types_ in ArtMethod. oat file increase: - x64: 0.25% - arm32: 0.30% - x86: 0.28% test: test-art-host, test-art-target Change-Id: Ibca4fa00d3e31954db2ccb1f65a584b8c67cb230
* ART: Naive NullCheck elimination in InstructionBuilderDavid Brazdil2016-04-221-5/+3
| | | | | | | | | | | Save a little bit of memory by not generating trivially redundant HNullCheck instructions. This patch builds on the fact that the InstructionBuilder now directly generates SSA form and looks at the input of the NullCheck. For obvious cases, such as NewInstance/Array or `this`, the NullCheck generation is completely avoided. Bug: 28173563 Change-Id: I1fdf3b096c7a939f7b8586c02a2a6b44dfa43443
* Fix broken testsDavid Brazdil2016-02-151-1/+1
| | | | Change-Id: I9d0f1064e8cd63045283445946c46594a50d4b84
* Make run test 572-checker-array-get-regression gcstress friendly.Roland Levillain2016-02-111-7/+8
| | | | | | | | | | | | The large array allocated in test/572-checker-array-get-regression/src/Main.java used to be too big for the small heap used in gcstress mode. Use a smaller array size that however still exercises the initial issue checked by this regression test. Bug: 26817006 Bug: 12687968 Change-Id: Id7080a18007cad9b5d4ac31b45f7df46213a908e
* Fix run test 572-checker-array-get-regression on 32-bit archs.Roland Levillain2016-02-101-2/+2
| | | | | | | | | HCurrentMethod instructions are typed as long on 64-bit architectures, but as integer on 32-bit ones. Bug: 26817006 Bug: 12687968 Change-Id: Icec2f0b0629c0af7a7afeabb0fd2881babb86368
* Fix ARM64 Baker's read barrier fast path for ArraySet.Roland Levillain2016-02-091-0/+60
Do not exhaust the pool of scratch (temporary) registers gratuitously when emitting an instrumented array load with a large constant index. Bug: 26817006 Bug: 12687968 Change-Id: I65a4fe676aa3c9e2c8d7e26195d9af6432c83ff9