OSDN Git Service

android-x86/art.git
7 years agoMerge "Limit Jack threads during tests"
Sebastien Hertz [Thu, 5 Jan 2017 10:36:20 +0000 (10:36 +0000)]
Merge "Limit Jack threads during tests"
am: 77e9bddee9

Change-Id: Ie998180dd59076fed3211c7b4aefbe22546ef872

7 years agoMerge "Limit Jack threads during tests"
Sebastien Hertz [Thu, 5 Jan 2017 10:28:56 +0000 (10:28 +0000)]
Merge "Limit Jack threads during tests"

7 years agoLimit Jack threads during tests
Sebastien Hertz [Wed, 4 Jan 2017 15:07:57 +0000 (16:07 +0100)]
Limit Jack threads during tests

In default mode, run Jack with 4 threads to help reduce memory
footprint and thread contention. These are the same settings than
the Android build.

For the buildbot (where the Jack server is disabled), run Jack in
single-threaded mode to reduce the global memory consumption.

Bug: 31737153
Test: make -j32 test-art-host
Change-Id: I6a14efce92ea18dba008e6daa26cd6403e5eb503

7 years agoMerge "ART: Remove dequicken map from VerifiedMethod"
Andreas Gampe [Wed, 4 Jan 2017 23:05:04 +0000 (23:05 +0000)]
Merge "ART: Remove dequicken map from VerifiedMethod"
am: 18f7ef3dc0

Change-Id: I4464445f1b3c201249cd40e254d50c62235b0d84

7 years agoMerge "ART: Remove dequicken map from VerifiedMethod"
Treehugger Robot [Wed, 4 Jan 2017 22:59:02 +0000 (22:59 +0000)]
Merge "ART: Remove dequicken map from VerifiedMethod"

7 years agoART: Remove dequicken map from VerifiedMethod
Andreas Gampe [Wed, 4 Jan 2017 20:04:05 +0000 (12:04 -0800)]
ART: Remove dequicken map from VerifiedMethod

Remove now unused VerifiedMethod's dequicken map. Follow-up to
c51c7ca7a779563d153c137c6bf01c3ea532a6c9.

Results on a large well-known app in speed compile with -j4:

Before:
 dex2oat took [...] native alloc=84MB [...] swap=208MB [...]
After:
 dex2oat took [...] native alloc=76MB [...] swap=208MB [...]

Bug: 34053922
Test: m clean-oat-host && m test-art-host
Change-Id: Ie95fd297299a0f5fac0c8c702773ee8372f662b6

7 years agoMerge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot...
Roland Levillain [Wed, 4 Jan 2017 15:26:32 +0000 (15:26 +0000)]
Merge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."""
am: 001cd47ddd

Change-Id: I58e889a010f6683d329755626bc8187ab8b9612a

7 years agoMerge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot...
Roland Levillain [Wed, 4 Jan 2017 15:22:32 +0000 (15:22 +0000)]
Merge "Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."""

7 years agoMerge "Support non-exact upper bound of HBoundType."
Nicolas Geoffray [Wed, 4 Jan 2017 12:41:23 +0000 (12:41 +0000)]
Merge "Support non-exact upper bound of HBoundType."
am: b28c8749a5

Change-Id: Id64939c8ed1c9920b314a2d11ef2af56a9bb03df

7 years agoRevert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Roland Levillain [Wed, 4 Jan 2017 10:27:50 +0000 (10:27 +0000)]
Revert "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""

This reverts commit 122ceb492f37e97d022cba2221a87368f1847f5f.

Test: m test-art-target on ARM64, with and without read barriers/heap poisoning.
Bug: 32545705
Change-Id: I4b447d762082eea8edfabeb070317d274e2f5bd0

7 years agoMerge "Support non-exact upper bound of HBoundType."
Nicolas Geoffray [Wed, 4 Jan 2017 12:38:29 +0000 (12:38 +0000)]
Merge "Support non-exact upper bound of HBoundType."

7 years agoMerge "Do not record dependencies on arrays."
Nicolas Geoffray [Wed, 4 Jan 2017 12:12:53 +0000 (12:12 +0000)]
Merge "Do not record dependencies on arrays."
am: 88268f08ad

Change-Id: I60d860cd6a023e5a2b824396d9ea3d709fa41b09

