summaryrefslogtreecommitdiff
path: root/test/572-checker-array-get-regression/src/Main.java
AgeCommit message (Collapse)Author
2017-01-19Revert "Revert "Load the array class in the compiler for allocations.""Nicolas Geoffray
This reverts commit fee255039e30c1c3dfc70c426c3d176221c3cdf9. Change-Id: I02b45f9a659d872feeb35df40b42c1be9878413a
2017-01-19Revert "Load the array class in the compiler for allocations."Hiroshi Yamauchi
libcore test fails. This reverts commit cc99df230feb46ba717252f002d0cc2da6828421. Change-Id: I5bac595acd2b240886062e8c1f11f9095ff6a9ed
2017-01-18Load the array class in the compiler for allocations.Nicolas Geoffray
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
2016-04-22ART: Naive NullCheck elimination in InstructionBuilderDavid Brazdil
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
2016-02-15Fix broken testsDavid Brazdil
Change-Id: I9d0f1064e8cd63045283445946c46594a50d4b84
2016-02-11Make run test 572-checker-array-get-regression gcstress friendly.Roland Levillain
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
2016-02-10Fix run test 572-checker-array-get-regression on 32-bit archs.Roland Levillain
HCurrentMethod instructions are typed as long on 64-bit architectures, but as integer on 32-bit ones. Bug: 26817006 Bug: 12687968 Change-Id: Icec2f0b0629c0af7a7afeabb0fd2881babb86368
2016-02-09Fix ARM64 Baker's read barrier fast path for ArraySet.Roland Levillain
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