- 24 Jul, 2015 1 commit
-
-
Andreas Gampe authored
-
- 23 Jul, 2015 2 commits
-
-
Andreas Gampe authored
Make offsets 16 digits on 64-bit platforms. Add the ability to provide the build fingerprint, and print it in the traces output. Bug: 22693991 Change-Id: Ibd3d3b3bd65dce84acfb97a487807d6f280a9508
-
Vladimir Marko authored
Quick's SuspendCheckElimination (SCE) expects that every method contains a suspend check and it eliminates suspend checks in loops containing an invoke. Optimizing eliminates the suspend check from leaf methods, so the combination of a Quick-compiled loop calling an Optimizing-compiled leaf method can lead to missing suspend checks and potentially leading to ANRs. Enable Quick's kLeafOptimization flag to remove suspend checks from leaf methods and disable Quick's SCE. This aligns the suspend check placement for the two backends and avoids the broken combination. Currently, all methods containing a try-catch are compiled with Quick, so it's relatively easy to create a regression test. However, this test will not be valid when Optimizing starts supporting try-catch. Bug: 22657404 (cherry picked from commit d29e8487) Change-Id: I733c38bf68bfc2c618f2f2e6b59f8b0e015d7be1
-
- 21 Jul, 2015 3 commits
-
-
Mathieu Chartier authored
-
Mathieu Chartier authored
(cherry picked from commit 7c0fe5e9) Bug: 22541058 Change-Id: Id084a69ccd9835147ec71df6bb759e0f1b5e6fbf
-
Mathieu Chartier authored
Fixes failing DCHECK. (cherry picked from commit ef76c3fa) Bug: 22553459 Change-Id: I6fe1012f9a5f8d29cb98bf25e3a279da51c5e1c0
-
- 17 Jul, 2015 2 commits
-
-
Nicolas Geoffray authored
In order to get closer to our code increase limit. Bug:21868508 (cherry picked from commit 432bf3d5) Change-Id: Iab19fe99a8a869b0fb841bac317016e4a3dc00e2
-
Nicolas Geoffray authored
-
- 16 Jul, 2015 2 commits
-
-
Serguei Katkov authored
Boolean simplifier should not remove condition instruction if it has side effects. (cherry picked from commit 108ceb48) Change-Id: I00dd595da1bba0f027f5c8647035e9fd8ba62ee1
-
Serguei Katkov authored
array-length can throw NPE so it should be taking into account. Bug: 22521944 Signed-off-by:
Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit b016c6dd) Change-Id: I6232430a02f9e6d156ad2aae0eb5a630118c0e79
-
- 13 Jul, 2015 7 commits
-
-
Christopher Ferris authored
-
Christopher Ferris authored
With this change, I can now enable debug malloc fully. Bug: 19071092 Change-Id: Iabfb18505feffb480504a8bbfbac60dd219ed48a
-
Roland Levillain authored
(cherry picked from commit c3f73f78) Bug: 21555893 Change-Id: I92e11637cc1f8f694e4d4138512cbcf47e22a249
-
Roland Levillain authored
-
Douglas Leung authored
This fixes art test 449-checker-bce. (cherry picked from commit 2e8bf554) Bug: 21555893 Change-Id: I9a87c430168ea35984289b0b4a417aa0c659b6d5
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
bug:22389275 Partial cherry-pick of: https://android-review.googlesource.com/#/c/151853 (commit e12997fb) Change-Id: Ia30b817be1b50d97243ba32967eeee359ed679c4
-
- 11 Jul, 2015 1 commit
-
-
Mathieu Chartier authored
Added missing GetInterfaceMethodIfProxy and test. Fixed formatting. Bug: 22411819 https://code.google.com/p/android-developer-preview/issues/detail?id=2635 (cherry picked from commit 72156e28) Change-Id: I3eece9c72091bb9d0262aacf0a75ec6908b5f4d2
-
- 09 Jul, 2015 6 commits
-
-
Andreas Gampe authored
The result of a merge with an Undefined type should be Undefined. Conflicts are allowed to be copied around, but Undefined registers should not be touched at all, except to be written into. Add a success test case (the register isn't used) and a fail test case (the register is tried to be copied). Bug: 22331663 Bug: 22371999 (cherry picked from commit 97a1ff35) Change-Id: I9697ce31c1d2ab5aee0433dcf1253bcca79c2983
-
Andreas Gampe authored
Fixes a breakage from 38536287. Ensure that v4 is not undefined when an exception may be thrown (at the new-instance). Bug: 22331663 Bug: 22371999 (cherry picked from commit 7135ff0f) Change-Id: Ice36ddda5ca92ea32fa88523dd616d4f2a61027e
-
Andreas Gampe authored
-
Andreas Gampe authored
Allow a list of files to pull. This improves turnaround time when tracking down perf hotspots. Bug: 21760614 Change-Id: I824e875053940d59eb00f9d796ef402632905c39
-
Sebastien Hertz authored
This CL adds support to compile run-test source files with jack. When a test needs to rely on class files, we use jill to convert them to a jack library. We need to pass the full classpath to jack containing at least core classes (like java.lang.Object). This means the Android tree must have been compiled with jack first so we find all the necessary classes.jack files. Some tests still rely on dex files generated with the old toolchain. We keep building them this way for the moment and will update them later, when they get ready for Jack. Also updates a few tests dealing with garbage collection to avoid a situation where a reference can be retained by a local DEX register. Bug: 19467889 (cherry picked from commit 19ac0276) Change-Id: Ia5a989b83430ffe8298a869a1da970b756721bb0
-
Andreas Gampe authored
As long as conflicts are not actively being used, it is OK to set them in a register line or copy them around. Bug: 22331663 (cherry picked from commit 38536287) Change-Id: I61999e2d9c92f9bdedcb0a5dea54df3c5bb130ca
-
- 08 Jul, 2015 3 commits
-
-
Andreas Gampe authored
Follow-up to 414000ec. Bug: 21886894 Bug: 22245124 (cherry picked from commit 890da29d) Change-Id: I3728187bd8526cdf84f95b123e6fad5d6c5a8b3c
-
Andreas Gampe authored
-
Andreas Gampe authored
In the worst case we are using two temps each for input and output. Then we do not have a temp left over for the swap operations. The input is dead, however, after the first swap. So try to release it (a no-op if it isn't actually a temp). Bug: 22324327 (cherry picked from commit 575422fa) Change-Id: I1fc50159afdad14160e34abeaf4670958171d6b2
-
- 07 Jul, 2015 1 commit
-
-
Andreas Gampe authored
If the destination register is a reference, use kReference for the op size. Bug: 22244733 (cherry picked from commit 185a5586) Change-Id: Idf52f2ee4c65b5dc41cb66257d95281dc6f32255
-
- 03 Jul, 2015 1 commit
-
-
Douglas Leung authored
(cherry picked from commit 22bb5a2e) Bug: 21555893 Change-Id: I2a995be128a5603d08753c14956dd8c8240ac63c
-
- 02 Jul, 2015 1 commit
-
-
Nicolas Geoffray authored
We don't need to refine the type after a null check, if the instruction is known non null or null. As a side effect, this avoids replacing HLoadClass instructions with HBoundType instructions. bug:22116987 Change-Id: I565ae95db5a64faec30e026674636e398e0bf445
-
- 01 Jul, 2015 6 commits
-
-
Andreas Gampe authored
-
Andreas Gampe authored
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
-
- 30 Jun, 2015 3 commits
-
-
Andreas Gampe authored
The removed call is superfluous under normal operation and harmful when running a native-bridged library. Bug: 22194296 Bug: https://code.google.com/p/android-developer-preview/issues/detail?id=2367 (cherry picked from commit 8fec90b4) Change-Id: I3eb8f435a6a974a3e87a370b254ba8752f2a59b3
-
Andreas Gampe authored
-
Andreas Gampe authored
Dex2oat must create a new file (new inode) when writing to a target given by name, as the existing file may be in use. So unlink any existing file first. Bug: 22047255 Change-Id: Ief942c71564076e39c1e8340d5c4c55286f75896
-
- 29 Jun, 2015 1 commit
-
-
Nicolas Geoffray authored
A dead phi is not properly typed. Therefore, always use the live phi equivalent instead. bug:21865466 (cherry picked from commit 4230e189) Change-Id: If9a3313fc953c2eb4be85b625676e48112fcb1f6
-