7 years agoMerge "Do not record dependencies on arrays."
Treehugger Robot [Wed, 4 Jan 2017 12:10:41 +0000 (12:10 +0000)]
Merge "Do not record dependencies on arrays."

7 years agoMerge "MIPS64: Drop redundant sign-extensions in integer conversions"
Goran Jakovljevic [Wed, 4 Jan 2017 11:50:22 +0000 (11:50 +0000)]
Merge "MIPS64: Drop redundant sign-extensions in integer conversions"
am: 6fc063cd8a

Change-Id: I83e6c3904b12dd6e143129825d7950497cf4069c

7 years agoMerge "MIPS64: Drop redundant sign-extensions in integer conversions"
Treehugger Robot [Wed, 4 Jan 2017 11:47:50 +0000 (11:47 +0000)]
Merge "MIPS64: Drop redundant sign-extensions in integer conversions"

7 years agoMerge "MIPS32: Don't always do a null test in MarkGCCard"
Goran Jakovljevic [Wed, 4 Jan 2017 11:34:51 +0000 (11:34 +0000)]
Merge "MIPS32: Don't always do a null test in MarkGCCard"
am: 4ca40e89aa

Change-Id: Ic8bdf1a5a7d66b6ed9ef19a8e7f7000ec26c2e85

7 years agoMerge "MIPS64: Improve integer comparison with constants"
Goran Jakovljevic [Wed, 4 Jan 2017 11:32:53 +0000 (11:32 +0000)]
Merge "MIPS64: Improve integer comparison with constants"
am: 7ee9ee9921

Change-Id: I00bd014b5340d5509b96a205a692ae87211bf66b

7 years agoMerge "MIPS32: Don't always do a null test in MarkGCCard"
Treehugger Robot [Wed, 4 Jan 2017 11:31:52 +0000 (11:31 +0000)]
Merge "MIPS32: Don't always do a null test in MarkGCCard"

7 years agoMerge "MIPS64: Improve integer comparison with constants"
Treehugger Robot [Wed, 4 Jan 2017 11:30:15 +0000 (11:30 +0000)]
Merge "MIPS64: Improve integer comparison with constants"

7 years agoMerge changes from topic 'VIXLUpdate'
Nicolas Geoffray [Wed, 4 Jan 2017 10:09:32 +0000 (10:09 +0000)]
Merge changes from topic 'VIXLUpdate'
am: 059802455e

Change-Id: I5b85d6ef53d47d1a5fed422a96795fb81de0a063

7 years agoARM: VIXL32: Use a default code buffer capacity of 1Kb.
Scott Wakeling [Wed, 4 Jan 2017 10:09:28 +0000 (10:09 +0000)]
ARM: VIXL32: Use a default code buffer capacity of 1Kb.
am: f8d19c2852

Change-Id: I2619d712f7af0127692407bf37a2968c34b868ea

7 years agoART: VIXL32: Fix assembler test after VIXL update.
Artem Serov [Wed, 4 Jan 2017 10:09:19 +0000 (10:09 +0000)]
ART: VIXL32: Fix assembler test after VIXL update.
am: f2665fa6e5

Change-Id: I5c6e97bbcdb56aaf66764dd8837fefdbb0270b1e

7 years agoMerge "MIPS64: Implement branchless HCondition for floats"
Nicolas Geoffray [Wed, 4 Jan 2017 10:08:04 +0000 (10:08 +0000)]
Merge "MIPS64: Implement branchless HCondition for floats"
am: e2157fb29e

Change-Id: I5cd74fb1b95b2e20c8b3e27918fbf3fb4a6d8b4b

7 years agoMerge "Disable libcore test that requires IPv6"
Yi Kong [Wed, 4 Jan 2017 10:07:23 +0000 (10:07 +0000)]
Merge "Disable libcore test that requires IPv6"
am: 0ec9ac0a5f

Change-Id: Ie611e75ecf8659a4cf8b71f33ac05732607ccf51

7 years agoMerge changes from topic 'VIXLUpdate'
Nicolas Geoffray [Wed, 4 Jan 2017 10:06:27 +0000 (10:06 +0000)]
Merge changes from topic 'VIXLUpdate'

* changes:
  ARM: VIXL32: Use a default code buffer capacity of 1Kb.
  ART: VIXL32: Fix assembler test after VIXL update.

