summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2015-12-30Merge "Revert "ART: Fix up some multi-image cases"" Nicolas Geoffray
2015-12-30Revert "ART: Fix up some multi-image cases" Nicolas Geoffray
Fails imgdiag_test on device. Bug: 26317072 Bug: 26320300 This reverts commit 288b1e9a0dddfb91e85067fe81de55174f313c7c. Change-Id: Iccd05827b0630281b6f959331eaa4202526df78e
2015-12-30Merge "On x64, cmpl can never take a int64 immediate." Nicolas Geoffray
2015-12-30On x64, cmpl can never take a int64 immediate. Nicolas Geoffray
Fix a wrong type widening in x64 code generator and add CHECKs in the assembler. Change-Id: Id35f5d47c6cf78ed07e73ab783db09712d3c437f
2015-12-28ART: Fix up some multi-image cases Andreas Gampe
Change the auto-generated multi-image names to include the path components from the first image, as well as prefix them with the first image's name to disambiguate. This fixes vogar-style usage. Fix an out-of-bounds issue in dex2oat when dex files are missing. Forbid generating or patching multi-image parts when loading images. Instead just fail loading them. Remember ImageSpace instances that have been added while trying to load a multi-image set. Remove all loaded instances when the overall loading process fails. Refactor the dex location adaptation into ImageSpace. Reuse the code in the Runtime path for fallback, so that all dex files can be found correctly. Fix an out-of-bounds access in OatFileAssistant in fallback mode. Partially reverts d895961d07a1d320b29f2045a48bc5a1944a4d3c. Push an actual image name, that is, something with an art extension, to the vogar scripts. Partially reverts c525604b313bb77a2077e1fec43dfab76cb1b9b1. Test 119-noimage-patchoat works again. Bug: 26317072 Bug: 26320300 Change-Id: I3f05fa77f22a2b9ca54c3105ffc53646c1928604
2015-12-26Tweaks to get run-test working after enso. Nicolas Geoffray
- test 119 temporarily disabled - set java.io.tmpdir in the command line for target bug:26320300 Change-Id: I9ddeac4f23f065eea62511f9fa392ea4764d0435
2015-12-23Dex2oat support for multiple oat file and image file outputs. Jeff Hao
Multiple changes to dex2oat and the runtime to support a --multi-image option. This generates a separate oat file and image file output for each dex file input. Change-Id: Ie1d6f0b8afa8aed5790065b8c2eb177990c60129
2015-12-22Ensure Jack server is running before any use Yohann Roussel
Change-Id: Ie978e994945946139e0faf583c5d767a15ab060e
2015-12-18Merge "For LSE, further optimize stores for singleton references." am: ↵ Mingyao Yang
f8b69bc89a am: a471a50b81 * commit 'a471a50b813a1c6dd0c96d174a2cb6947168cd9c': For LSE, further optimize stores for singleton references.
2015-12-18Merge "ART: Fix bug in LSE" am: d9493c2d61 Nicolas Geoffray
am: bd968bd36f * commit 'bd968bd36f9948d27f63cc1a7abb602ab9264f06': ART: Fix bug in LSE
2015-12-18For LSE, further optimize stores for singleton references. Mingyao Yang
Loop side effects shouldn't affect singletons whose fields are never stored into inside a loop. Change-Id: If3715d7b7e621bb077ef9481072a56f7fec87f2b
2015-12-18ART: Fix bug in LSE David Brazdil
LSE will not remove a load if the type of the heap value does not match the type of the load. This was a workaround for b/22538329 but backfires for integers. For example, 'IntConstant 0' has type int but can be retrieved from a boolean field. The corresponding store is removed but not the load, loading uninitialized memory. This fixes the issue until the workaround is not needed any more. Change-Id: I2a47783e8d5f93104854e5216b69b6c220832c76
2015-12-16Merge "Make the 008-exceptions test print everything to stdout" am: 9ddcbf69cf Andreas Gampe
am: 56add6dda1 * commit '56add6dda1ff45f960f8c59cab0c86a1a3a711f4': Make the 008-exceptions test print everything to stdout
2015-12-16Merge "Make the 008-exceptions test print everything to stdout" Andreas Gampe
2015-12-16Merge "Adjust tests blacklisted for heap poisoning and read barriers." am: ↵ Roland Levillain
1329b15f47 am: 93868031e9 * commit '93868031e9735320f569bf9c313cc265d4396b67': Adjust tests blacklisted for heap poisoning and read barriers.
2015-12-16Merge "Adjust tests blacklisted for heap poisoning and read barriers." Roland Levillain
2015-12-16Make the 008-exceptions test print everything to stdout Kevin Brodsky
Printing to different streams (stderr and stdout) may cause the messages to be interleaved, making the test fail. Without this patch, this kind of outcome has been observed: --- expected.txt 2015-12-09 08:13:50.583294910 +0000 +++ output.txt 2015-12-09 08:55:35.635185771 +0000 @@ -1,15 +1,15 @@ Got an NPE: second throw java.lang.NullPointerException: second throw - at Main.catchAndRethrow(Main.java:77) +Static Init +BadError: This is bad by convention: BadInit +java.lang.NoClassDefFoundError: BadInit at Main.catchAndRethrow(Main.java:77) at Main.exceptions_007(Main.java:59) at Main.main(Main.java:67) Caused by: java.lang.NullPointerException: first throw at Main.throwNullPointerException(Main.java:84) at Main.catchAndRethrow(Main.java:74) ... 2 more -Static Init -BadError: This is bad by convention: BadInit -java.lang.NoClassDefFoundError: BadInit + BadError: This is bad by convention: BadInit Static BadInitNoStringInit BadErrorNoStringInit: This is bad by convention Change-Id: Iaabf5ed593d100abf157adf46c1761338227d2cf
2015-12-16Adjust tests blacklisted for heap poisoning and read barriers. Roland Levillain
Bug: 12687968 Change-Id: I7b504661c04d35d10f66a3893a33db8c9db128a1
2015-12-16Merge "Add test case for bad arm code generation." am: 7f3b38cc23 Nicolas Geoffray
am: ed962f1897 * commit 'ed962f1897bf1293c2138ebbb88b73e6ee2d1636': Add test case for bad arm code generation.
2015-12-16Merge "Add test case for bad arm code generation." Nicolas Geoffray
2015-12-16Add test case for bad arm code generation. Nicolas Geoffray
Bug: 26121945 Change-Id: Ibaedeca24d4208a0bc6b650e549cb68619fd8f64
2015-12-16Merge "ART: Compile run-tests with Java 7." am: 6b75bc08e8 Vladimir Marko
am: 5783c2ec79 * commit '5783c2ec79548c161fe886fbcc12fa7889d79be0': ART: Compile run-tests with Java 7.
2015-12-16Merge "ART: Compile run-tests with Java 7." Vladimir Marko
2015-12-16ART: Compile run-tests with Java 7. Vladimir Marko
This fixes run-tests with EXPERIMENTAL_USE_JAVA8=true. Change-Id: I269664fc65a1d6c244c3f6191e332eb2751b5c0e
2015-12-16Merge "Revert "ART: Refactor SsaBuilder for more precise typing info"" am: ↵ Nicolas Geoffray
b059c8a044 am: 13cd5cad6e * commit '13cd5cad6e51f52d7e2ef38c9415d6d03fd994e3': Revert "ART: Refactor SsaBuilder for more precise typing info"
2015-12-15Revert "ART: Refactor SsaBuilder for more precise typing info" Alex Light
This reverts commit d9510dfc32349eeb4f2145c801f7ba1d5bccfb12. Bug: 26208284 Bug: 24252151 Bug: 24252100 Bug: 22538329 Bug: 25786318 Change-Id: I5f491becdf076ff51d437d490405ec4e1586c010
2015-12-16Merge "Various induction/range analysis improvements." am: 0bbc1727c4 Aart Bik
am: ec85f7d2a1 * commit 'ec85f7d2a189b176422e82aa03e16c76db48e7be': Various induction/range analysis improvements.
2015-12-15Various induction/range analysis improvements. Aart Bik
Rationale: this change list improves analysis of triangular loops both by changing loop order for induction analysis (enabling range analysis in inner loops) and by some symbolic improvements during range analysis; also, a mul/div bug has been fixed (with pass/fail unit tests); lastly this change list prepares some follow up optimizations. Change-Id: I84a03e848405009541c3fa8e3d3c2f430e100087
2015-12-15Merge "Remove reference of deleted file." am: ad94d64719 Nicolas Geoffray
am: 0211b099a0 * commit '0211b099a0590b2ce23a43714ff1398f96825fe2': Remove reference of deleted file.
2015-12-15Merge "Remove test given its flakiness." am: 3e2d20636f Nicolas Geoffray
am: f6eb61f310 * commit 'f6eb61f3100882f8c8ab2fc93eee7df45c65a679': Remove test given its flakiness.
2015-12-15Merge "Remove reference of deleted file." Nicolas Geoffray
2015-12-15Remove reference of deleted file. Nicolas Geoffray
Change-Id: Ib6d03a8c57a746e738fc849deee800d28da82485
2015-12-15Merge "x86 Baker\'s read barrier fast path implementation." am: 089ff4886a Roland Levillain
am: 12c3fd4dd9 * commit '12c3fd4dd9cdf45df583d6c9ab406af2187b1e1f': x86 Baker's read barrier fast path implementation.
2015-12-15Merge "Lower jitthreshold for jit profile test." am: bd00c8226e Calin Juravle
am: 338e3c7003 * commit '338e3c7003fd4c5448f597d84f1657f9ec4f61a7': Lower jitthreshold for jit profile test.
2015-12-15Merge "Revert "Make the JIT the default in ART."" am: 3b0ec01718 Nicolas Geoffray
am: 22c13e1205 * commit '22c13e1205af06724725f182bd737a9cac4118da': Revert "Make the JIT the default in ART."
2015-12-15Merge "Make the JIT the default in ART." am: 7cd230c8f7 Nicolas Geoffray
am: 561f76bc05 * commit '561f76bc0526bdedd311738a6fa42bc763252476': Make the JIT the default in ART.
2015-12-15Remove test given its flakiness. Nicolas Geoffray
Change-Id: I7b746bd93cfd3f7eca71f1a7b9dcc799d30dd971
2015-12-15Merge "x86 Baker's read barrier fast path implementation." Roland Levillain
2015-12-15Lower jitthreshold for jit profile test. Calin Juravle
The test still proves to be flacky on the build bots. Lowering the threshold will trigger compilation earlier. Change-Id: Iacabf88d9fbd2a15fd3456f817402c9aaf3ec766
2015-12-15Merge "Revert "Make the JIT the default in ART."" Nicolas Geoffray
2015-12-15Revert "Make the JIT the default in ART." Nicolas Geoffray
Few tests failing: oat_file_assistant_test and jit run tests. This reverts commit 0a9b6826bc6e71d799eb3fe8829981597b890dee. Change-Id: Ibbf73c191d244ebb9517b6ae97971dd9a9d37d7c
2015-12-15x86 Baker's read barrier fast path implementation. Roland Levillain
Introduce an x86 fast path implementation in Optimizing for Baker's read barriers (for both heap reference loads and GC root loads). The marking phase of the read barrier is performed by a slow path, invoking a new runtime entry point (artReadBarrierMark). Other read barrier algorithms continue to use the original slow path based implementation, which has been renamed as GenerateReadBarrierSlow/GenerateReadBarrierForRootSlow. Bug: 12687968 Change-Id: Ie610c4befc19ff22378a8cba38b422dcacb54320
2015-12-15Merge "Make the JIT the default in ART." Nicolas Geoffray
2015-12-14Merge "Increase the sleep time in 554-jit-profile-file" am: 395125122a Calin Juravle
am: afe3a9e296 * commit 'afe3a9e296b66efbea4b969d54834e4a4a2a0e9f': Increase the sleep time in 554-jit-profile-file
2015-12-14Increase the sleep time in 554-jit-profile-file Calin Juravle
The previous sleep time wasn't enough. Some tests failed because not all the methods managed to be compiled in time. Change-Id: I4d63b6c3602c72dfa608f62c55e0f484bbfcf900
2015-12-14Merge "Disable 554-jit-profile-file for the READ_BARRIER mode." am: 377cb3ba2e Calin Juravle
am: 1089186cc6 * commit '1089186cc6d71dfb921d566b68cb0620a3b4bb25': Disable 554-jit-profile-file for the READ_BARRIER mode.
2015-12-14Disable 554-jit-profile-file for the READ_BARRIER mode. Calin Juravle
Change-Id: I98f5c0aeb0d68b42a587b1f7261d3fe998ca7f8b
2015-12-14Merge "Print more info on why the code_cache test fails in ↵ Calin Juravle
115-native-bridge." am: b9d6996ed1 am: 0d02b9266a * commit '0d02b9266ac5a300b2b2b9877680bc970c15f0e3': Print more info on why the code_cache test fails in 115-native-bridge.
2015-12-14Merge "Print more info on why the code_cache test fails in 115-native-bridge." Calin Juravle
2015-12-14Merge "Revert "Revert "Enable profiled guided compilation in dex2oat""" am: ↵ Calin Juravle
8cf97d7295 am: b38da83736 * commit 'b38da83736ff325719f18424177022d68e283964': Revert "Revert "Enable profiled guided compilation in dex2oat""