OSDN Git Service

android-x86/art.git
8 years agoMerge "Re-enable adding intern table to image"
Mathieu Chartier [Wed, 6 Jan 2016 19:47:37 +0000 (19:47 +0000)]
Merge "Re-enable adding intern table to image"
am: 503a6fa15f

* commit '503a6fa15f22bd5fedf097f1ecd01fcbc43779f3':
  Re-enable adding intern table to image

8 years agoMerge "Re-enable adding intern table to image"
Mathieu Chartier [Wed, 6 Jan 2016 19:42:41 +0000 (19:42 +0000)]
Merge "Re-enable adding intern table to image"

8 years agoMerge "Get rid of shadow maps for images"
Mathieu Chartier [Wed, 6 Jan 2016 19:25:49 +0000 (19:25 +0000)]
Merge "Get rid of shadow maps for images"
am: ed1ae775ea

* commit 'ed1ae775ea8e411028e62b477069c60dab6dca03':
  Get rid of shadow maps for images

8 years agoMerge "Get rid of shadow maps for images"
Mathieu Chartier [Wed, 6 Jan 2016 19:19:22 +0000 (19:19 +0000)]
Merge "Get rid of shadow maps for images"

8 years agoGet rid of shadow maps for images
Mathieu Chartier [Wed, 6 Jan 2016 02:03:15 +0000 (18:03 -0800)]
Get rid of shadow maps for images

Fixed the image bitmap creation to use the End of the object section
instead of using the map size. This means that the bitmap covers at
most one word of bits past the end of the object section.

Reverts shadow map logic introduced by multi image CL:
(commit dcdc85bbd569f0ee66c331b4219c19304a616214)

Bug: 26317072
Change-Id: I181cf3490a5b292c00c6b0f97536f3206adcd091

8 years agoRe-enable adding intern table to image
Mathieu Chartier [Tue, 29 Dec 2015 21:17:37 +0000 (13:17 -0800)]
Re-enable adding intern table to image

Changed intern table to have a stack of tables similarily to
ClassTable. Adding an image intern table adds to the front of the
intern table stack. Also some cleanup.

Bug: 26317072

Change-Id: I7bbf9485b5dbbbf3707fed21e29de3beccfb8705

8 years agoMerge "Disable tests while investigating."
Nicolas Geoffray [Wed, 6 Jan 2016 16:41:20 +0000 (16:41 +0000)]
Merge "Disable tests while investigating."
am: 664d7cfba0

* commit '664d7cfba0e734ba8917c260e424ea559b7e8f9f':
  Disable tests while investigating.

8 years agoMerge "Disable tests while investigating."
Nicolas Geoffray [Wed, 6 Jan 2016 16:34:44 +0000 (16:34 +0000)]
Merge "Disable tests while investigating."

8 years agoDisable tests while investigating.
Nicolas Geoffray [Wed, 6 Jan 2016 16:33:41 +0000 (16:33 +0000)]
Disable tests while investigating.

Change-Id: I3f1e46a8bf27c962c96315d125ddd8430b7f9f0b

8 years agoMerge "ART: Don\'t set initial RTI for BoundType if input untyped"
David Brazdil [Wed, 6 Jan 2016 12:51:41 +0000 (12:51 +0000)]
Merge "ART: Don\'t set initial RTI for BoundType if input untyped"
am: 5b7b5ddb51

* commit '5b7b5ddb515828c93f0c2aec67aa513c32d0de22':
  ART: Don't set initial RTI for BoundType if input untyped

8 years agoMerge "ART: Resolve ambiguous ArraySets"
David Brazdil [Wed, 6 Jan 2016 12:51:32 +0000 (12:51 +0000)]
Merge "ART: Resolve ambiguous ArraySets"
am: a6bfd5967b

* commit 'a6bfd5967b751715e15c4f22d8a6a03285bed9bc':
  ART: Resolve ambiguous ArraySets

8 years agoMerge "ART: Don't set initial RTI for BoundType if input untyped"
David Brazdil [Wed, 6 Jan 2016 12:47:07 +0000 (12:47 +0000)]
Merge "ART: Don't set initial RTI for BoundType if input untyped"

8 years agoMerge "ART: Resolve ambiguous ArraySets"
David Brazdil [Wed, 6 Jan 2016 12:45:54 +0000 (12:45 +0000)]
Merge "ART: Resolve ambiguous ArraySets"

