OSDN Git Service

android-x86/art.git
7 years agoMerge "Revert "Revert "Revert "JIT root tables.""""
Nicolas Geoffray [Mon, 14 Nov 2016 12:48:26 +0000 (12:48 +0000)]
Merge "Revert "Revert "Revert "JIT root tables.""""
am: 81cae78d18

Change-Id: Icaf0bf548f4d33571e991a36a1b9f5e81652baa6

7 years agoMerge "Update test expectation."
Nicolas Geoffray [Mon, 14 Nov 2016 12:48:09 +0000 (12:48 +0000)]
Merge "Update test expectation."
am: e8fc2cedb8

Change-Id: Ifee6e8f2ded23c4ada65498e24dc18c154bf7c99

7 years agoMerge "Revert "Revert "Revert "JIT root tables.""""
Nicolas Geoffray [Mon, 14 Nov 2016 12:41:12 +0000 (12:41 +0000)]
Merge "Revert "Revert "Revert "JIT root tables.""""

7 years agoRevert "Revert "Revert "JIT root tables."""
Nicolas Geoffray [Mon, 14 Nov 2016 12:40:52 +0000 (12:40 +0000)]
Revert "Revert "Revert "JIT root tables."""

libcore failures:
dalvikvm32 F 11-14 03:04:06 14870 14870 jit_code_cache.cc:310] Check failed: new_string != nullptr

This reverts commit 75afcdd3503a8a8518e5b23d21b6e73306ce39ce.

Change-Id: I5a6b6b48aa79a763d1ff1ba4d85d63811254787d

7 years agoMerge "Update test expectation."
Nicolas Geoffray [Mon, 14 Nov 2016 12:38:11 +0000 (12:38 +0000)]
Merge "Update test expectation."

7 years agoUpdate test expectation.
Nicolas Geoffray [Mon, 14 Nov 2016 12:36:55 +0000 (12:36 +0000)]
Update test expectation.

test: 902
Change-Id: I0d9082a34a66c5f2aadec90eda0c5c2a0feef2e4

7 years agoMerge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:34:01 +0000 (09:34 +0000)]
Merge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""
am: ddb7b436c5

Change-Id: I34645adf760642ad9663d6fa77c72c9a2dad21ea

7 years agoMerge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:24:56 +0000 (09:24 +0000)]
Merge "Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."""

7 years agoMerge "Revert "Revert "JIT root tables."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:19:47 +0000 (09:19 +0000)]
Merge "Revert "Revert "JIT root tables."""
am: 4b050e817b

Change-Id: I58d029103296071d91fcf5d1a5d969095aab925c

7 years agoMerge "Update 902 test to highlight JIT issue."
Nicolas Geoffray [Mon, 14 Nov 2016 09:19:28 +0000 (09:19 +0000)]
Merge "Update 902 test to highlight JIT issue."
am: 7fad15efba

Change-Id: I666e3330cbb468fa3683bb1e1965b9b15fcb9b9e

7 years agoMerge "Revert "Revert "JIT root tables."""
Nicolas Geoffray [Mon, 14 Nov 2016 09:13:46 +0000 (09:13 +0000)]
Merge "Revert "Revert "JIT root tables."""

7 years agoMerge "Update 902 test to highlight JIT issue."
Nicolas Geoffray [Mon, 14 Nov 2016 09:12:59 +0000 (09:12 +0000)]
Merge "Update 902 test to highlight JIT issue."

7 years agoUpdate 902 test to highlight JIT issue.
Nicolas Geoffray [Fri, 11 Nov 2016 11:45:59 +0000 (11:45 +0000)]
Update 902 test to highlight JIT issue.

Test: 902-hello-transformation
bug: 32821077
Change-Id: Ic7d267a5e62d4e001d1b85f1cc3d10546814bd18

7 years agoMerge "ARM: VIXL32: Implement more codegen visitors."
Nicolas Geoffray [Sat, 12 Nov 2016 14:08:17 +0000 (14:08 +0000)]
Merge "ARM: VIXL32: Implement more codegen visitors."
am: cfeb03142f

Change-Id: Iae75e428f72e48b12d5ebc378b620a8be4a1b673

7 years agoMerge "ARM: VIXL32: Implement more codegen visitors."
Nicolas Geoffray [Sat, 12 Nov 2016 13:58:17 +0000 (13:58 +0000)]
Merge "ARM: VIXL32: Implement more codegen visitors."

