summaryrefslogtreecommitdiff
path: root/test/532-checker-nonnull-arrayset/src/Main.java
AgeCommit message (Collapse)Author
2017-12-03Enhance removed loads/substitutes in LSE.Mingyao Yang
LSE does load removal in the end in order to maintain the validity of all the heap locations collected in the first pass. We should however proactively retrieve a removed load's substitute as its value. This simplifies the handling of substitutes by making sure the substitute itself has no substitute. It also enables some additional optimizations by using the true heap value for merging/same-value test, etc. Test: run-test on host. Change-Id: I26d97e7794d80a141ab02bf446dd07656f5cde1d
2017-03-06Array store/allocation eliminationMingyao Yang
Allow array store/allocation elimination if it's only accessed by constant index, so that there is no index-aliasing. Bug: 35634932 Test: m -j20 test-art-host-run-test Change-Id: Ief6e27f5bdbb30988ff4f318a34b4251c93865fa
2015-10-22Revert "Revert "load store elimination.""Mingyao Yang
This reverts commit 8030c4100d2586fac39ed4007c61ee91d4ea4f25. Change-Id: I79558d85484be5f5d04e4a44bea7201fece440f0
2015-10-15Revert "load store elimination."Nicolas Geoffray
Breaks libcore tests: libcore.java.lang.ref.FinalizeTest#testWatchdogDoesNotFailForObjectsThatAreNearTheDeadline libcore.java.util.ResourceLeakageDetectorTest#testDetectsUnclosedCloseGuard org.apache.harmony.tests.java.lang.ref.ReferenceTest#test_finalizeReferenceInteraction This reverts commit 589dac7f0ce078d19aad7e35bb0195c47ddf01d2. Change-Id: I55115765c10762d5bc152d3425e4622560d8b9f4
2015-10-15load store elimination.Mingyao Yang
This adds a pass to eliminate some unnecessary heap loads/stores. It first collects heap locations and then tracks values stored to those heap locations. Alias analysis is done based on offset, type, singleton, pre-existence, etc. Change-Id: I11a9d8ef20d1b2f245607eb25118e9aff9be472a
2015-09-29Use dominance information for null optimization in write barrier.Nicolas Geoffray
Change-Id: I8b57dafcd321c9afa1bbfc6a0674cbea15cbf10c