8 years agoART: Don't set initial RTI for BoundType if input untyped
David Brazdil [Mon, 28 Dec 2015 10:53:34 +0000 (10:53 +0000)]
ART: Don't set initial RTI for BoundType if input untyped

ReferenceTypePropagation will create a BoundType with upper bound
[Object, inexact, not null] for each if-not-null branch. The logic
setting its initial RTI will, however, set it straight to Object if
the input is untyped (loop phi or its derivate). This patch changes
the logic to leave the BoundType untyped and set it during fix-point
iteration.

Bug: 26330326
Change-Id: Ic492e2179a4c51f577908e60fbcf70d728b98a6f

8 years agoART: Resolve ambiguous ArraySets
David Brazdil [Wed, 16 Dec 2015 10:30:45 +0000 (10:30 +0000)]
ART: Resolve ambiguous ArraySets

Just like aget(-wide), the value operand of aput(-wide) bytecode
instructions can be both int/long and float/double. This patch builds
on the previous mechanism for resolving type of ArrayGets to type the
values of ArraySets based on the reference type of the array.

Bug: 22538329

Change-Id: Ic86abbb58de146692de04476b555010b6fcdd8b6

8 years agoMerge "ART: Create BoundType for CheckCast early"
David Brazdil [Wed, 6 Jan 2016 10:39:23 +0000 (10:39 +0000)]
Merge "ART: Create BoundType for CheckCast early"
am: 87bafaf563

* commit '87bafaf563d35616804dd0cc0dbde176aac87817':
  ART: Create BoundType for CheckCast early

8 years agoMerge "ART: Create BoundType for CheckCast early"
David Brazdil [Wed, 6 Jan 2016 10:34:16 +0000 (10:34 +0000)]
Merge "ART: Create BoundType for CheckCast early"

8 years agoART: Create BoundType for CheckCast early
David Brazdil [Sun, 27 Dec 2015 13:36:12 +0000 (13:36 +0000)]
ART: Create BoundType for CheckCast early

ReferenceTypePropagation creates a BoundType for each CheckCast and
replaces all dominated uses of the casted object with it. This does
not include Phi uses on the boundary of the dominated scope, reducing
typing precision. This patch creates the BoundType in Builder, causing
SsaBuilder to replace uses of the object automatically.

Bug: 26081304

Change-Id: I083979155cccb348071ff58cb9060a896ed7d2ac

8 years agoMerge "Update expectations after push of apache-xml and other fixes."
Nicolas Geoffray [Wed, 6 Jan 2016 09:58:14 +0000 (09:58 +0000)]
Merge "Update expectations after push of apache-xml and other fixes."
am: c917d195d8

* commit 'c917d195d8d8d05f90796b1e0842883fc608346d':
  Update expectations after push of apache-xml and other fixes.

8 years agoMerge "Update expectations after push of apache-xml and other fixes."
Nicolas Geoffray [Wed, 6 Jan 2016 09:52:15 +0000 (09:52 +0000)]
Merge "Update expectations after push of apache-xml and other fixes."

8 years agoUpdate expectations after push of apache-xml and other fixes.
Nicolas Geoffray [Wed, 6 Jan 2016 09:33:56 +0000 (09:33 +0000)]
Update expectations after push of apache-xml and other fixes.

bug:26326992
Change-Id: I7d0c0706c53b4b04a3a3038b334cac6bcda4868c

8 years agoMerge "Revert "Add new test expectations after enso move.""
Nicolas Geoffray [Wed, 6 Jan 2016 08:48:21 +0000 (08:48 +0000)]
Merge "Revert "Add new test expectations after enso move.""
am: 9c2bb85d5b

* commit '9c2bb85d5bbfd6a864e420c82f312def700436e5':
  Revert "Add new test expectations after enso move."

8 years agoMerge "Revert "Add new test expectations after enso move.""
Nicolas Geoffray [Wed, 6 Jan 2016 08:43:03 +0000 (08:43 +0000)]
Merge "Revert "Add new test expectations after enso move.""

8 years agoRevert "Add new test expectations after enso move."
Nicolas Geoffray [Wed, 6 Jan 2016 08:34:46 +0000 (08:34 +0000)]
Revert "Add new test expectations after enso move."

Failures were due to a bogus date on devices.