7 years agoMerge "Add visiting for class loaders in StickyMarkSweep"
neo.chae [Sat, 12 Nov 2016 07:00:26 +0000 (07:00 +0000)]
Merge "Add visiting for class loaders in StickyMarkSweep"
am: e66dd4995b

Change-Id: Ibcb0fa672152a15467b38794714247b67ecd5876

7 years agoMerge "Add visiting for class loaders in StickyMarkSweep"
Treehugger Robot [Sat, 12 Nov 2016 06:48:17 +0000 (06:48 +0000)]
Merge "Add visiting for class loaders in StickyMarkSweep"

7 years agoMerge "ART: Fix alloc-dealloc mismatch"
Andreas Gampe [Sat, 12 Nov 2016 03:08:12 +0000 (03:08 +0000)]
Merge "ART: Fix alloc-dealloc mismatch"
am: 22f75bb76d

Change-Id: I5833d30ee0d103a8131d337d4e18dd30d4a2aa10

7 years agoMerge "ART: Fix alloc-dealloc mismatch"
Treehugger Robot [Sat, 12 Nov 2016 02:59:32 +0000 (02:59 +0000)]
Merge "ART: Fix alloc-dealloc mismatch"

7 years agoART: Fix alloc-dealloc mismatch
Andreas Gampe [Sat, 12 Nov 2016 01:11:25 +0000 (17:11 -0800)]
ART: Fix alloc-dealloc mismatch

Mark type as array.

Bug: 31098551
Test: m test-art-host
Change-Id: Ia27a997e838a408cc68f0d9fe58734155e709e85

7 years agoAdd visiting for class loaders in StickyMarkSweep
neo.chae [Mon, 7 Nov 2016 23:40:46 +0000 (08:40 +0900)]
Add visiting for class loaders in StickyMarkSweep

StickyMarkSweep clear the mark stack,
Because all reachable objects must be referenced by a root or a dirty card.
But, there are some marking hole for class object.

If some object is marked and the object and it's class object is not dirty,
Then class object cannot be marking by card table.

In previous OS including mashmellow,
Class table was maintaned by class linker
and all class object was marked with kVisitRootFlagAllRoots flag.

In N OS,
Class object is not marked with kVisitRootFlagAllRoots.
So, I added new flag to mark class object and using it StickyMarkSweep.

Added regression test in 141-class-unload.

Test: test-art-host

Change-Id: I57599e6db53b260f4c5ef466b63962141b8da5c3
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
7 years agoMerge "Fixed bug in LICM"
Aart Bik [Fri, 11 Nov 2016 19:24:45 +0000 (19:24 +0000)]
Merge "Fixed bug in LICM"
am: 5a92027262

Change-Id: Ie105e16ff3b2d9c199e21fba78e861e613cfb8b9

7 years agoMerge "Fixed bug in LICM"
Treehugger Robot [Fri, 11 Nov 2016 19:18:23 +0000 (19:18 +0000)]
Merge "Fixed bug in LICM"

7 years agoMerge "Make empty checkpoint work while weak ref access is disabled."
Hiroshi Yamauchi [Fri, 11 Nov 2016 18:54:15 +0000 (18:54 +0000)]
Merge "Make empty checkpoint work while weak ref access is disabled."
am: 39ce7d2907

Change-Id: I9fc7a636864f1c8d8993341dcd0554a65bd6fa59

7 years agoMerge "Make empty checkpoint work while weak ref access is disabled."
Hiroshi Yamauchi [Fri, 11 Nov 2016 18:44:44 +0000 (18:44 +0000)]
Merge "Make empty checkpoint work while weak ref access is disabled."

7 years agoFixed bug in LICM
Aart Bik [Fri, 11 Nov 2016 02:21:30 +0000 (18:21 -0800)]
Fixed bug in LICM

Rationale:
We should stop hoisting anything that can throw
as soon as something else that can do something
visible (either throw or write something) is *not*
hoisted (used to be just throw test on second part).

Bug: 32810295
Test: test-art-host
Change-Id: Id88b712a5d9e37598d0bebbd4ecf4b1d8ee787b5

7 years agoMerge "ART: Properly synchronize test 039"
Andreas Gampe [Fri, 11 Nov 2016 17:33:40 +0000 (17:33 +0000)]
Merge "ART: Properly synchronize test 039"
am: 5302bd999a