7 years agoMerge "MIPS64: Implement branchless HCondition for floats"
Nicolas Geoffray [Wed, 4 Jan 2017 10:04:08 +0000 (10:04 +0000)]
Merge "MIPS64: Implement branchless HCondition for floats"

7 years agoMerge "Disable libcore test that requires IPv6"
Yi Kong [Wed, 4 Jan 2017 10:03:00 +0000 (10:03 +0000)]
Merge "Disable libcore test that requires IPv6"

7 years agoDisable libcore test that requires IPv6
Yi Kong [Wed, 4 Jan 2017 00:55:10 +0000 (00:55 +0000)]
Disable libcore test that requires IPv6

Test: N/A
Bug: 25178637
Bug: 34038136
Change-Id: I14c7451d269ee8f1163369d8c0d2209498466b66

7 years agoMerge "Clean up VerifiedMethod."
Nicolas Geoffray [Tue, 3 Jan 2017 22:47:03 +0000 (22:47 +0000)]
Merge "Clean up VerifiedMethod."
am: b1c41c2431

Change-Id: Ibfb35a9eb02b17f77371a573658ada399bf43b0a

7 years agoMerge "Clean up VerifiedMethod."
Treehugger Robot [Tue, 3 Jan 2017 22:33:12 +0000 (22:33 +0000)]
Merge "Clean up VerifiedMethod."

7 years agoClean up VerifiedMethod.
Nicolas Geoffray [Fri, 25 Nov 2016 15:46:48 +0000 (15:46 +0000)]
Clean up VerifiedMethod.

Remove unused methods, and devirt map.

Results on a large well-known app in speed compile with -j4:

Before:
 dex2oat took [...] native alloc=149MB [...] swap=208MB (218103808B)
After:
 dex2oat took [...] native alloc=84MB [...] swap=208MB (218103808B)

Bug: 34053922
Test: m clean-oat-host && m test-art-host
Change-Id: I0791c1e4ec7a98ae3c98321c582974db8e26617d

7 years agoMerge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Nicolas Geoffray [Tue, 3 Jan 2017 21:42:29 +0000 (21:42 +0000)]
Merge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
am: db577b6911

Change-Id: If6d1d1c3bedfde8378425b519dd732cb494876ee

7 years agoMerge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""
Nicolas Geoffray [Tue, 3 Jan 2017 21:35:22 +0000 (21:35 +0000)]
Merge "Revert "Avoid scratch register exhaustion during ARM64 stack slot moves.""

7 years agoRevert "Avoid scratch register exhaustion during ARM64 stack slot moves."
Nicolas Geoffray [Tue, 3 Jan 2017 21:34:59 +0000 (21:34 +0000)]
Revert "Avoid scratch register exhaustion during ARM64 stack slot moves."

Checker test fails.
Bug: 32545705

This reverts commit 4ec76d28f0f808117272134347abf828eea80b91.

Change-Id: Ief14978596341399404c504ec4ca6b68c54fd63c

7 years agoMerge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
Nicolas Geoffray [Tue, 3 Jan 2017 20:51:26 +0000 (20:51 +0000)]
Merge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
am: 595375fc44

Change-Id: Ia4e9e9a65f9d3c48532983bff3205acc6590e0e3

7 years agoMerge "MIPS64: Align register spills on 8-byte boundaries in slow paths"
Nicolas Geoffray [Tue, 3 Jan 2017 20:43:00 +0000 (20:43 +0000)]
Merge "MIPS64: Align register spills on 8-byte boundaries in slow paths"

7 years agoMerge "Avoid scratch register exhaustion during ARM64 stack slot moves."
Roland Levillain [Tue, 3 Jan 2017 15:51:38 +0000 (15:51 +0000)]
Merge "Avoid scratch register exhaustion during ARM64 stack slot moves."
am: 00797355fa

Change-Id: I6edabfc4aa252d8308f6e0baa6b81887fa4357e3

7 years agoMerge "Avoid scratch register exhaustion during ARM64 stack slot moves."
Roland Levillain [Tue, 3 Jan 2017 15:45:44 +0000 (15:45 +0000)]
Merge "Avoid scratch register exhaustion during ARM64 stack slot moves."

7 years agoAvoid scratch register exhaustion during ARM64 stack slot moves.
Roland Levillain [Mon, 7 Nov 2016 18:50:32 +0000 (18:50 +0000)]
Avoid scratch register exhaustion during ARM64 stack slot moves.

