summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-01-28Disable test for now. Nicolas Geoffray
Change-Id: Ibc7f2a2b1fb35c7b0b9d8a34b5e6adc243a67776
2016-01-28Merge "Doh. Forgot to ensure it's compiled." Nicolas Geoffray
2016-01-28Merge "Optimizing: Try pattern substitution when we cannot inline." Vladimir Marko
2016-01-28Doh. Forgot to ensure it's compiled. Nicolas Geoffray
Change-Id: I7b1786497c6bd0e83d8afe70fabecfacc8ca6a3a
2016-01-28Merge "Fix issue with IMT dispatch." Alex Light
2016-01-28Optimizing: Try pattern substitution when we cannot inline. Vladimir Marko
Change-Id: I7c01f4494bac8498accc0f087044ec509fee4c98
2016-01-28Merge "Implement first kind of polymorphic inlining." Nicolas Geoffray
2016-01-28Implement first kind of polymorphic inlining. Nicolas Geoffray
Add HClassTableGet to fetch an ArtMethod from the vtable or imt, and compare it to the only method the profiling saw. Change-Id: I76afd3689178f10e3be048aa3ac9a97c6f63295d
2016-01-28ART: Implement HSelect David Brazdil
This patch adds a new HIR instruction to Optimizing. HSelect returns one of two inputs based on the outcome of a condition. This is only initial implementation which: - defines the new instruction, - repurposes BooleanSimplifier to emit it, - extends InstructionSimplifier to statically resolve it, - updates existing code and tests accordingly. Code generators currently emit fallback if/then/else code and will be updated in follow-up CLs to use platform-specific conditional moves when possible. Change-Id: Ib61b17146487ebe6b55350c2b589f0b971dcaaee
2016-01-28Merge "ART: Implement support for instruction inlining" David Brazdil
2016-01-28ART: Implement support for instruction inlining David Brazdil
Optimizing HIR contains 'non-materialized' instructions which are emitted at their use sites rather than their defining sites. This was not properly handled by the liveness analysis which did not adjust the use positions of the inputs of such instructions. Despite the analysis being incorrect, the current use cases never produce incorrect code. This patch generalizes the concept of inlined instructions and updates liveness analysis to set the compute use positions correctly. Change-Id: Id703c154b20ab861241ae5c715a150385d3ff621
2016-01-28Merge "Fix ARM & ARM64 UnsafeCASObject intrinsic with heap poisoning." Roland Levillain
2016-01-28Merge "Re-enable some run-tests with CC after mterp fix." Roland Levillain
2016-01-28Merge "Revert "Revert "Lift the spill at each irreducible loop block ↵ Nicolas Geoffray
restriction."""
2016-01-28Revert "Revert "Lift the spill at each irreducible loop block restriction."" Nicolas Geoffray
This reverts commit 2818dbcd75ea9beadcba9d18e2f68523108d0cf5. Change-Id: I92b2b60b4f08f50cacfea4132f1c28cfbd628f1a
2016-01-27Fix issue with IMT dispatch. Alex Light
If a default and an abstract method map to the same IMT slot one could end up invoking the default method when one invokes the abstract method. Bug: 24618811 Bug: 26827549 Change-Id: I2ccb8e8b5362eb4961531b63e7b946ad8ef936a6
2016-01-27reflection: Add new 1.8 AnnotatedElement methods and tests Igor Murashkin
Also: * Bump the size of the Class vtable size since 3 new virtuals were added to java.lang.Class * Refactor Method#isDefault test into a separate file within 048 test. Change-Id: I8420a4d208bb60874a9cf996766313c7d5058c45
2016-01-27Merge "Clear dalvik-cache before running test on host." David Srbecky
2016-01-27Merge "Implemented checker/unit test for various operations." Aart Bik
2016-01-27Clear dalvik-cache before running test on host. David Srbecky
The test 137-cfi is run twice and the stale data causes problems. Change-Id: I631cc73c8e832534d0a276b7d23a654adeacebee
2016-01-27Re-enable some run-tests with CC after mterp fix. Roland Levillain
These tests might have been affected by a moving GC issue in the fast interpreter: - 004-ThreadStress - 141-class-unload Re-enable them so that we can monitor them on the concurrent collector configurations. Bug: 26786154 Bug: 25866001 Bug: 12687968 Change-Id: I3b4902501ea1d13ef5454974be68b82ee196a169
2016-01-27Merge "Do not write full method signature in mini-debug-info." David Srbecky
2016-01-27Merge "Revert "Revert "Add option to generate compressed backtrace info.""" David Srbecky
2016-01-27Fix ARM & ARM64 UnsafeCASObject intrinsic with heap poisoning. Roland Levillain
Ensure aliasing does not make us poison/unpoison the same value twice. Also extend testing of Unsafe.compareAndSwap* routines. Bug: 26204023 Bug: 12687968 Change-Id: I29d7e5dd2a969845e054798f77837d20e3c18483
2016-01-26Implemented checker/unit test for various operations. Aart Bik
Rationale: It's test time! These new checker tests verify that various common integer operations are recognized as intrinsic. Furthermore, some functionality testing is done to ensure that architectural specific implementations are correct. Change-Id: I8ac02a083ef1110c9baf274fbf75d931167e9ba5
2016-01-26Merge "Some minor simplifications in code and tests." Aart Bik
2016-01-26Merge "Enable interface default methods by default." Alex Light
2016-01-26Enable interface default methods by default. Neil Fuller
This also enables interface static methods. This removes the -Xexperimental:default-methods flag and all places where we explicitly check for its presence. Bug: 24618811 Change-Id: Icd91e377bd6e1a45a1645f810d15de1b0312e31d
2016-01-26Some minor simplifications in code and tests. Aart Bik
Background: This is actually a resubmit of an earlier cl that was reverted because was test was less robust against inlining changes (it assumed a virtual call would never be inlined). original cl: If8ada79dfd70bea991c11d2b18661b951b6c4cd4 revert cl: I739aaaccd0509d02a62ef01e797a6d45bfe941df Change-Id: I952680d60ff488874907f066bfdf156a45b409ba
2016-01-26Merge "Revert "Lift the spill at each irreducible loop block restriction."" Bart Sears
2016-01-26Revert "Lift the spill at each irreducible loop block restriction." Bart Sears
This reverts commit 79e9f43951c3cfa9ab3b0fea93e5bfdfa7aa5950. Change-Id: I0670618b4076e06bd3f6bf8c385abfd1b651393c
2016-01-26Merge "Lift the spill at each irreducible loop block restriction." Nicolas Geoffray
2016-01-26Disable interpreter run-tests occasionally failing with CC. Roland Levillain
These tests sometimes fail on the concurrent collector configurations: - 004-ThreadStress - 141-class-unload Disable them while we investigate. Also adjust the list of Quick run-tests failing with CC. Bug: 26786154 Bug: 25866001 Bug: 12687968 Change-Id: I7a37184888b7c992ab636bba44760c1aeab51aad
2016-01-26Lift the spill at each irreducible loop block restriction. Nicolas Geoffray
It was not intended to have it this way anyway. This also required to fix GetSiblingAt, to take into account interval holes, and ConnectSplitSibling to re-materialize a constant or a method. Change-Id: Ia5534a93a5413cd0458a251c022d0b655369502b
2016-01-26Do not write full method signature in mini-debug-info. David Srbecky
Write only fully qualified method name to reduce the size. This approximately halves the amount of string data which in turn reduces the overhead of mini-debug-info from 3.5% to 3%. Change-Id: Iba9b1d5af77bd90a6c93912ff10bded243d716ce
2016-01-26Revert "Revert "Add option to generate compressed backtrace info."" David Srbecky
This reverts commit 8546cc9aeb05e866e1fb6a9e4130d53ea330baa8. Change-Id: I676fdf9af27fa3b16fa8921778ff8832ab8c437d
2016-01-26Disable run-tests causing occasional timeouts with CC. Roland Levillain
These tests sometimes time out on the concurrent collector configurations: - 004-ThreadStress - 496-checker-inlining-and-class-loader Disable them while we investigate. Bug: 26786154 Bug: 26786304 Bug: 12687968 Change-Id: I169766eac656cd1281a169337c2205a9592c32a1
2016-01-25Revert "Revert "Load app images"" Mathieu Chartier
This reverts commit 1bc977cf2f8199311a97f2ba9431a184540e3e9c. Bug: 22858531 Change-Id: Ide00bf3a73a02cba3bb364177204ad1b13f70295
2016-01-25Merge "Revert "Add option to generate compressed backtrace info."" David Srbecky
2016-01-25Revert "Add option to generate compressed backtrace info." David Srbecky
This reverts commit 5fdcc3c931b70204fd8c491afa66f57f8428490f. Change-Id: I9c1f5aad6933a46af6717e3a90a51f76111f9c8a
2016-01-25Merge "Add option to generate compressed backtrace info." David Srbecky
2016-01-25Merge "Revert "Optimizing: double-negated bitwise operations simplifications"" Nicolas Geoffray
2016-01-25Revert "Optimizing: double-negated bitwise operations simplifications" Nicolas Geoffray
Fails compiling the Wallet.apk with: dex2oatd F 40736 41007 art/compiler/optimizing/optimizing_compiler.cc:194] Error after instruction_simplifier: art::SSAChecker: Instruction Add:59 in block 4 does not dominate use Or:153 in block 4. This reverts commit 96798493170521691d709be50dd2102ead47b083. Change-Id: Ia4b02e62e6133aa104f5db12ba82d5561b6fc090
2016-01-25Merge "Optimizing: double-negated bitwise operations simplifications" Nicolas Geoffray
2016-01-23Merge "Revert "Load app images"" Nicolas Geoffray
2016-01-23Revert "Load app images" Nicolas Geoffray
Fails when a method is duplicated (see test 097-duplicate-method) Bug: 22858531 This reverts commit f7fd970244f143b1abb956e29794c446e4d57f46. Change-Id: Ib30ae5be00cc568e799290be6b3c8f29cbbe4c20
2016-01-22Merge "Load app images" Mathieu Chartier
2016-01-22Load app images Mathieu Chartier
Support in-place patching of the app image based on boot image location and app oat location. Only loads for art run test so far since we do not automatically generate app images for app installs. N5 maps launch time (~200 runs): Before: 930ms After: 878.18ms After + image class table: 864.57ms TODO: Oatdump support. Store class loaders as class roots in image. Bug: 22858531 Change-Id: I9cbc645645e62ea2ed1ad8e139e91af7d88514c1
2016-01-22Raise ulimit for run-test 961. Alex Light
Run-test 961 was rubbing against the ulimit, causing spurious failures. This raises the ulimit the test runs under. Bug: 26733951 Change-Id: I43f7c5f8e5e9e23ed139bd1fcc6bf24c526c546b
2016-01-22Add option to generate compressed backtrace info. David Srbecky
Add flag --generate-mini-debug-info which generates LZMA compressed .symtab and .debug_frame, which are sufficient to print java backtraces in libunwind. If enabled, it increases the size of boot.oat by about 3.5%. Change-Id: Ic3c2ef7704c05fa328720c6781ca2a9b8e3935a3