Change-Id: I70146b880daa91ae0fc8b93fc0c726e14a8a1a40

7 years agoMerge "ART: Expose vreg and visitor in RootInfo"
Andreas Gampe [Fri, 11 Nov 2016 17:33:24 +0000 (17:33 +0000)]
Merge "ART: Expose vreg and visitor in RootInfo"
am: 380848a4ea

Change-Id: I21508ac4f0cddcee5839f6640ff165e8f06dc861

7 years agoMerge "ART: Rewrite test 913 verification"
Andreas Gampe [Fri, 11 Nov 2016 17:33:09 +0000 (17:33 +0000)]
Merge "ART: Rewrite test 913 verification"
am: e67ab7691f

Change-Id: I301f52999d820230e9d4f842b582a50e7bc321f0

7 years agoMerge "ART: Properly synchronize test 039"
Treehugger Robot [Fri, 11 Nov 2016 17:27:01 +0000 (17:27 +0000)]
Merge "ART: Properly synchronize test 039"

7 years agoMerge "ART: Expose vreg and visitor in RootInfo"
Treehugger Robot [Fri, 11 Nov 2016 17:26:04 +0000 (17:26 +0000)]
Merge "ART: Expose vreg and visitor in RootInfo"

7 years agoMerge "ART: Rewrite test 913 verification"
Treehugger Robot [Fri, 11 Nov 2016 17:24:24 +0000 (17:24 +0000)]
Merge "ART: Rewrite test 913 verification"

7 years agoMerge "MethodHandles: Fix MethodType::IsConvertible() error."
Orion Hodson [Fri, 11 Nov 2016 15:09:32 +0000 (15:09 +0000)]
Merge "MethodHandles: Fix MethodType::IsConvertible() error."
am: 58a551ea4b

Change-Id: I860589710cd61c8a56c5452bac62c2eeba5fc96c

7 years agoMerge "MethodHandles: Fix MethodType::IsConvertible() error."
Orion Hodson [Fri, 11 Nov 2016 15:01:52 +0000 (15:01 +0000)]
Merge "MethodHandles: Fix MethodType::IsConvertible() error."

7 years agoMethodHandles: Fix MethodType::IsConvertible() error.
Orion Hodson [Fri, 11 Nov 2016 12:03:29 +0000 (12:03 +0000)]
MethodHandles: Fix MethodType::IsConvertible() error.

Conversions between non-numeric primitives and their boxed equivalents
were being rejected.

Test: m test-art-host-run-test-956-methodhandles
Bug: 30550796
Change-Id: I4ee255be3a4549246548185e362789561382ba1b

7 years agoRevert "Revert "JIT root tables.""
Nicolas Geoffray [Thu, 10 Nov 2016 10:38:11 +0000 (10:38 +0000)]
Revert "Revert "JIT root tables.""

Also  contains Revert "Support kJitTableAddress in x86/arm/arm64."

This reverts commit 4acd03638fcdb4e5d1666f8eec7eb3bf6d6be035.
This reverts commit 997d1217830c0a18b70faeabd53c04700a87d7d9.

Test: ART_USE_READ_BARRIER=true/false test-art-host test-art-target

Change-Id: I77cb1e9bf8f1b4c58b72d3cf5ca31ced2aaa1ea3

7 years agoMerge "Dump c1visualizer output before and after each pass."
Nicolas Geoffray [Fri, 11 Nov 2016 12:03:22 +0000 (12:03 +0000)]
Merge "Dump c1visualizer output before and after each pass."
am: 0a3d8c65c9

Change-Id: Ib974cc5defe40b3fc67ee5d6746191d91afa122b

7 years agoMerge "Dump c1visualizer output before and after each pass."
Nicolas Geoffray [Fri, 11 Nov 2016 11:57:21 +0000 (11:57 +0000)]
Merge "Dump c1visualizer output before and after each pass."

7 years agoMerge "ARM: VIXL32: Implement InstanceOf, InvokeInterface and others."
Nicolas Geoffray [Fri, 11 Nov 2016 11:56:22 +0000 (11:56 +0000)]
Merge "ARM: VIXL32: Implement InstanceOf, InvokeInterface and others."
am: ee48b0f11d

Change-Id: Ifa23a4a58f6e2d0d2ecd453cb3a7856daaaf1c81