On ARM64, do not limit the selection of a scratch register
used in a move between two stack slots (or between two
double stack slots) to VIXL's floating-point register pool,
as it contains only one register (D31) and can be exhausted
in some rare cases. Instead, query both the core and the FP
register pools.

Add a regression run-test (626-checker-arm64-scratch-register).

Test: m test-art-target (on ARM64)
Bug: 32545705
Change-Id: I6203a4340e3c8b4f4879c07ed1be4c433c311c0f

7 years agoMerge "MIPS64: java.lang.String.getChars"
Chris Larsen [Tue, 3 Jan 2017 11:23:20 +0000 (11:23 +0000)]
Merge "MIPS64: java.lang.String.getChars"
am: 66e3919bc4

Change-Id: I1439b994fbd909923c02e16936dc5a60dfb88ec3

7 years agoMerge "MIPS64: java.lang.String.getChars"
Treehugger Robot [Tue, 3 Jan 2017 11:13:50 +0000 (11:13 +0000)]
Merge "MIPS64: java.lang.String.getChars"

7 years agoMIPS64: Implement branchless HCondition for floats
Tijana Jakovljevic [Fri, 30 Dec 2016 08:23:01 +0000 (09:23 +0100)]
MIPS64: Implement branchless HCondition for floats

Test: mma test-art-target-run-test64 in QEMU

Change-Id: I595b5b7ddf9ebb19e872ed85f2e4098a835d9214

7 years agoMIPS64: Drop redundant sign-extensions in integer conversions
Goran Jakovljevic [Wed, 28 Dec 2016 15:21:48 +0000 (16:21 +0100)]
MIPS64: Drop redundant sign-extensions in integer conversions

Test: mma test-art-target-run-test64 in QEMU

Change-Id: I1dc7923d89528964771ddca288c5016d729cfb05

7 years agoMIPS64: Improve integer comparison with constants
Goran Jakovljevic [Wed, 28 Dec 2016 13:33:21 +0000 (14:33 +0100)]
MIPS64: Improve integer comparison with constants

Test: mma test-art-target-run-test64 in QEMU

Change-Id: Ib29855a3e268e0333602f47185c520c6cfb16b59

7 years agoMIPS32: Don't always do a null test in MarkGCCard
Goran Jakovljevic [Mon, 26 Dec 2016 13:21:43 +0000 (14:21 +0100)]
MIPS32: Don't always do a null test in MarkGCCard

Test: mma test-art-target-run-test on CI20

Change-Id: I38fac492bb76b06b9cffc9be16944fb22ed2db70

7 years agoMerge "Revert "Tests on FP Math.abs()""
Aart Bik [Fri, 23 Dec 2016 00:55:52 +0000 (00:55 +0000)]
Merge "Revert "Tests on FP Math.abs()""
am: 6a14c62270

Change-Id: I210f6454f95bbe5dbeb10323b353f83ba36e7317

7 years agoMerge "Revert "Tests on FP Math.abs()""
Treehugger Robot [Fri, 23 Dec 2016 00:44:54 +0000 (00:44 +0000)]
Merge "Revert "Tests on FP Math.abs()""

7 years agoMIPS64: Align register spills on 8-byte boundaries in slow paths
Alexey Frunze [Thu, 22 Dec 2016 21:54:23 +0000 (13:54 -0800)]
MIPS64: Align register spills on 8-byte boundaries in slow paths

64-bit loads/stores would otherwise be split into pairs of
32-bit ones.

Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: test-art-target-run-test-optimizing (MIPS64R6) in QEMU

Change-Id: I4846d11b52b71507dfd5ca2e27b3f2a5befcc58e

7 years agoRevert "Tests on FP Math.abs()"
Aart Bik [Thu, 22 Dec 2016 22:54:04 +0000 (22:54 +0000)]
Revert "Tests on FP Math.abs()"

This reverts commit b67877704edf8a32e71ce825d7ab4703be39f8ce.

On  art-relocate-no-patchoat (linux)
we saw

#################### info
# Tests on floating-point Math.abs.
#################### diffs
--- expected.txt 2016-12-22 21:33:16.796152568 +0000
+++ output.txt 2016-12-22 21:44:16.685738052 +0000
@@ -1 +1,3 @@
-passed
+Exception in thread "main" java.lang.Error: Expected: 0x7f800001, found: 0x7fc00001
+ at Main.expectEquals32(Main.java:140)
+ at Main.main(Main.java:85)
####################