Bug: 26353151
Bug: 26326992

This reverts commit 376756d0c9e23173c1d93fe32acf6b3e08f45b73.

Change-Id: I3ecdd152b27299efab37ded29b62c2f3369b5d96

8 years agoMerge "Fix multi-image TODOs in class linker, runtime, and oat file."
Jeff Hao [Wed, 6 Jan 2016 02:15:06 +0000 (02:15 +0000)]
Merge "Fix multi-image TODOs in class linker, runtime, and oat file."
am: a44396ee4b

* commit 'a44396ee4ba91fd146344337b031896a49928345':
  Fix multi-image TODOs in class linker, runtime, and oat file.

8 years agoMerge "Fix multi-image TODOs in class linker, runtime, and oat file."
Jeff Hao [Wed, 6 Jan 2016 02:09:22 +0000 (02:09 +0000)]
Merge "Fix multi-image TODOs in class linker, runtime, and oat file."

8 years agoMerge "ART: Add large object allocation to ThreadStress"
Andreas Gampe [Wed, 6 Jan 2016 00:38:48 +0000 (00:38 +0000)]
Merge "ART: Add large object allocation to ThreadStress"
am: bda4caa149

* commit 'bda4caa149da1a8fbe9c88c0963c34f3961be849':
  ART: Add large object allocation to ThreadStress

8 years agoMerge "ART: Add large object allocation to ThreadStress"
Andreas Gampe [Wed, 6 Jan 2016 00:25:40 +0000 (00:25 +0000)]
Merge "ART: Add large object allocation to ThreadStress"

8 years agoFix multi-image TODOs in class linker, runtime, and oat file.
Jeff Hao [Tue, 5 Jan 2016 22:13:00 +0000 (14:13 -0800)]
Fix multi-image TODOs in class linker, runtime, and oat file.

- Modified SanityCheckArtMethodPointerArray in class linker
- Put back warnings in OatFile::GetOatDexFile
- Reinstated ImageSpace VerifyImageAllocations in Runtime::Init

Bug: 26317072

(cherry-picked from commit 0dfef949bb824accde27f8cfe1b233ec9e087355)

Change-Id: I3bdb8f87d885213795c82c41e5095fec6daf00c4

8 years agoMerge "Fix multi-image TODOs in class linker, runtime, and oat file."
Jeff Hao [Tue, 5 Jan 2016 23:35:30 +0000 (23:35 +0000)]
Merge "Fix multi-image TODOs in class linker, runtime, and oat file."

8 years agoFix multi-image TODOs in class linker, runtime, and oat file.
Jeff Hao [Tue, 5 Jan 2016 22:13:00 +0000 (14:13 -0800)]
Fix multi-image TODOs in class linker, runtime, and oat file.

- Modified SanityCheckArtMethodPointerArray in class linker
- Put back warnings in OatFile::GetOatDexFile
- Reinstated ImageSpace VerifyImageAllocations in Runtime::Init

Change-Id: I3bdb8f87d885213795c82c41e5095fec6daf00c4

8 years agoART: Add large object allocation to ThreadStress
Andreas Gampe [Tue, 5 Jan 2016 20:57:56 +0000 (12:57 -0800)]
ART: Add large object allocation to ThreadStress

Test interactions with large objects some more, as there are
sometimes interactions between maps and unwind (in SIGQUIT).

(Probably should ramp up the iterations/frequency, though.)

Change-Id: I21368bfc584b9b642a39d3560391f929b5576b08

8 years agoMerge "Remove unused reference to MALLOC_IMPL."
Josh Gao [Tue, 5 Jan 2016 19:45:02 +0000 (19:45 +0000)]
Merge "Remove unused reference to MALLOC_IMPL."
am: 68ead64957

* commit '68ead6495715c44c60e4faa27db8255e3ba7491b':
  Remove unused reference to MALLOC_IMPL.

8 years agoMerge "Remove unused reference to MALLOC_IMPL."
Josh Gao [Tue, 5 Jan 2016 19:38:33 +0000 (19:38 +0000)]
Merge "Remove unused reference to MALLOC_IMPL."

8 years agoMerge "ART: Make opt inliner a little bit cleaner/faster"
Andreas Gampe [Tue, 5 Jan 2016 18:38:36 +0000 (18:38 +0000)]
Merge "ART: Make opt inliner a little bit cleaner/faster"
am: 1e086c6474