7 years agoMerge "ARM: VIXL32: Implement InstanceOf, InvokeInterface and others."
Nicolas Geoffray [Fri, 11 Nov 2016 11:49:11 +0000 (11:49 +0000)]
Merge "ARM: VIXL32: Implement InstanceOf, InvokeInterface and others."

7 years agoMerge "MethodHandles: Enable return value conversions."
Orion Hodson [Fri, 11 Nov 2016 10:26:48 +0000 (10:26 +0000)]
Merge "MethodHandles: Enable return value conversions."
am: 07d5e39bff

Change-Id: Ic31326d8bfd61c1a27e04e8760a1f2cc471402f5

7 years agoMerge "MethodHandles: Enable return value conversions."
Orion Hodson [Fri, 11 Nov 2016 10:16:24 +0000 (10:16 +0000)]
Merge "MethodHandles: Enable return value conversions."

7 years agoMerge "Fix mips build"
Mathieu Chartier [Fri, 11 Nov 2016 02:02:19 +0000 (02:02 +0000)]
Merge "Fix mips build"
am: f94563540f

Change-Id: I58754821be0c1a3d341da9907d4234b8d70a9b6a

7 years agoMerge "Fix mips build"
Mathieu Chartier [Fri, 11 Nov 2016 01:55:22 +0000 (01:55 +0000)]
Merge "Fix mips build"

7 years agoFix mips build
Mathieu Chartier [Fri, 11 Nov 2016 01:52:42 +0000 (17:52 -0800)]
Fix mips build

Test: untested
Change-Id: Ied193834bf2a187b0cb8ffdbdece72023698b1f6

7 years agoMerge "Use entrypoint switching to reduce code size of GcRoot read barrier"
Mathieu Chartier [Fri, 11 Nov 2016 01:08:16 +0000 (01:08 +0000)]
Merge "Use entrypoint switching to reduce code size of GcRoot read barrier"
am: 1f01a46fdf

Change-Id: I65bc7e52089c84aca117b5032cbe82b2f645c070

7 years agoMerge "Use entrypoint switching to reduce code size of GcRoot read barrier"
Mathieu Chartier [Fri, 11 Nov 2016 00:58:22 +0000 (00:58 +0000)]
Merge "Use entrypoint switching to reduce code size of GcRoot read barrier"

7 years agoART: Rewrite test 913 verification
Andreas Gampe [Thu, 10 Nov 2016 06:54:25 +0000 (22:54 -0800)]
ART: Rewrite test 913 verification

Make the test more robust wrt/ the liberty the specification
gives for iteration order. Also make it robust wrt/ JIT by
waiting for any compilation to finish before following
references.

This reverts commit a35c584d7eb0ae02c9511f5f891b284362b12e28.
This reverts commit 8c433b9e45a26e3bde123a5b2697ca801ae8b039.

Test: m ART_TEST_INTERPRETER=true ART_TEST_JIT=true test-art-host-run-test-913-heaps
Change-Id: Ia94c597f4f7b66ab1014efb483b3aed2e859099a

7 years agoMerge "Use enum for read barrier options in compiler"
Mathieu Chartier [Thu, 10 Nov 2016 22:44:34 +0000 (22:44 +0000)]
Merge "Use enum for read barrier options in compiler"
am: 48dfb4a7f1

Change-Id: I0d1e400a0603aef56afe104ac38dbddac2370ef8

7 years agoUse entrypoint switching to reduce code size of GcRoot read barrier
Mathieu Chartier [Wed, 9 Nov 2016 22:32:49 +0000 (14:32 -0800)]
Use entrypoint switching to reduce code size of GcRoot read barrier

Set the read barrier mark register entrypoints to null when the GC
is not marking. The compiler uses this to avoid needing to load the
is_gc_marking boolean.

Code size results on ritzperf CC:
arm32: 13439400 -> 13242792 (-1.5%)
arm64: 16380544 -> 16208512 (-1.05%)

Implemented for arm32 and arm64. TODO: Consider implementing on x86.

Bug: 32638713
Bug: 29516974

Test: test-art-host + run ritzperf
Change-Id: I527ca5dc4cd43950ba43b872d0ac81e1eb5791eb

7 years agoMerge "Use enum for read barrier options in compiler"
Mathieu Chartier [Thu, 10 Nov 2016 22:34:40 +0000 (22:34 +0000)]
Merge "Use enum for read barrier options in compiler"