Change-Id: If8d1bce9d4d20668661af82bbd08940787cd8252

7 years agoMerge "Tests on FP Math.abs()"
Aart Bik [Thu, 22 Dec 2016 21:09:09 +0000 (21:09 +0000)]
Merge "Tests on FP Math.abs()"
am: 1e33d05866

Change-Id: Iacc0ec3d84e25b840cb1231e1a2ce48bde4bbfc0

7 years agoMerge "Tests on FP Math.abs()"
Treehugger Robot [Thu, 22 Dec 2016 21:00:40 +0000 (21:00 +0000)]
Merge "Tests on FP Math.abs()"

7 years agoARM: VIXL32: Use a default code buffer capacity of 1Kb.
Scott Wakeling [Tue, 20 Dec 2016 09:43:32 +0000 (09:43 +0000)]
ARM: VIXL32: Use a default code buffer capacity of 1Kb.

Test: mma test-art-host && mma test-art-target

Change-Id: I238c40e775338b63cbdb8868c09d0555b0c3b077

7 years agoART: VIXL32: Fix assembler test after VIXL update.
Artem Serov [Wed, 21 Dec 2016 18:42:21 +0000 (18:42 +0000)]
ART: VIXL32: Fix assembler test after VIXL update.

Veneer pool is emitted 4 bytes later, so the expected output for
the test has been adjusted.

Test: test-art-host
Test: test-art-target
Change-Id: I3d656224fd4151904b8096486adecb6ef1eafea6

7 years agoMerge "Refactored compilation on host to own method. Added dx option."
Aart Bik [Wed, 21 Dec 2016 17:06:30 +0000 (17:06 +0000)]
Merge "Refactored compilation on host to own method. Added dx option."
am: f827804c3d

Change-Id: I1a02265312b3a64e7746522197585212208f8f92

7 years agoMerge "Refactored compilation on host to own method. Added dx option."
Aart Bik [Wed, 21 Dec 2016 16:59:12 +0000 (16:59 +0000)]
Merge "Refactored compilation on host to own method. Added dx option."

7 years agoDo not record dependencies on arrays.
Nicolas Geoffray [Wed, 21 Dec 2016 15:06:46 +0000 (15:06 +0000)]
Do not record dependencies on arrays.

We do not record dependencies on arrays with component types in
the compiled DEX files, as the only thing that might change is their
access flags. If we were to change these flags in a breaking way, we would
need to enforce full verification again anyways.

Saves on doing type resolution during vdex update.

Test: test-art-host
Change-Id: Ib85e172a5cb99c2999eed8b6b37390aa6b5cac37

7 years agoSupport non-exact upper bound of HBoundType.
Nicolas Geoffray [Tue, 20 Dec 2016 09:25:42 +0000 (09:25 +0000)]
Support non-exact upper bound of HBoundType.

It used to not affect the analysis, but in order to recognize:
if (foo.getClass() == Foo.class)

We now need to differentiate between an exact and a non-exact
upper bound. Until now the "exact" flag on upper bounds was
there for convenience:
1) re-use of the same data structure
2) we mostly cared about HLoadClass as upper bounds.