* commit '1e086c6474bdc5315b9baaf3a316624a058b8ff2':
  ART: Make opt inliner a little bit cleaner/faster

8 years agoMerge "ART: Make opt inliner a little bit cleaner/faster"
Andreas Gampe [Tue, 5 Jan 2016 18:28:58 +0000 (18:28 +0000)]
Merge "ART: Make opt inliner a little bit cleaner/faster"

8 years agoART: Make opt inliner a little bit cleaner/faster
Andreas Gampe [Thu, 24 Dec 2015 00:30:44 +0000 (16:30 -0800)]
ART: Make opt inliner a little bit cleaner/faster

Remove the double-if.

Change-Id: Ic6551e30d016d4b2c3b8dfb8841d2db90fce45cd

8 years agoMerge "Don\'t duplicate the menu in the help page for ahat."
Richard Uhler [Tue, 5 Jan 2016 17:02:23 +0000 (17:02 +0000)]
Merge "Don\'t duplicate the menu in the help page for ahat."
am: 802207cbe3

* commit '802207cbe3a39a89bcdfe687897711e0c8eb9f29':
  Don't duplicate the menu in the help page for ahat.

8 years agoMerge "Don't duplicate the menu in the help page for ahat."
Richard Uhler [Tue, 5 Jan 2016 16:56:24 +0000 (16:56 +0000)]
Merge "Don't duplicate the menu in the help page for ahat."

8 years agoMerge "ART: Use non-stripped core jars in gtests"
Andreas Gampe [Tue, 5 Jan 2016 16:42:22 +0000 (16:42 +0000)]
Merge "ART: Use non-stripped core jars in gtests"
am: ea93990357

* commit 'ea939903573a3a93497362b960dd0b11f6a05eb9':
  ART: Use non-stripped core jars in gtests

8 years agoMerge "ART: Use non-stripped core jars in gtests"
Andreas Gampe [Tue, 5 Jan 2016 16:35:42 +0000 (16:35 +0000)]
Merge "ART: Use non-stripped core jars in gtests"

8 years agoART: Use non-stripped core jars in gtests
Andreas Gampe [Wed, 30 Sep 2015 18:52:02 +0000 (11:52 -0700)]
ART: Use non-stripped core jars in gtests

To support emulators and other preopted device configurations, use
a special core-libart and core-oj version that will never be stripped.

Bug: 24535627
Change-Id: Ie632bc382bbc753e9c100039f2ecc4ac1f2ab249

8 years agoMerge "ART: Move ThrowStackOverflowError to common_throws"
Andreas Gampe [Tue, 5 Jan 2016 16:32:43 +0000 (16:32 +0000)]
Merge "ART: Move ThrowStackOverflowError to common_throws"
am: c09b13f0cf

* commit 'c09b13f0cfc86243a594893b38cdd7cf725ae371':
  ART: Move ThrowStackOverflowError to common_throws

8 years agoMerge "ART: Move ThrowStackOverflowError to common_throws"
Andreas Gampe [Tue, 5 Jan 2016 16:26:13 +0000 (16:26 +0000)]
Merge "ART: Move ThrowStackOverflowError to common_throws"

8 years agoART: Move ThrowStackOverflowError to common_throws
Andreas Gampe [Mon, 4 Jan 2016 23:32:43 +0000 (15:32 -0800)]
ART: Move ThrowStackOverflowError to common_throws

This should really be in common_throws considering all the callers.

Change-Id: I410c07cbf5659f216d44597530cb85f99740f320

8 years agoMerge "Add apache-xml to the device & host boot classpath."
Narayan Kamath [Tue, 5 Jan 2016 16:06:13 +0000 (16:06 +0000)]
Merge "Add apache-xml to the device & host boot classpath."
am: 71e9d06efd

* commit '71e9d06efd0fc9dc6a0a026459ea2e2796ea2c90':
  Add apache-xml to the device & host boot classpath.

8 years agoMerge "Add apache-xml to the device & host boot classpath."
Narayan Kamath [Tue, 5 Jan 2016 16:01:03 +0000 (16:01 +0000)]
Merge "Add apache-xml to the device & host boot classpath."

8 years agoAdd apache-xml to the device & host boot classpath.
Narayan Kamath [Tue, 5 Jan 2016 14:33:58 +0000 (14:33 +0000)]
Add apache-xml to the device & host boot classpath.