7 years agoART: Properly synchronize test 039
Andreas Gampe [Thu, 10 Nov 2016 21:40:32 +0000 (13:40 -0800)]
ART: Properly synchronize test 039

Properly synchronize the test so that the output is deterministic.

Test: m test-art-host-run-test-039-join-main
Change-Id: Ia2212c7f77c3bf016d588014b22fa5abaef076e3

7 years agoMerge "Do not inline loops without exit edges"
David Sehr [Thu, 10 Nov 2016 20:47:28 +0000 (20:47 +0000)]
Merge "Do not inline loops without exit edges"
am: 48f3e29643

Change-Id: Idcc110bc8a0db2fd51e7ad5299c9a019e3d2d18e

7 years agoUse enum for read barrier options in compiler
Mathieu Chartier [Thu, 10 Nov 2016 19:25:57 +0000 (11:25 -0800)]
Use enum for read barrier options in compiler

Enums are just phenomenal. Also fixed a double load error in x86
interface check cast fast path.

Test: test-art-host

Change-Id: Iea403ce579145b6a294073f3900ad6921c1a0d53

7 years agoMerge "Do not inline loops without exit edges"
David Sehr [Thu, 10 Nov 2016 20:41:12 +0000 (20:41 +0000)]
Merge "Do not inline loops without exit edges"

7 years agoMethodHandles: Enable return value conversions.
Orion Hodson [Wed, 9 Nov 2016 08:32:42 +0000 (08:32 +0000)]
MethodHandles: Enable return value conversions.

Enables return values conversions and simplify the type conversion
logic. Ensures check for WrongMethodTypeExceptions before invoking a
method handle.

Test: m test-art-host-run-test-956-methodhandles
Bug: 30550796

Change-Id: I8add3ad0a19b43010946b4fb9f1c0f0949287860

7 years agoMerge "Add capabilities for jvmti."
Alex Light [Thu, 10 Nov 2016 19:07:21 +0000 (19:07 +0000)]
Merge "Add capabilities for jvmti."
am: 5199c11040

Change-Id: I1a76a43aa38c7da3dd07c7043938ac866df00eb7

7 years agoMerge "Add capabilities for jvmti."
Treehugger Robot [Thu, 10 Nov 2016 18:55:40 +0000 (18:55 +0000)]
Merge "Add capabilities for jvmti."

7 years agoMerge "Avoid read barriers for inlined check cast"
Mathieu Chartier [Thu, 10 Nov 2016 18:16:48 +0000 (18:16 +0000)]
Merge "Avoid read barriers for inlined check cast"
am: 977919fbcb

Change-Id: I7b298bc30cf03cc1ff76b42f05cddedcf712cc35

7 years agoMerge "Avoid read barriers for inlined check cast"
Mathieu Chartier [Thu, 10 Nov 2016 18:05:50 +0000 (18:05 +0000)]
Merge "Avoid read barriers for inlined check cast"

7 years agoAdd capabilities for jvmti.
Alex Light [Wed, 17 Aug 2016 16:56:24 +0000 (09:56 -0700)]
Add capabilities for jvmti.

Make a skeleton for jvmti capabilities.

Bug: 31455788
Test: m -j40 test-art-host

Change-Id: Ia1f96450d8a1ee59b9db66cf65492154d61fab48

7 years agoDump c1visualizer output before and after each pass.
Nicolas Geoffray [Thu, 10 Nov 2016 15:19:15 +0000 (15:19 +0000)]
Dump c1visualizer output before and after each pass.

In order to get the last state of a graph before a crash.

Test: dex2oat --dump-cfg
Change-Id: I461a26a47a170b95fadb9da21a443af26fe52181

7 years agoMerge "MIPS32: Add missing swaps to codegen"
Goran Jakovljevic [Thu, 10 Nov 2016 16:06:09 +0000 (16:06 +0000)]
Merge "MIPS32: Add missing swaps to codegen"
am: ee59d46595

Change-Id: I9195d656c5367fcac086f7018cf6dae52148dcd2

7 years agoMerge "MIPS32: Add missing swaps to codegen"
Treehugger Robot [Thu, 10 Nov 2016 15:59:20 +0000 (15:59 +0000)]
Merge "MIPS32: Add missing swaps to codegen"