Test: test-art-host
Test: master build with prebuilts
Test: apk scanner
Change-Id: I3a1f5e4d489a715a4545becee4c8c80f7d152fc0

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd"
Nicolas Geoffray [Wed, 21 Dec 2016 14:23:20 +0000 (14:23 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd"
am: cb2ce333ee

Change-Id: I43e2c3bb8a8133493c7d4724c9514a64b22b420c

7 years agoMerge "Update vdex in place if input_vdex_fd == output_vdex_fd"
Nicolas Geoffray [Wed, 21 Dec 2016 14:12:41 +0000 (14:12 +0000)]
Merge "Update vdex in place if input_vdex_fd == output_vdex_fd"

7 years agoMerge "Point optimizations for vdex."
Nicolas Geoffray [Wed, 21 Dec 2016 13:37:48 +0000 (13:37 +0000)]
Merge "Point optimizations for vdex."
am: bde1168f3b

Change-Id: I8ed430a862b5ab6e2d5d501d11b8242e2c8c62c3

7 years agoMerge "Point optimizations for vdex."
Nicolas Geoffray [Wed, 21 Dec 2016 13:30:48 +0000 (13:30 +0000)]
Merge "Point optimizations for vdex."

7 years agoMerge "Optimize OatWriter when we don't compile any method."
Nicolas Geoffray [Wed, 21 Dec 2016 12:37:13 +0000 (12:37 +0000)]
Merge "Optimize OatWriter when we don't compile any method."
am: 454f339775

Change-Id: I28a6e8d1826d8f71a5109e25391703801324b79a

7 years agoMerge "Optimize OatWriter when we don't compile any method."
Nicolas Geoffray [Wed, 21 Dec 2016 12:30:10 +0000 (12:30 +0000)]
Merge "Optimize OatWriter when we don't compile any method."

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls."
Nicolas Geoffray [Wed, 21 Dec 2016 12:23:44 +0000 (12:23 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls."
am: 56e2f93699

Change-Id: I2f21012b21068fa4e92a0bb697b741b88024ee12

7 years agoMerge "Remove soon to be obsolete call kinds for direct calls."
Nicolas Geoffray [Wed, 21 Dec 2016 12:17:42 +0000 (12:17 +0000)]
Merge "Remove soon to be obsolete call kinds for direct calls."

7 years agoPoint optimizations for vdex.
Nicolas Geoffray [Wed, 21 Dec 2016 10:29:43 +0000 (10:29 +0000)]
Point optimizations for vdex.

- Do not record assignability due to not optimized CHECKCAST.
- Do not record that j.l.Object must not be assignable to other types.
- Chase the super class boundary to avoid recording a dependency
  on a local class. This avoids doing type resolution of that class when
  verifying the VerifierDeps.

Test: test-art-host
bug: 30937355
Change-Id: Ibcee205451f23958c759ddcca7f88fe9003d37a9

7 years agoOptimize OatWriter when we don't compile any method.
Nicolas Geoffray [Tue, 20 Dec 2016 21:15:00 +0000 (21:15 +0000)]
Optimize OatWriter when we don't compile any method.

- Don't write any quickening info.
- Don't visit methods.

Saves ~20% of compilation times.

Test: test-art-host

Change-Id: Ib18fd06c0ca42308e1d81401de0ee3e6297de0ce

7 years agoUpdate vdex in place if input_vdex_fd == output_vdex_fd
Nicolas Geoffray [Tue, 20 Dec 2016 13:17:09 +0000 (13:17 +0000)]
Update vdex in place if input_vdex_fd == output_vdex_fd

Test: test-art-host
bug: 30937355
Change-Id: Ib8180d67996faec518d9092725b5de00d4dba9f6

7 years agoMerge "Disable 080-oom-fragmentation."
Nicolas Geoffray [Wed, 21 Dec 2016 10:35:08 +0000 (10:35 +0000)]
Merge "Disable 080-oom-fragmentation."
am: 294e107e89

Change-Id: I641979606347df80a9b92c3006050d5f7e62ccc4

7 years agoMerge "Disable 080-oom-fragmentation."
Nicolas Geoffray [Wed, 21 Dec 2016 10:26:25 +0000 (10:26 +0000)]
Merge "Disable 080-oom-fragmentation."

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support""""
Nicolas Geoffray [Wed, 21 Dec 2016 09:30:21 +0000 (09:30 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support""""
am: 441a5e92ae

Change-Id: I99ed57c3353933c045c5300fc22b1039bf4ad699

7 years agoMerge "Revert "Create test for field access in obsolete methods.""
Nicolas Geoffray [Wed, 21 Dec 2016 09:30:05 +0000 (09:30 +0000)]
Merge "Revert "Create test for field access in obsolete methods.""
am: 30bc64006c

Change-Id: I9447e7f4954b8a7ff755b73beabcd5b490106311

7 years agoMerge "Revert "Revert "Revert "Basic obsolete methods support""""
Nicolas Geoffray [Wed, 21 Dec 2016 09:26:36 +0000 (09:26 +0000)]
Merge "Revert "Revert "Revert "Basic obsolete methods support""""

7 years agoRevert "Revert "Revert "Basic obsolete methods support"""
Nicolas Geoffray [Wed, 21 Dec 2016 09:26:18 +0000 (09:26 +0000)]
Revert "Revert "Revert "Basic obsolete methods support"""

Fails in tracing mode

Bug: 32369913
Bug: 33630159

This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722.

Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69

7 years agoMerge "Revert "Create test for field access in obsolete methods.""
Nicolas Geoffray [Wed, 21 Dec 2016 09:25:42 +0000 (09:25 +0000)]
Merge "Revert "Create test for field access in obsolete methods.""

7 years agoRevert "Create test for field access in obsolete methods."
Nicolas Geoffray [Wed, 21 Dec 2016 09:25:19 +0000 (09:25 +0000)]
Revert "Create test for field access in obsolete methods."

Fails on ndebug.

This reverts commit 322214405bf43684dbbde2fce549b2dad53fb04a.

Change-Id: I6a6c6c4bfb230eef1b7c4cb35f7e8051561d9e78

7 years agoMerge "Revert "Cleanup jvmti tests""
Nicolas Geoffray [Wed, 21 Dec 2016 09:02:01 +0000 (09:02 +0000)]
Merge "Revert "Cleanup jvmti tests""
am: 3e5d7dcac8

Change-Id: If77d9aa348c1f4f45a74f556badcde13eef03940

7 years agoDisable 080-oom-fragmentation.
Nicolas Geoffray [Wed, 21 Dec 2016 08:58:27 +0000 (08:58 +0000)]
Disable 080-oom-fragmentation.

bug:33795328
Test: test-art-host
Change-Id: I1aa87d8564c930f5ad5f8d5c4ac75f432cb6e7e7

7 years agoMerge "Revert "Cleanup jvmti tests""
Nicolas Geoffray [Wed, 21 Dec 2016 08:56:10 +0000 (08:56 +0000)]
Merge "Revert "Cleanup jvmti tests""

7 years agoRevert "Cleanup jvmti tests"
Nicolas Geoffray [Wed, 21 Dec 2016 08:55:49 +0000 (08:55 +0000)]
Revert "Cleanup jvmti tests"

Breaks ndebug.

This reverts commit ca5b9dccced35a2dbf9626d92d3a44886aee097b.

Change-Id: I1f45fa43f554e9796f397b2f9f111689c3845692

7 years agoRefactored compilation on host to own method. Added dx option.
Aart Bik [Wed, 21 Dec 2016 03:06:37 +0000 (19:06 -0800)]
Refactored compilation on host to own method. Added dx option.

Test: jfuzzing itself
Bug: 31267855
Change-Id: I9224075ea17b57c8c36b74fa4b9e401e26d3c96e

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
Alex Light [Wed, 21 Dec 2016 02:05:09 +0000 (02:05 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
am: d1348d8509

Change-Id: I73c93a95bc25010aaae2075afac54eade2d69c5e

7 years agoMerge "Temporarily disable tests 914, 915, 917, & 918 on JIT."
Alex Light [Wed, 21 Dec 2016 01:57:50 +0000 (01:57 +0000)]
Merge "Temporarily disable tests 914, 915, 917, & 918 on JIT."

7 years agoTemporarily disable tests 914, 915, 917, & 918 on JIT.
Alex Light [Wed, 21 Dec 2016 00:15:45 +0000 (16:15 -0800)]
Temporarily disable tests 914, 915, 917, & 918 on JIT.

Since these tests are very sensitive to the positioning of
runtime methods due to bugs we will temporarily disable them.

Bug: 33630159
Bug: 33616143
Test: ART_TEST_JIT=true mma -j40 test-art-host
Change-Id: I38795029eed2ea8416d24a259f3a7925d95684c6

7 years agoMerge "Fix transfer over rejected induction."
Aart Bik [Tue, 20 Dec 2016 20:55:47 +0000 (20:55 +0000)]
Merge "Fix transfer over rejected induction."
am: 0239c439e4

Change-Id: I5fb5aa26a399fefe7834fff8c3d3fb48dcbb8e4d

7 years agoTests on FP Math.abs()
Aart Bik [Mon, 19 Dec 2016 21:57:31 +0000 (13:57 -0800)]
Tests on FP Math.abs()

Rationale:
As a "quality of implementation" rather than pure "spec compliance"
we require that Math.abs() clears the sign bit (but changes nothing
else) for all numbers, including NaN.

These tests ensure that remains the case.

**NOTE**
This CL depends on the pending libcore change
(https://android-review.googlesource.com/#/c/316368/).

Test: test-art-host
Bug: 30758343

Change-Id: I01044a73992b2e89d97060ed8bbb76abea0933b9

7 years agoMerge "Fix transfer over rejected induction."
Aart Bik [Tue, 20 Dec 2016 20:46:20 +0000 (20:46 +0000)]
Merge "Fix transfer over rejected induction."

7 years agoFix transfer over rejected induction.
Aart Bik [Tue, 20 Dec 2016 19:13:03 +0000 (11:13 -0800)]
Fix transfer over rejected induction.

Rationale:
With the more precise rejection of narrowing
linear induction, parent rules should be
prepared to reject failed transfers. Also
added a bit more comments to clarify rules.
With regression tests.

Bug: 33774618
Test: test-art-host
Change-Id: I4a206e51d4359ab383379914dd4697fc81903547

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable."
Hiroshi Yamauchi [Tue, 20 Dec 2016 19:04:13 +0000 (19:04 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable."
am: 364fedb63f

Change-Id: I50fe21259a1b6bc51ecc8fd278164fef11db9035

7 years agoMerge "Handle ART_USE_READ_BARRIER as a product variable."
Hiroshi Yamauchi [Tue, 20 Dec 2016 18:56:19 +0000 (18:56 +0000)]
Merge "Handle ART_USE_READ_BARRIER as a product variable."

7 years agoMerge "Create test for field access in obsolete methods."
Alex Light [Tue, 20 Dec 2016 18:55:10 +0000 (18:55 +0000)]
Merge "Create test for field access in obsolete methods."
am: bd1ec61522

Change-Id: I0c071547bd5070d88e1e91d6796365366617a012

7 years agoMerge "Create test for field access in obsolete methods."
Alex Light [Tue, 20 Dec 2016 18:45:54 +0000 (18:45 +0000)]
Merge "Create test for field access in obsolete methods."

7 years agoMerge changes Ie74f2dbe,I092d2e95,I5a75f5c4
Calin Juravle [Tue, 20 Dec 2016 18:42:30 +0000 (18:42 +0000)]
Merge changes Ie74f2dbe,I092d2e95,I5a75f5c4
am: 07001c8540

Change-Id: I7152ae8d2689fd2995d4c9c5443ff62a59734754

7 years agoFix 616-cha assumptions.
Calin Juravle [Tue, 20 Dec 2016 18:42:28 +0000 (18:42 +0000)]
Fix 616-cha assumptions.
am: 6cb21552c9

Change-Id: If520e0315882f5d48814d84a584dd89634cc3f22

7 years agoFix JIT crash due to unverified dead code
Calin Juravle [Tue, 20 Dec 2016 18:42:20 +0000 (18:42 +0000)]
Fix JIT crash due to unverified dead code
am: 857f058d4b

Change-Id: I7d8c08c35ac56ab72aaae41663794c7f96b8b485

7 years agoUse interpret-only instead of verify-at-runtime when testing JIT
Calin Juravle [Tue, 20 Dec 2016 18:42:11 +0000 (18:42 +0000)]
Use interpret-only instead of verify-at-runtime when testing JIT
am: 0966558b07

Change-Id: Ib0d76c219a887086626e6384ad19ec6b8c05eb9b

7 years agoMerge changes I8cc87bac,If1a92e47
Alex Light [Tue, 20 Dec 2016 18:41:38 +0000 (18:41 +0000)]
Merge changes I8cc87bac,If1a92e47
am: 1aa03b379f

Change-Id: I830f6fb2937d561a5d7762ac35b93ea6e6f72df7

7 years agoCleanup jvmti tests
Alex Light [Tue, 20 Dec 2016 18:41:37 +0000 (18:41 +0000)]
Cleanup jvmti tests
am: ca5b9dccce

Change-Id: I6acbcddf3eb32749d5c7e15bbe7a27d301f830ee

7 years agoRevert "Revert "Basic obsolete methods support""
Alex Light [Tue, 20 Dec 2016 18:41:25 +0000 (18:41 +0000)]
Revert "Revert "Basic obsolete methods support""
am: ce77fc0e7f

Change-Id: I086f8b0b3c23ec64ffb577e9946c477dc5d82794

7 years agoMerge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."
Nicolas Geoffray [Tue, 20 Dec 2016 18:41:10 +0000 (18:41 +0000)]
Merge "ARM: VIXL32: Use 16-bit encoding for B(cond,...) where possible."
am: 1ffb6fc921

Change-Id: I2c171a03e02067998e8cebc8aedeb6265d6db89d