This is used by parts of OpenJdk's java.util.prefs implementation.

bug: 26326992
Change-Id: Ibc0f3043945ec6eefdc97e9bab998e2082baf95e

8 years agoMerge "Disable test due to toybox update."
Nicolas Geoffray [Tue, 5 Jan 2016 13:00:59 +0000 (13:00 +0000)]
Merge "Disable test due to toybox update."
am: ce420ca02e

* commit 'ce420ca02e1eff5386fecd4ce63c3bf37b270944':
  Disable test due to toybox update.

8 years agoMerge "Disable test due to toybox update."
Nicolas Geoffray [Tue, 5 Jan 2016 12:55:28 +0000 (12:55 +0000)]
Merge "Disable test due to toybox update."

8 years agoDisable test due to toybox update.
Nicolas Geoffray [Tue, 5 Jan 2016 12:46:51 +0000 (12:46 +0000)]
Disable test due to toybox update.

bug:26395656
Change-Id: I0356bf0e5fff3cab198f6c91da097ff0de564c89

8 years agoMerge "Fix multi-image TODOs in patchoat."
Jeff Hao [Tue, 5 Jan 2016 03:19:58 +0000 (03:19 +0000)]
Merge "Fix multi-image TODOs in patchoat."
am: d0aa1d2ec3

* commit 'd0aa1d2ec3947e10cbd4af66cbf522709085c8a5':
  Fix multi-image TODOs in patchoat.

8 years agoMerge "Fix multi-image TODOs in patchoat."
Jeff Hao [Tue, 5 Jan 2016 03:13:30 +0000 (03:13 +0000)]
Merge "Fix multi-image TODOs in patchoat."

8 years agoFix multi-image TODOs in patchoat.
Jeff Hao [Tue, 5 Jan 2016 01:38:06 +0000 (17:38 -0800)]
Fix multi-image TODOs in patchoat.

- Reinstated checks that were still valid (one check was removed).
- Removed unused path that patches only images.

Bug: 26317072

(cherry-picked from commit e271fe1e2797205c57c052212c32139234f781ea)

Change-Id: I0e140cb110abbfa469c097c805657ecfdc8552d6

8 years agoMerge "Fix multi-image TODOs in patchoat."
Jeff Hao [Tue, 5 Jan 2016 02:39:50 +0000 (02:39 +0000)]
Merge "Fix multi-image TODOs in patchoat."

8 years agoFix multi-image TODOs in patchoat.
Jeff Hao [Tue, 5 Jan 2016 01:38:06 +0000 (17:38 -0800)]
Fix multi-image TODOs in patchoat.

- Reinstated checks that were still valid (one check was removed).
- Removed unused path that patches only images.

Bug: 26317072

Change-Id: I0e140cb110abbfa469c097c805657ecfdc8552d6

8 years agoRemove unused reference to MALLOC_IMPL.
Josh Gao [Tue, 5 Jan 2016 01:17:46 +0000 (17:17 -0800)]
Remove unused reference to MALLOC_IMPL.

Bug: http://b/26390299
Change-Id: I2e779282d8d585519c2ed1bff246d2202eee61c8

8 years agoMerge changes I129fbc84,I9238ee0b
Andreas Gampe [Mon, 4 Jan 2016 19:19:30 +0000 (19:19 +0000)]
Merge changes I129fbc84,I9238ee0b

* changes:
  ART: Fix JDWP GetClassLoader command
  Revert "ART: Fix JDWP GetClassLoader command"

8 years agoMerge "Revert "Temporary disable linker-namespaces""
Dimitry Ivanov [Mon, 4 Jan 2016 17:15:44 +0000 (17:15 +0000)]
Merge "Revert "Temporary disable linker-namespaces""

8 years agoMerge "Add a fence to ensure other threads see the correct data."
Nicolas Geoffray [Mon, 4 Jan 2016 16:31:47 +0000 (16:31 +0000)]
Merge "Add a fence to ensure other threads see the correct data."

8 years agoAdd a fence to ensure other threads see the correct data.
Nicolas Geoffray [Mon, 4 Jan 2016 16:06:51 +0000 (16:06 +0000)]
Add a fence to ensure other threads see the correct data.

Other threads may see the ProfilingInfo pointer in the ArtMethod,
but the data they have for it is bogus due to a prior load in their
cache.