7 years agoMerge "Fix 552-checker-sharpening for MIPS32R6"
Goran Jakovljevic [Thu, 10 Nov 2016 15:40:06 +0000 (15:40 +0000)]
Merge "Fix 552-checker-sharpening for MIPS32R6"
am: b98115251e

Change-Id: I1844b8d0bc5972d2b6a77170564d38882a08793e

7 years agoMerge "Fix 552-checker-sharpening for MIPS32R6"
Treehugger Robot [Thu, 10 Nov 2016 15:28:48 +0000 (15:28 +0000)]
Merge "Fix 552-checker-sharpening for MIPS32R6"

7 years agoRevert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""
Nicolas Geoffray [Thu, 10 Nov 2016 10:49:40 +0000 (10:49 +0000)]
Revert "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""

This reverts commit d4acdd380f79f41959663d2fa442186cb4a185a8.

Test: device boots, adb shell cmd package compile works.
Test: oat_file_assistant_test

bug:30937355
Change-Id: Iad2e66fd7f28ed9c1dc3cab344df7453aab4fa56

7 years agoARM: VIXL32: Implement more codegen visitors.
Artem Serov [Tue, 18 Oct 2016 18:11:30 +0000 (19:11 +0100)]
ARM: VIXL32: Implement more codegen visitors.

~50 tests now start to pass.

Test: export ART_USE_VIXL_ARM_BACKEND=true && \
      mma test-art-host dist && mma test-art-target dist

Change-Id: I5b1a032f11e2c0fda2ea2c6a0f1b1a4b2668964a

7 years agoARM: VIXL32: Implement InstanceOf, InvokeInterface and others.
Artem Serov [Fri, 14 Oct 2016 14:58:56 +0000 (15:58 +0100)]
ARM: VIXL32: Implement InstanceOf, InvokeInterface and others.

More than 100 tests now start to pass.

Test: export ART_USE_VIXL_ARM_BACKEND=true && \
      mma test-art-host dist && mma test-art-target dist

Change-Id: I7a30241d42bf0beec254f6988646282f4ea46cef

7 years agoMIPS32: Add missing swaps to codegen
Goran Jakovljevic [Thu, 22 Sep 2016 07:26:01 +0000 (09:26 +0200)]
MIPS32: Add missing swaps to codegen

Add swaps between fp registers and stack.
Also added emit_swap_mips_test.

Test: mma -j2 test-art-target-run-test on CI20
Test: mma test-art-host-gtest-emit_swap_mips_test

Change-Id: I38e7be6a86d9ad36a82e9d4293e9a6971b6e016a

7 years agoMerge "Change string compression encoding."
Vladimir Marko [Thu, 10 Nov 2016 14:03:35 +0000 (14:03 +0000)]
Merge "Change string compression encoding."
am: 16593ed1d3

Change-Id: If13d40df57ad81a72fcf3f908da4e1e951f5620c

7 years agoMerge "Change string compression encoding."
Treehugger Robot [Thu, 10 Nov 2016 13:58:34 +0000 (13:58 +0000)]
Merge "Change string compression encoding."

7 years agoFix 552-checker-sharpening for MIPS32R6
Goran Jakovljevic [Thu, 10 Nov 2016 13:50:18 +0000 (14:50 +0100)]
Fix 552-checker-sharpening for MIPS32R6

We can't have MIPS32R2 or MIPS32R6 specific checker so remove
the problematic one which differ for these two versions.

Test: ./run-test 552-checker-sharpening in QEMU

Change-Id: I5878fcaa5a43195ec98b607e37ee3029a2e57daf

7 years agoMerge "MethodHandles: Add a test case for MethodHandles.permuteArguments."
Narayan Kamath [Thu, 10 Nov 2016 13:50:49 +0000 (13:50 +0000)]
Merge "MethodHandles: Add a test case for MethodHandles.permuteArguments."
am: af0cac6ed7

Change-Id: I2e658e102e9f322d985260517c4e1012d58d326b

7 years agoMerge "MethodHandles: Add tests for MethodHandles.filterReturnValue."
Narayan Kamath [Thu, 10 Nov 2016 13:50:30 +0000 (13:50 +0000)]
Merge "MethodHandles: Add tests for MethodHandles.filterReturnValue."
am: 14ee50641a

Change-Id: I83208435687ffb1279afca981620955ab2d3f899

7 years agoMerge "MethodHandles: Add a test case for MethodHandles.permuteArguments."
Narayan Kamath [Thu, 10 Nov 2016 13:41:03 +0000 (13:41 +0000)]
Merge "MethodHandles: Add a test case for MethodHandles.permuteArguments."

7 years agoMerge "MethodHandles: Add tests for MethodHandles.filterReturnValue."
Narayan Kamath [Thu, 10 Nov 2016 13:40:28 +0000 (13:40 +0000)]
Merge "MethodHandles: Add tests for MethodHandles.filterReturnValue."

7 years agoMerge "ART jitted code profiling support."
Nicolas Geoffray [Thu, 10 Nov 2016 10:39:47 +0000 (10:39 +0000)]
Merge "ART jitted code profiling support."
am: e58659aa13

Change-Id: I6ea708fa1dea423419e25c4f4fa78a846794fc2f

7 years agoMerge "ART jitted code profiling support."
Nicolas Geoffray [Thu, 10 Nov 2016 10:34:10 +0000 (10:34 +0000)]
Merge "ART jitted code profiling support."

7 years agoMerge "Have `make` report a failing gtest run as a top-level target."
Roland Levillain [Thu, 10 Nov 2016 10:27:16 +0000 (10:27 +0000)]
Merge "Have `make` report a failing gtest run as a top-level target."
am: 62a88ac2ff

Change-Id: I97eb286060995d4a8de4ef4693cda3b8d5a78516

7 years agoMerge "Have `make` report a failing gtest run as a top-level target."
Roland Levillain [Thu, 10 Nov 2016 10:19:19 +0000 (10:19 +0000)]
Merge "Have `make` report a failing gtest run as a top-level target."

7 years agoMerge "ART: Temporarily disable test 913 for non-aot configs"
Andreas Gampe [Thu, 10 Nov 2016 07:30:36 +0000 (07:30 +0000)]
Merge "ART: Temporarily disable test 913 for non-aot configs"
am: cc7433d333

Change-Id: I47db6eb3b7dc450db1913ff66291b8041cbee83f

7 years agoMerge "ART: Temporarily disable test 913 for non-aot configs"
Andreas Gampe [Thu, 10 Nov 2016 07:20:35 +0000 (07:20 +0000)]
Merge "ART: Temporarily disable test 913 for non-aot configs"

7 years agoART: Temporarily disable test 913 for non-aot configs
Andreas Gampe [Thu, 10 Nov 2016 07:17:39 +0000 (23:17 -0800)]
ART: Temporarily disable test 913 for non-aot configs

Until the test is generalized to recognize all allowed outputs,
disable non-default configurations.

Follow-up to commit 8c433b9e45a26e3bde123a5b2697ca801ae8b039 to
also disable for no-relocate configurations.

Bug: 31385354
Test: m ART_TEST_RUN_TEST_NO_RELOCATE=true test-art-host-run-test-913-heaps
Change-Id: If29ffdcca1fbd69bbac559dce99e84dc2592539a

7 years agoMerge "ART: Temporarily disable test 913 for non-aot configs"
Andreas Gampe [Thu, 10 Nov 2016 05:13:57 +0000 (05:13 +0000)]
Merge "ART: Temporarily disable test 913 for non-aot configs"
am: de72874891

Change-Id: I9e951cd4226bb3adc71a74cc97af4dee65b03aa7

7 years agoMerge "ART: Temporarily disable test 913 for non-aot configs"
Andreas Gampe [Thu, 10 Nov 2016 05:03:06 +0000 (05:03 +0000)]
Merge "ART: Temporarily disable test 913 for non-aot configs"

7 years agoART: Temporarily disable test 913 for non-aot configs
Andreas Gampe [Thu, 10 Nov 2016 03:33:08 +0000 (19:33 -0800)]
ART: Temporarily disable test 913 for non-aot configs

Until the test is generalized to recognize all allowed outputs,
disable non-default configurations.

Bug: 31385354
Test: m ART_TEST_INTERPRETER=true ART_TEST_JIT=true test-art-host-run-test-913-heaps
Change-Id: Iad10879391d8029445032d7b5a69e6ebf2672b9e

7 years agoMerge "Fix heap poisoning build"
Mathieu Chartier [Thu, 10 Nov 2016 02:27:45 +0000 (02:27 +0000)]
Merge "Fix heap poisoning build"
am: ec8a998b08

Change-Id: Ia44d577e98c0118ef358318012ccf01563413c9a