bug:26221227
Change-Id: I1fa8f088a3144df39d07a986ed57d6fc20edba18

8 years agoMerge "ART: Remove core-junit from test boot classpath"
Andreas Gampe [Mon, 4 Jan 2016 16:16:51 +0000 (16:16 +0000)]
Merge "ART: Remove core-junit from test boot classpath"

8 years agoMerge "ART: Use Primitive::Is64BitType in SsaBuilder::TypePhiFromInputs"
David Brazdil [Mon, 4 Jan 2016 16:16:05 +0000 (16:16 +0000)]
Merge "ART: Use Primitive::Is64BitType in SsaBuilder::TypePhiFromInputs"

8 years agoART: Use Primitive::Is64BitType in SsaBuilder::TypePhiFromInputs
David Brazdil [Mon, 4 Jan 2016 15:55:10 +0000 (15:55 +0000)]
ART: Use Primitive::Is64BitType in SsaBuilder::TypePhiFromInputs

Accidentally submitted CL Ib39f3da2b92bc5be5d76f4240a77567d82c6bebe
without this.

Bug: 26208284
Change-Id: I2e69ca2fde72171f2ce645304c4835d8d57f4e0b

8 years agoMerge "Add 002-sleep as timing sensitive."
Nicolas Geoffray [Mon, 4 Jan 2016 15:41:54 +0000 (15:41 +0000)]
Merge "Add 002-sleep as timing sensitive."

8 years agoAdd 002-sleep as timing sensitive.
Nicolas Geoffray [Mon, 4 Jan 2016 15:22:00 +0000 (15:22 +0000)]
Add 002-sleep as timing sensitive.

The buildbots have chewed on it a few times.

Change-Id: Icf81cf4baa8e06573ed92bf61c0861c64825475a

8 years agoMerge "X86: templatize GenerateTestAndBranch and friends"
David Brazdil [Mon, 4 Jan 2016 14:51:33 +0000 (14:51 +0000)]
Merge "X86: templatize GenerateTestAndBranch and friends"

8 years agoMerge "Detect phi cycles."
Nicolas Geoffray [Mon, 4 Jan 2016 14:42:19 +0000 (14:42 +0000)]
Merge "Detect phi cycles."

8 years agoMerge "Revert "Revert "Tweak inlining heuristics."""
Nicolas Geoffray [Mon, 4 Jan 2016 14:41:49 +0000 (14:41 +0000)]
Merge "Revert "Revert "Tweak inlining heuristics."""

8 years agoRevert "Revert "Tweak inlining heuristics.""
Nicolas Geoffray [Fri, 18 Dec 2015 10:57:10 +0000 (10:57 +0000)]
Revert "Revert "Tweak inlining heuristics.""

This reverts commit b17d1ccff0ac26fc22df671907ba2b4f4c656ce4.

Change-Id: I26f6f8702a448c3da12662cbc6bc0f6e562bc40b

8 years agoMerge "MIPS32: improvements in code generation (mostly 64-bit ALU ops)"
Nicolas Geoffray [Mon, 4 Jan 2016 12:21:15 +0000 (12:21 +0000)]
Merge "MIPS32: improvements in code generation (mostly 64-bit ALU ops)"

8 years agoMerge "Remove bogus DCHECK in induction analysis."
Nicolas Geoffray [Mon, 4 Jan 2016 08:24:30 +0000 (08:24 +0000)]
Merge "Remove bogus DCHECK in induction analysis."

8 years agoRevert "Temporary disable linker-namespaces"
Dimitry Ivanov [Thu, 17 Dec 2015 19:18:27 +0000 (11:18 -0800)]
Revert "Temporary disable linker-namespaces"

This reverts commit 9aefb12cc91eb459d87392700f1199ee07580cd6.

Change-Id: Iac567c03699d65f97c380c2f32ef5a2a56d44721

8 years agoX86: templatize GenerateTestAndBranch and friends
Mark Mendell [Thu, 31 Dec 2015 17:28:50 +0000 (12:28 -0500)]
X86: templatize GenerateTestAndBranch and friends

Allow the use of NearLabel as well as Label.  This will be used by the
HSelect patch.

Replace a couple of Label(s) with NearLabel(s) as well.