7 years agoMerge "Fix heap poisoning build"
Mathieu Chartier [Thu, 10 Nov 2016 02:19:10 +0000 (02:19 +0000)]
Merge "Fix heap poisoning build"

7 years agoMake empty checkpoint work while weak ref access is disabled.
Hiroshi Yamauchi [Thu, 3 Nov 2016 20:06:52 +0000 (13:06 -0700)]
Make empty checkpoint work while weak ref access is disabled.

Fix a potential race on PushOntoMarkStack for CC by running an empty
checkpoint (while weak ref access is disabled).

Bug: 32508093
Bug: 12687968
Test: test-art-host with CC/CMS, libartd boot with N9, Ritz EAAC.
Change-Id: I3749bb525e7734804307ee16262355f3fc730312

7 years agoFix heap poisoning build
Mathieu Chartier [Thu, 10 Nov 2016 00:33:54 +0000 (16:33 -0800)]
Fix heap poisoning build

Bug: 32577579

Test: mm build-art

Change-Id: I394691334ae2029810e069c768d34077d36679e2

7 years agoMerge "ART: Add reference following code"
Andreas Gampe [Thu, 10 Nov 2016 01:00:39 +0000 (01:00 +0000)]
Merge "ART: Add reference following code"
am: 1f77fed121

Change-Id: Ibf292654247f3cdb9625d4ab8aab27d91bcdea0e

7 years agoMerge "ART: Add reference following code"
Treehugger Robot [Thu, 10 Nov 2016 00:39:22 +0000 (00:39 +0000)]
Merge "ART: Add reference following code"

7 years agoAvoid read barriers for inlined check cast
Mathieu Chartier [Wed, 9 Nov 2016 23:18:27 +0000 (15:18 -0800)]
Avoid read barriers for inlined check cast

Avoiding read barriers improves speed and reduces code size.

Doing this can never result in false positives, only false negatives.
These false negatives are handled correcly by rechecking in the
entrypoint.

Ritzperf code size for CC:
arm32: 13439400->13300136 (-1.04%)
arm64: 16405120->16253568 (-0.92%)

Perf: TODO

Bug: 29516974
Bug: 12687968

Test: test-art-host, run ritzperf both with CC

Change-Id: Ie024e0b1e8ee415781fb73e8029e87e8a5318f86

7 years agoMerge "Add interface check cast fast path to arm, arm64, x86"
Mathieu Chartier [Wed, 9 Nov 2016 23:24:04 +0000 (23:24 +0000)]
Merge "Add interface check cast fast path to arm, arm64, x86"
am: 334b5c3d0d

Change-Id: I24ddc258559193caa56281a1aff7d1ea77a1b9f9

7 years agoMerge "Add interface check cast fast path to arm, arm64, x86"
Mathieu Chartier [Wed, 9 Nov 2016 23:16:16 +0000 (23:16 +0000)]
Merge "Add interface check cast fast path to arm, arm64, x86"

7 years agoDo not inline loops without exit edges
David Sehr [Fri, 4 Nov 2016 22:48:34 +0000 (15:48 -0700)]
Do not inline loops without exit edges

Fixes an issue with LinearOrder after inlining a function containing a
loop that has no exit edge.  The failure is due to incorrect loop
information being computed for blocks that are not on a path to the
inlined function's return.  They should not be considered part of the
caller's enclosing loop, but are today.

Bug: 32547653
Test: run-test --host 478-checker-inline-noreturn
Change-Id: I9694a1cb861430051c801d07f7ce29752332cba5

7 years agoMerge "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""
Nicolas Geoffray [Wed, 9 Nov 2016 21:41:59 +0000 (21:41 +0000)]
Merge "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""
am: 3b3daf35d3

Change-Id: I4d4868c2e915853f950fc830a80b83dabf1a4fd5

7 years agoMerge "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""
Nicolas Geoffray [Wed, 9 Nov 2016 21:32:14 +0000 (21:32 +0000)]
Merge "Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd.""

7 years agoRevert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."
Nicolas Geoffray [Wed, 9 Nov 2016 21:31:26 +0000 (21:31 +0000)]
Revert "Rename vdex-fd to output-vdex-fd, add input-vdex-fd."

Mishandled create_vdex_filename in installd.

This reverts commit bc654d0cbb4f45057f9482ad81cb613386bbce34.

Change-Id: I78f8fcd1c63133624f5bba01864ab858da0451d1