Change-Id: I8e674c89e691bcdbccf4a5cdc07ad13b29ec21dd
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
8 years agoRemove bogus DCHECK in induction analysis.
Nicolas Geoffray [Tue, 29 Dec 2015 16:12:27 +0000 (16:12 +0000)]
Remove bogus DCHECK in induction analysis.

Method is called during BCE, which may change the graph in non-SSA
form temporarily.

Change-Id: I84bed7d3370c6871dc2d3b883d0aca90b3a37696

8 years agoMerge "ART: Set RTI of HArm64IntermediateAddress"
David Brazdil [Thu, 31 Dec 2015 11:06:56 +0000 (11:06 +0000)]
Merge "ART: Set RTI of HArm64IntermediateAddress"

8 years agoART: Set RTI of HArm64IntermediateAddress
David Brazdil [Thu, 31 Dec 2015 11:06:00 +0000 (11:06 +0000)]
ART: Set RTI of HArm64IntermediateAddress

Change-Id: I2145bc249cc940d7b133fd6cbbd133cc62fee187

8 years agoMerge "ART: Refactor SsaBuilder for more precise typing info"
David Brazdil [Thu, 31 Dec 2015 10:29:06 +0000 (10:29 +0000)]
Merge "ART: Refactor SsaBuilder for more precise typing info"

8 years agoART: Refactor SsaBuilder for more precise typing info
David Brazdil [Wed, 16 Dec 2015 10:37:39 +0000 (10:37 +0000)]
ART: Refactor SsaBuilder for more precise typing info

This reverts commit 68289a531484d26214e09f1eadd9833531a3bc3c.

Now uses Primitive::Is64BitType instead of Primitive::ComponentSize
because it was incorrectly optimized by GCC.

Bug: 26208284
Bug: 24252151
Bug: 24252100
Bug: 22538329
Bug: 25786318

Change-Id: Ib39f3da2b92bc5be5d76f4240a77567d82c6bebe

8 years agoART: Fix JDWP GetClassLoader command
Andreas Gampe [Thu, 31 Dec 2015 03:33:49 +0000 (19:33 -0800)]
ART: Fix JDWP GetClassLoader command

The command is spec-ed to take a type, and return the type's
classloader. Decode the input as a class, just like all the
other ReferenceType commands already do.

Bug: 26349019
Change-Id: I129fbc844f529fa9234742ffe128d7ac41ce6d7e

8 years agoRevert "ART: Fix JDWP GetClassLoader command"
Andreas Gampe [Thu, 31 Dec 2015 03:31:57 +0000 (03:31 +0000)]
Revert "ART: Fix JDWP GetClassLoader command"

This reverts commit 40144cc022d321e2ec28d7fac2f5a24ba6714aff.

The implementation should not DCHECK.

Bug: 26349019
Change-Id: I9238ee0b05f8a150f55773e78301ded9e8b38334

8 years agoMerge "Temporary put -DAG back to fix broken test."
Aart Bik [Wed, 30 Dec 2015 23:47:56 +0000 (23:47 +0000)]
Merge "Temporary put -DAG back to fix broken test."

8 years agoTemporary put -DAG back to fix broken test.
Aart Bik [Wed, 30 Dec 2015 23:46:27 +0000 (15:46 -0800)]
Temporary put -DAG back to fix broken test.

Change-Id: I1fb159e8e207f515afd7020e188b0af55dbc2bc9

8 years agoMerge "Improved side-effects/can-throw information on intrinsics."
Aart Bik [Wed, 30 Dec 2015 22:50:09 +0000 (22:50 +0000)]
Merge "Improved side-effects/can-throw information on intrinsics."

8 years agoMerge "Revert "Revert "ART: Fix up some multi-image cases"""
Andreas Gampe [Wed, 30 Dec 2015 20:46:18 +0000 (20:46 +0000)]
Merge "Revert "Revert "ART: Fix up some multi-image cases"""

8 years agoRevert "Revert "ART: Fix up some multi-image cases""
Andreas Gampe [Wed, 30 Dec 2015 19:03:17 +0000 (19:03 +0000)]
Revert "Revert "ART: Fix up some multi-image cases""

This reverts commit de38b797c3e5ba3ee44c480db7093386975c51eb.

Fix up imgdiag for std::string and multi-image.

Bug: 26317072
Bug: 26320300

Change-Id: I94ce9528e9fea6fb3231a70c32db02d567143db9

8 years agoImproved side-effects/can-throw information on intrinsics.
Aart Bik [Mon, 14 Dec 2015 19:57:01 +0000 (11:57 -0800)]
Improved side-effects/can-throw information on intrinsics.

Rationale: improved side effect and exception analysis gives
           many more opportunities for GVN/LICM/BCE.

Change-Id: I8aa9b757d77c7bd9d58271204a657c2c525195b5

8 years agoMerge "Revert "ART: Fix up some multi-image cases""
Nicolas Geoffray [Wed, 30 Dec 2015 14:50:40 +0000 (14:50 +0000)]
Merge "Revert "ART: Fix up some multi-image cases""

8 years agoRevert "ART: Fix up some multi-image cases"
Nicolas Geoffray [Wed, 30 Dec 2015 14:50:12 +0000 (14:50 +0000)]
Revert "ART: Fix up some multi-image cases"

Fails imgdiag_test on device.

Bug: 26317072
Bug: 26320300

This reverts commit 288b1e9a0dddfb91e85067fe81de55174f313c7c.

Change-Id: Iccd05827b0630281b6f959331eaa4202526df78e

8 years agoMerge "Add new test expectations after enso move."
Nicolas Geoffray [Wed, 30 Dec 2015 14:40:35 +0000 (14:40 +0000)]
Merge "Add new test expectations after enso move."

8 years agoAdd new test expectations after enso move.
Nicolas Geoffray [Wed, 30 Dec 2015 14:39:15 +0000 (14:39 +0000)]
Add new test expectations after enso move.

bug:26353151
bug:26326992
Change-Id: I7e172fceb265938435cae8eb4c0ef79ba6209348

8 years agoMerge "On x64, cmpl can never take a int64 immediate."
Nicolas Geoffray [Wed, 30 Dec 2015 14:26:57 +0000 (14:26 +0000)]
Merge "On x64, cmpl can never take a int64 immediate."

8 years agoOn x64, cmpl can never take a int64 immediate.
Nicolas Geoffray [Wed, 30 Dec 2015 14:10:13 +0000 (14:10 +0000)]
On x64, cmpl can never take a int64 immediate.

Fix a wrong type widening in x64 code generator and add
CHECKs in the assembler.

Change-Id: Id35f5d47c6cf78ed07e73ab783db09712d3c437f

8 years agoMerge "Fix code generation for String.<init> on x64."
Nicolas Geoffray [Wed, 30 Dec 2015 14:20:48 +0000 (14:20 +0000)]
Merge "Fix code generation for String.<init> on x64."

8 years agoMerge "Fix bogus logging statement."
Narayan Kamath [Wed, 30 Dec 2015 13:15:35 +0000 (13:15 +0000)]
Merge "Fix bogus logging statement."

8 years agoFix bogus logging statement.
Narayan Kamath [Thu, 3 Dec 2015 14:11:46 +0000 (14:11 +0000)]
Fix bogus logging statement.

We were always logging an empty string.

Change-Id: I9ebc89ce2df8cb664aaf2640a16dcd85bdfa036e

8 years agoMerge "ART: Fix JDWP GetClassLoader command"
Andreas Gampe [Wed, 30 Dec 2015 00:54:55 +0000 (00:54 +0000)]
Merge "ART: Fix JDWP GetClassLoader command"

8 years agoART: Fix JDWP GetClassLoader command
Andreas Gampe [Wed, 30 Dec 2015 00:23:20 +0000 (16:23 -0800)]
ART: Fix JDWP GetClassLoader command

The command is spec-ed to take a type, and return the type's
classloader. The input is thus already a Class, not a generic Object.
Fix the implementation to not always return null.

Bug: 26349019
Change-Id: I4aa075902f4a112624edc644d3540a59eea057c8

8 years agoMerge "ART: Fix up some multi-image cases"
Andreas Gampe [Tue, 29 Dec 2015 18:31:55 +0000 (18:31 +0000)]
Merge "ART: Fix up some multi-image cases"

8 years agoFix code generation for String.<init> on x64.
Nicolas Geoffray [Tue, 29 Dec 2015 16:20:52 +0000 (16:20 +0000)]
Fix code generation for String.<init> on x64.

The ArtMethod is a 64bit pointer so should be loaded with movq.

Change-Id: I80803046a9144776d7f069e8baee61e39ae289d5