OSDN Git Service

android-x86/art.git
9 years agoam 0effab0b: am 2cfa9f27: Merge "ART: Update description of failing libcore tests"
David Brazdil [Wed, 25 Feb 2015 16:52:59 +0000 (16:52 +0000)]
am 0effab0b: am 2cfa9f27: Merge "ART: Update description of failing libcore tests"

* commit '0effab0bf383c9208d1f52e9a97d01b2db6848d2':
  ART: Update description of failing libcore tests

9 years agoam 8c3c2db2: am 42f8c1c3: Merge "ART: Fix "unused parameters""
Andreas Gampe [Wed, 25 Feb 2015 16:52:51 +0000 (16:52 +0000)]
am 8c3c2db2: am 42f8c1c3: Merge "ART: Fix "unused parameters""

* commit '8c3c2db2926cd0d13467ef5dab7f84884a8f0801':
  ART: Fix "unused parameters"

9 years agoam 2d0eb40c: am 8fa836e1: Merge "Print thread name for attempting to unregister unatt...
Mathieu Chartier [Wed, 25 Feb 2015 16:52:48 +0000 (16:52 +0000)]
am 2d0eb40c: am 8fa836e1: Merge "Print thread name for attempting to unregister unattached thread"

* commit '2d0eb40c1b3994548fb615a878d1b2a54dc270e1':
  Print thread name for attempting to unregister unattached thread

9 years agoam 44d778e1: am 79a3082b: Merge "Delete bad DCHECK"
Mathieu Chartier [Wed, 25 Feb 2015 16:52:45 +0000 (16:52 +0000)]
am 44d778e1: am 79a3082b: Merge "Delete bad DCHECK"

* commit '44d778e1f030769da5c1c8141501284f3d39d803':
  Delete bad DCHECK

9 years agoam 6952f565: am 510be430: Merge "Revert "Revert "Add JIT"""
Mathieu Chartier [Wed, 25 Feb 2015 16:52:43 +0000 (16:52 +0000)]
am 6952f565: am 510be430: Merge "Revert "Revert "Add JIT"""

* commit '6952f5652972d14b220b612bd660ea7af83d1e8e':
  Revert "Revert "Add JIT""

9 years agoam edb33e2c: am 17b01497: Merge "ART: Add -Wunused"
Andreas Gampe [Wed, 25 Feb 2015 16:52:42 +0000 (16:52 +0000)]
am edb33e2c: am 17b01497: Merge "ART: Add -Wunused"

* commit 'edb33e2c63d0900b459a022fd457951df33a91f3':
  ART: Add -Wunused

9 years agoam 2cfa9f27: Merge "ART: Update description of failing libcore tests"
David Brazdil [Wed, 25 Feb 2015 10:13:53 +0000 (10:13 +0000)]
am 2cfa9f27: Merge "ART: Update description of failing libcore tests"

* commit '2cfa9f2743f4a120070e83b1e34cbec22742780d':
  ART: Update description of failing libcore tests

9 years agoMerge "ART: Update description of failing libcore tests"
David Brazdil [Wed, 25 Feb 2015 09:29:55 +0000 (09:29 +0000)]
Merge "ART: Update description of failing libcore tests"

9 years agoART: Update description of failing libcore tests
David Brazdil [Wed, 25 Feb 2015 09:16:34 +0000 (09:16 +0000)]
ART: Update description of failing libcore tests

One of the tests that was described as failing on volantis fails on
hammerhead too. It was moved to a new category.

Change-Id: Ie58266d51d3aa180a36a460035ea7f016c0b7e3d

9 years agoam 42f8c1c3: Merge "ART: Fix "unused parameters""
Andreas Gampe [Wed, 25 Feb 2015 05:01:29 +0000 (05:01 +0000)]
am 42f8c1c3: Merge "ART: Fix "unused parameters""

* commit '42f8c1c39b74aae50714488525d14de30f9722c9':
  ART: Fix "unused parameters"

9 years agoMerge "ART: Fix "unused parameters""
Andreas Gampe [Wed, 25 Feb 2015 04:56:43 +0000 (04:56 +0000)]
Merge "ART: Fix "unused parameters""

9 years agoART: Fix "unused parameters"
Andreas Gampe [Wed, 25 Feb 2015 04:55:16 +0000 (20:55 -0800)]
ART: Fix "unused parameters"

GCC 4.8 decides that parameters for functions implemented with
"= default" are unused. This currently only impacts x86, but remove
the parameter names anyways.

Change-Id: I01865faa81af68c4c0e0b1cb1fb19e88ef548769

9 years agoam 8fa836e1: Merge "Print thread name for attempting to unregister unattached thread"
Mathieu Chartier [Wed, 25 Feb 2015 03:01:24 +0000 (03:01 +0000)]
am 8fa836e1: Merge "Print thread name for attempting to unregister unattached thread"

* commit '8fa836e16e65aca3aeaa1c4784157207188e6373':
  Print thread name for attempting to unregister unattached thread

9 years agoMerge "Print thread name for attempting to unregister unattached thread"
Mathieu Chartier [Wed, 25 Feb 2015 02:57:41 +0000 (02:57 +0000)]
Merge "Print thread name for attempting to unregister unattached thread"

9 years agoam 79a3082b: Merge "Delete bad DCHECK"
Mathieu Chartier [Wed, 25 Feb 2015 01:57:54 +0000 (01:57 +0000)]
am 79a3082b: Merge "Delete bad DCHECK"

* commit '79a3082b1cf1f1e84d599f3c2d39178b8787db3f':
  Delete bad DCHECK

9 years agoMerge "Delete bad DCHECK"
Mathieu Chartier [Wed, 25 Feb 2015 01:53:10 +0000 (01:53 +0000)]
Merge "Delete bad DCHECK"

9 years agoDelete bad DCHECK
Mathieu Chartier [Tue, 24 Feb 2015 02:24:29 +0000 (18:24 -0800)]
Delete bad DCHECK

The declaring class of a super field could be in a different dex file.
Fixes sdk build.

Change-Id: I8258d64eeff6539afb52448595f5a6ec4c71a6bc

9 years agoPrint thread name for attempting to unregister unattached thread
Mathieu Chartier [Wed, 25 Feb 2015 01:20:30 +0000 (17:20 -0800)]
Print thread name for attempting to unregister unattached thread

Bug: 18713034
Change-Id: Ic0654c6569277e5bbd6d2582140595faaa36cded

9 years agoam 510be430: Merge "Revert "Revert "Add JIT"""
Mathieu Chartier [Wed, 25 Feb 2015 00:51:42 +0000 (00:51 +0000)]
am 510be430: Merge "Revert "Revert "Add JIT"""

* commit '510be430dc4e68c09b56e5636e97a76380927e1d':
  Revert "Revert "Add JIT""

9 years agoMerge "Revert "Revert "Add JIT"""
Mathieu Chartier [Wed, 25 Feb 2015 00:47:14 +0000 (00:47 +0000)]
Merge "Revert "Revert "Add JIT"""

9 years agoam 17b01497: Merge "ART: Add -Wunused"
Andreas Gampe [Wed, 25 Feb 2015 00:31:58 +0000 (00:31 +0000)]
am 17b01497: Merge "ART: Add -Wunused"

* commit '17b01497b29f980a3d515a01adcb5f47df67ac63':
  ART: Add -Wunused

9 years agoMerge "ART: Add -Wunused"
Andreas Gampe [Wed, 25 Feb 2015 00:26:04 +0000 (00:26 +0000)]
Merge "ART: Add -Wunused"

9 years agoART: Add -Wunused
Andreas Gampe [Fri, 20 Feb 2015 02:21:24 +0000 (18:21 -0800)]
ART: Add -Wunused

Until the global CFLAGS are fixed, add Wunused. Fix declarations
in the optimizing compiler.

Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000

9 years agoRevert "Revert "Add JIT""
Mathieu Chartier [Tue, 24 Feb 2015 17:37:21 +0000 (09:37 -0800)]
Revert "Revert "Add JIT""

Added missing EntryPointToCodePointer.

This reverts commit a5ca888d715cd0c6c421313211caa1928be3e399.

Change-Id: Ia74df0ef3a7babbdcb0466fd24da28e304e3f5af

9 years agoam 08ddaeb8: am 354d58ba: Merge "JDWP: assert no pending exception when using JNI"
Sebastien Hertz [Tue, 24 Feb 2015 17:56:28 +0000 (17:56 +0000)]
am 08ddaeb8: am 354d58ba: Merge "JDWP: assert no pending exception when using JNI"

* commit '08ddaeb8d0bf5043df96fabd7a522ff61b9e3279':
  JDWP: assert no pending exception when using JNI

9 years agoam 354d58ba: Merge "JDWP: assert no pending exception when using JNI"
Sebastien Hertz [Tue, 24 Feb 2015 17:51:57 +0000 (17:51 +0000)]
am 354d58ba: Merge "JDWP: assert no pending exception when using JNI"

* commit '354d58ba776866ea7b1c71f0d0848d5aaa013ae3':
  JDWP: assert no pending exception when using JNI

9 years agoMerge "JDWP: assert no pending exception when using JNI"
Sebastien Hertz [Tue, 24 Feb 2015 17:47:38 +0000 (17:47 +0000)]
Merge "JDWP: assert no pending exception when using JNI"

9 years agoam e5eab1fe: am 91d67430: Merge "ART: Disable libcore crypto test failing on target"
David Brazdil [Tue, 24 Feb 2015 17:40:29 +0000 (17:40 +0000)]
am e5eab1fe: am 91d67430: Merge "ART: Disable libcore crypto test failing on target"

* commit 'e5eab1feb00141c122c45a4b908d50de6b176f12':
  ART: Disable libcore crypto test failing on target

9 years agoam 91d67430: Merge "ART: Disable libcore crypto test failing on target"
David Brazdil [Tue, 24 Feb 2015 17:33:54 +0000 (17:33 +0000)]
am 91d67430: Merge "ART: Disable libcore crypto test failing on target"

* commit '91d6743016a513bbe8b288923aaa46a075aed133':
  ART: Disable libcore crypto test failing on target

9 years agoMerge "ART: Disable libcore crypto test failing on target"
David Brazdil [Tue, 24 Feb 2015 17:27:17 +0000 (17:27 +0000)]
Merge "ART: Disable libcore crypto test failing on target"

9 years agoART: Disable libcore crypto test failing on target
David Brazdil [Tue, 24 Feb 2015 17:01:19 +0000 (17:01 +0000)]
ART: Disable libcore crypto test failing on target

Another test failing due to missing loop network device on hammerhead
and volantis bots. We disable it until the device configuration issue
is fixed.

Change-Id: I5b4610d706a8e4bdf178764f64f2d4359a83682d

9 years agoJDWP: assert no pending exception when using JNI
Sebastien Hertz [Wed, 29 Oct 2014 11:06:51 +0000 (12:06 +0100)]
JDWP: assert no pending exception when using JNI

Checks there is no pending exception when creating new JDWP ids using
JNI routines. We can create JDWP ids when executing code and report
an event like a breakpoint.

Bug: 17491155
Change-Id: I4e5851bf2261510b7776a709a2388e7ff586a77c

9 years agoam fef6d46d: am 2cb551b1: Merge "not-int can also take non-int (byte and short) instr...
Nicolas Geoffray [Tue, 24 Feb 2015 16:52:50 +0000 (16:52 +0000)]
am fef6d46d: am 2cb551b1: Merge "not-int can also take non-int (byte and short) instructions."

* commit 'fef6d46df07c334991052099a9df2dd6901bd4f1':
  not-int can also take non-int (byte and short) instructions.

9 years agoam d148e8f8: am 6726d200: Merge "ART: Fix run-test 118"
Andreas Gampe [Tue, 24 Feb 2015 16:52:49 +0000 (16:52 +0000)]
am d148e8f8: am 6726d200: Merge "ART: Fix run-test 118"

* commit 'd148e8f89b498619d579d4d3fde3df9f21270f79':
  ART: Fix run-test 118

9 years agoam 2cb551b1: Merge "not-int can also take non-int (byte and short) instructions."
Nicolas Geoffray [Tue, 24 Feb 2015 16:48:36 +0000 (16:48 +0000)]
am 2cb551b1: Merge "not-int can also take non-int (byte and short) instructions."

* commit '2cb551b1f9ef581b0eb1ef7cbee6bfdb6d9db4b3':
  not-int can also take non-int (byte and short) instructions.

9 years agoam 6726d200: Merge "ART: Fix run-test 118"
Andreas Gampe [Tue, 24 Feb 2015 16:48:35 +0000 (16:48 +0000)]
am 6726d200: Merge "ART: Fix run-test 118"

* commit '6726d200144a1c1be0058c57853f9831223991e6':
  ART: Fix run-test 118

9 years agoMerge "not-int can also take non-int (byte and short) instructions."
Nicolas Geoffray [Tue, 24 Feb 2015 16:26:54 +0000 (16:26 +0000)]
Merge "not-int can also take non-int (byte and short) instructions."

9 years agoMerge "ART: Fix run-test 118"
Andreas Gampe [Tue, 24 Feb 2015 16:07:56 +0000 (16:07 +0000)]
Merge "ART: Fix run-test 118"

9 years agoART: Fix run-test 118
Andreas Gampe [Tue, 24 Feb 2015 16:06:34 +0000 (08:06 -0800)]
ART: Fix run-test 118

Need to strip error logging for no-prebuild config.

Change-Id: I870bbbf3b6c7e92996e40e45b1bfa58c7e80f709

9 years agonot-int can also take non-int (byte and short) instructions.
Nicolas Geoffray [Tue, 24 Feb 2015 16:02:06 +0000 (16:02 +0000)]
not-int can also take non-int (byte and short) instructions.

So we should use the result-type instead if the input type
for knowning what instruction to use.

Bug: 19454010
Change-Id: I88782ad27ae8c8e1b7868afede5057d26f14685a

9 years agoam 709b6258: am a48c573d: Merge "ART: Enable more libcore tests (crypto)"
David Brazdil [Tue, 24 Feb 2015 15:54:18 +0000 (15:54 +0000)]
am 709b6258: am a48c573d: Merge "ART: Enable more libcore tests (crypto)"

* commit '709b6258492fab7befba527c4efdef88ef2a8e69':
  ART: Enable more libcore tests (crypto)

9 years agoam a48c573d: Merge "ART: Enable more libcore tests (crypto)"
David Brazdil [Tue, 24 Feb 2015 15:48:22 +0000 (15:48 +0000)]
am a48c573d: Merge "ART: Enable more libcore tests (crypto)"

* commit 'a48c573d2351177d878e36e003f0cdf4d7f9328f':
  ART: Enable more libcore tests (crypto)

9 years agoMerge "ART: Enable more libcore tests (crypto)"
David Brazdil [Tue, 24 Feb 2015 15:43:18 +0000 (15:43 +0000)]
Merge "ART: Enable more libcore tests (crypto)"

9 years agoam 9f28d613: am 995e7d49: Merge "Fix inlining in the presence of multiple returns."
Nicolas Geoffray [Tue, 24 Feb 2015 15:19:46 +0000 (15:19 +0000)]
am 9f28d613: am 995e7d49: Merge "Fix inlining in the presence of multiple returns."

* commit '9f28d613ec3fee1dd36fe15797fe4e2b8e8d0f37':
  Fix inlining in the presence of multiple returns.

9 years agoam 995e7d49: Merge "Fix inlining in the presence of multiple returns."
Nicolas Geoffray [Tue, 24 Feb 2015 15:14:26 +0000 (15:14 +0000)]
am 995e7d49: Merge "Fix inlining in the presence of multiple returns."

* commit '995e7d495eb898b2812e14ad82d54597676e93fd':
  Fix inlining in the presence of multiple returns.

9 years agoMerge "Fix inlining in the presence of multiple returns."
Nicolas Geoffray [Tue, 24 Feb 2015 15:08:36 +0000 (15:08 +0000)]
Merge "Fix inlining in the presence of multiple returns."

9 years agoFix inlining in the presence of multiple returns.
Nicolas Geoffray [Tue, 24 Feb 2015 13:35:38 +0000 (13:35 +0000)]
Fix inlining in the presence of multiple returns.

One return could actually return a phi, so doing a phi check for
knowing if the result phi was already created was bogus.

Bug: 19454010

Change-Id: Iee703a2d1071ae263092354465eda368e5d6770d

9 years agoam a79246d0: am b679039d: Merge "ART: Disable one more libcore test failing on hammer...
David Brazdil [Tue, 24 Feb 2015 14:30:16 +0000 (14:30 +0000)]
am a79246d0: am b679039d: Merge "ART: Disable one more libcore test failing on hammerhead"

* commit 'a79246d0c0bd33427a481176ceb72a5e0d33f712':
  ART: Disable one more libcore test failing on hammerhead

9 years agoam b679039d: Merge "ART: Disable one more libcore test failing on hammerhead"
David Brazdil [Tue, 24 Feb 2015 14:23:22 +0000 (14:23 +0000)]
am b679039d: Merge "ART: Disable one more libcore test failing on hammerhead"

* commit 'b679039d4fdc739959623c2cb1dcc2efa9a1ebe6':
  ART: Disable one more libcore test failing on hammerhead

9 years agoMerge "ART: Disable one more libcore test failing on hammerhead"
David Brazdil [Tue, 24 Feb 2015 14:17:32 +0000 (14:17 +0000)]
Merge "ART: Disable one more libcore test failing on hammerhead"

9 years agoART: Disable one more libcore test failing on hammerhead
David Brazdil [Tue, 24 Feb 2015 14:13:05 +0000 (14:13 +0000)]
ART: Disable one more libcore test failing on hammerhead

One more test from the harmony package fails due to the locale issue
on hammerhead. This patch disables it.

Change-Id: I1f3941bfcc20d5b2e23fe5ae963676138eecccb8

9 years agoART: Enable more libcore tests (crypto)
David Brazdil [Tue, 24 Feb 2015 13:33:01 +0000 (13:33 +0000)]
ART: Enable more libcore tests (crypto)

This patch enables additional libcore tests run by the ART buildbots.
These are tests from the org.apache.harmony.crypto and
libcore.javax.crypto packages and take extra ~8 minutes to run on
target and ~2 minutes on host.

Change-Id: I7cd314eca654320104fee26d8c34437450814dc2

9 years agoam 9d8d9e9b: am 27a3e615: Merge "ART: Disable libcore tests failing on bots"
David Brazdil [Tue, 24 Feb 2015 13:00:38 +0000 (13:00 +0000)]
am 9d8d9e9b: am 27a3e615: Merge "ART: Disable libcore tests failing on bots"

* commit '9d8d9e9b6d05e33a70ce9816aa3465fbc525c20a':
  ART: Disable libcore tests failing on bots

9 years agoam 27a3e615: Merge "ART: Disable libcore tests failing on bots"
David Brazdil [Tue, 24 Feb 2015 12:53:17 +0000 (12:53 +0000)]
am 27a3e615: Merge "ART: Disable libcore tests failing on bots"

* commit '27a3e6153df81dd8adbc9ace70fdb3e7922b72f8':
  ART: Disable libcore tests failing on bots

9 years agoMerge "ART: Disable libcore tests failing on bots"
David Brazdil [Tue, 24 Feb 2015 12:47:42 +0000 (12:47 +0000)]
Merge "ART: Disable libcore tests failing on bots"

9 years agoam 0523152b: am 2d043b35: Merge "[optimizing] Add if-context sensitivity for null...
Calin Juravle [Tue, 24 Feb 2015 12:47:39 +0000 (12:47 +0000)]
am 0523152b: am 2d043b35: Merge "[optimizing] Add if-context sensitivity for null popagation."

* commit '0523152bc39c48b03885c1152bfc6713260cf415':
  [optimizing] Add if-context sensitivity for null popagation.

9 years agoam 2d043b35: Merge "[optimizing] Add if-context sensitivity for null popagation."
Calin Juravle [Tue, 24 Feb 2015 12:43:59 +0000 (12:43 +0000)]
am 2d043b35: Merge "[optimizing] Add if-context sensitivity for null popagation."

* commit '2d043b356d2e5c911892badf78aa56b843c5c3a6':
  [optimizing] Add if-context sensitivity for null popagation.

9 years agoMerge "[optimizing] Add if-context sensitivity for null popagation."
Calin Juravle [Tue, 24 Feb 2015 12:39:53 +0000 (12:39 +0000)]
Merge "[optimizing] Add if-context sensitivity for null popagation."

9 years agoART: Disable libcore tests failing on bots
David Brazdil [Tue, 24 Feb 2015 12:36:03 +0000 (12:36 +0000)]
ART: Disable libcore tests failing on bots

Some tests in previous commits are failing on the testing devices.
Tests dependent on DateTimeFormatter fail on hammerhead due to
misconfigured locales and tests with a server running on localhost
fail due to the loop device being switched off on volantisg. These
problems will be further investigated but this patch disables them
for the time being.

Change-Id: I2dde178925de555f26a4d532be15487f499571b4

9 years ago[optimizing] Add if-context sensitivity for null popagation.
Calin Juravle [Mon, 23 Feb 2015 16:46:57 +0000 (16:46 +0000)]
[optimizing] Add if-context sensitivity for null popagation.

Change-Id: I3725b6c6a6cf44440c34a1bfb67e623531e665d6

9 years agoam 00d86e03: am 0b6daeb0: Merge "ART: Enable more libcore tests (harmony package)"
David Brazdil [Tue, 24 Feb 2015 11:05:30 +0000 (11:05 +0000)]
am 00d86e03: am 0b6daeb0: Merge "ART: Enable more libcore tests (harmony package)"

* commit '00d86e030e1e72c164720a765b98fb83678e8e93':
  ART: Enable more libcore tests (harmony package)

9 years agoam 0b6daeb0: Merge "ART: Enable more libcore tests (harmony package)"
David Brazdil [Tue, 24 Feb 2015 10:59:13 +0000 (10:59 +0000)]
am 0b6daeb0: Merge "ART: Enable more libcore tests (harmony package)"

* commit '0b6daeb0f0014474b542cbba1f713eb0dbefb7f9':
  ART: Enable more libcore tests (harmony package)

9 years agoMerge "ART: Enable more libcore tests (harmony package)"
David Brazdil [Tue, 24 Feb 2015 10:52:45 +0000 (10:52 +0000)]
Merge "ART: Enable more libcore tests (harmony package)"

9 years agoART: Enable more libcore tests (harmony package)
David Brazdil [Tue, 24 Feb 2015 10:44:29 +0000 (10:44 +0000)]
ART: Enable more libcore tests (harmony package)

This patch enables additional libcore tests run by the ART buildbots.
These are tests from the org.apache.harmony.* packages and take extra
~5 minutes to run on target and ~2 minutes on host.

Change-Id: Idb9fc09ac7df460bd4337bc5151301adddea4b97

9 years agoam 39e30dda: am 69f46525: Merge "ART: Enable more libcore tests (libcore.* package)"
David Brazdil [Tue, 24 Feb 2015 10:31:18 +0000 (10:31 +0000)]
am 39e30dda: am 69f46525: Merge "ART: Enable more libcore tests (libcore.* package)"

* commit '39e30dda48237b9b8c4d08b99cfed7168ba2b494':
  ART: Enable more libcore tests (libcore.* package)

9 years agoam 69f46525: Merge "ART: Enable more libcore tests (libcore.* package)"
David Brazdil [Tue, 24 Feb 2015 10:27:33 +0000 (10:27 +0000)]
am 69f46525: Merge "ART: Enable more libcore tests (libcore.* package)"

* commit '69f46525c7238f43eaefdb844106c2e97181c498':
  ART: Enable more libcore tests (libcore.* package)

9 years agoMerge "ART: Enable more libcore tests (libcore.* package)"
David Brazdil [Tue, 24 Feb 2015 10:21:43 +0000 (10:21 +0000)]
Merge "ART: Enable more libcore tests (libcore.* package)"

9 years agoam e442dc3f: am 893bee6c: Merge "JDWP: update thread synchronization"
Sebastien Hertz [Tue, 24 Feb 2015 10:12:20 +0000 (10:12 +0000)]
am e442dc3f: am 893bee6c: Merge "JDWP: update thread synchronization"

* commit 'e442dc3f29a541869042da6ca47ad523d9641ad8':
  JDWP: update thread synchronization

9 years agoART: Enable more libcore tests (libcore.* package)
David Brazdil [Tue, 24 Feb 2015 10:12:06 +0000 (10:12 +0000)]
ART: Enable more libcore tests (libcore.* package)

This patch enables additional libcore tests run by the ART buildbots.
These are tests from the libcore.* packages and take extra ~3 minutes
to run on both host and target.

Change-Id: I89512836adb87b20ed5f9446d3b3ee245f9162dc

9 years agoam 893bee6c: Merge "JDWP: update thread synchronization"
Sebastien Hertz [Tue, 24 Feb 2015 10:08:18 +0000 (10:08 +0000)]
am 893bee6c: Merge "JDWP: update thread synchronization"

* commit '893bee6c8f05fdf7345bf348a8f9d24e9300bf8e':
  JDWP: update thread synchronization

9 years agoMerge "JDWP: update thread synchronization"
Sebastien Hertz [Tue, 24 Feb 2015 09:28:49 +0000 (09:28 +0000)]
Merge "JDWP: update thread synchronization"

9 years agoam 06d021c1: am f548c54c: Merge "Revert "Add JIT""
Nicolas Geoffray [Tue, 24 Feb 2015 08:22:42 +0000 (08:22 +0000)]
am 06d021c1: am f548c54c: Merge "Revert "Add JIT""

* commit '06d021c1729040e17a877d96e72dd82f1811c1b7':
  Revert "Add JIT"

9 years agoam f548c54c: Merge "Revert "Add JIT""
Nicolas Geoffray [Tue, 24 Feb 2015 08:16:34 +0000 (08:16 +0000)]
am f548c54c: Merge "Revert "Add JIT""

* commit 'f548c54c69443ba94fcee89daca6f5f499d71e9a':
  Revert "Add JIT"

9 years agoMerge "Revert "Add JIT""
Nicolas Geoffray [Tue, 24 Feb 2015 08:11:23 +0000 (08:11 +0000)]
Merge "Revert "Add JIT""

9 years agoRevert "Add JIT"
Nicolas Geoffray [Tue, 24 Feb 2015 08:10:57 +0000 (08:10 +0000)]
Revert "Add JIT"

Sorry, run-test crashes on target:
0-05 12:15:51.633 I/DEBUG   (27995): Abort message: 'art/runtime/mirror/art_method.cc:349] Check failed: PcIsWithinQuickCode(reinterpret_cast<uintptr_t>(code), pc) java.lang.Throwable java.lang.Throwable.fillInStackTrace() pc=71e3366b code=0x71e3362d size=ad000000'
10-05 12:15:51.633 I/DEBUG   (27995):     r0 00000000  r1 0000542b  r2 00000006  r3 00000000
10-05 12:15:51.633 I/DEBUG   (27995):     r4 00000006  r5 b6f9addc  r6 00000002  r7 0000010c
10-05 12:15:51.633 I/DEBUG   (27995):     r8 b63fe1e8  r9 be8e1418  sl b6427400  fp b63fcce0
10-05 12:15:51.633 I/DEBUG   (27995):     ip 0000542b  sp be8e1358  lr b6e9a27b  pc b6e9c280  cpsr 40070010
10-05 12:15:51.633 I/DEBUG   (27995):

Bug: 17950037
This reverts commit 2535abe7d1fcdd0e6aca782b1f1932a703ed50a4.

Change-Id: I6f88849bc6f2befed0c0aaa0b7b2a08c967a83c3

9 years agoam df7cce7c: am 9e87baff: Merge "Delete bad DCHECK"
Mathieu Chartier [Tue, 24 Feb 2015 02:40:42 +0000 (02:40 +0000)]
am df7cce7c: am 9e87baff: Merge "Delete bad DCHECK"

* commit 'df7cce7ce1b2f6722b5a41c81b81e12a9d748bdc':
  Delete bad DCHECK

9 years agoam 9e87baff: Merge "Delete bad DCHECK"
Mathieu Chartier [Tue, 24 Feb 2015 02:33:55 +0000 (02:33 +0000)]
am 9e87baff: Merge "Delete bad DCHECK"

* commit '9e87baff2eee8e8ae0700c7391ca4447dbe142b0':
  Delete bad DCHECK

9 years agoMerge "Delete bad DCHECK"
Mathieu Chartier [Tue, 24 Feb 2015 02:29:36 +0000 (02:29 +0000)]
Merge "Delete bad DCHECK"

9 years agoDelete bad DCHECK
Mathieu Chartier [Tue, 24 Feb 2015 02:24:29 +0000 (18:24 -0800)]
Delete bad DCHECK

The declaring class of a super field could be in a different dex file.
Fixes sdk build.

Change-Id: I6e1738603e71c3c673fa12d9aaa25c9eb84db406

9 years agoam 6581ebfe: am 4fa1a274: Merge "Add JIT"
Mathieu Chartier [Tue, 24 Feb 2015 01:39:57 +0000 (01:39 +0000)]
am 6581ebfe: am 4fa1a274: Merge "Add JIT"

* commit '6581ebfedbffbbbce5056472cf4f520ca6754447':
  Add JIT

9 years agoam 4fa1a274: Merge "Add JIT"
Mathieu Chartier [Tue, 24 Feb 2015 01:33:57 +0000 (01:33 +0000)]
am 4fa1a274: Merge "Add JIT"

* commit '4fa1a274024067e160a60d0a77124e95dca980e1':
  Add JIT

9 years agoam 0e12584b: am 40c99de1: Merge "ART: Strip error message in run-test"
Andreas Gampe [Tue, 24 Feb 2015 01:30:45 +0000 (01:30 +0000)]
am 0e12584b: am 40c99de1: Merge "ART: Strip error message in run-test"

* commit '0e12584b84b97c1ac33b5176f7ca1e06589eda3c':
  ART: Strip error message in run-test

9 years agoMerge "Add JIT"
Mathieu Chartier [Tue, 24 Feb 2015 01:29:46 +0000 (01:29 +0000)]
Merge "Add JIT"

9 years agoam 40c99de1: Merge "ART: Strip error message in run-test"
Andreas Gampe [Tue, 24 Feb 2015 01:25:04 +0000 (01:25 +0000)]
am 40c99de1: Merge "ART: Strip error message in run-test"

* commit '40c99de1fd26f9ba6fae20a01175240b96fc7443':
  ART: Strip error message in run-test

9 years agoMerge "ART: Strip error message in run-test"
Andreas Gampe [Tue, 24 Feb 2015 01:17:13 +0000 (01:17 +0000)]
Merge "ART: Strip error message in run-test"

9 years agoART: Strip error message in run-test
Andreas Gampe [Tue, 24 Feb 2015 01:15:47 +0000 (17:15 -0800)]
ART: Strip error message in run-test

It seems the output is flaky - sometimes the LOG(ERROR) makes it
to output.txt, sometimes it doesn't. So instead always strip it.

Change-Id: I409b98eb9a5bf0c2e6c1df16ff3b8013a2a85cc5

9 years agoam c1d26429: am 39ce2282: Merge "Only detach shutdown thread if we attached it"
Mathieu Chartier [Tue, 24 Feb 2015 00:46:51 +0000 (00:46 +0000)]
am c1d26429: am 39ce2282: Merge "Only detach shutdown thread if we attached it"

* commit 'c1d26429caf24df1e1811d99a6379979fc1596e0':
  Only detach shutdown thread if we attached it

9 years agoAdd JIT
Mathieu Chartier [Tue, 17 Feb 2015 18:38:49 +0000 (10:38 -0800)]
Add JIT

Currently disabled by default unless -Xjit is passed in.

The proposed JIT is a method JIT which works by utilizing interpreter
instrumentation to request compilation of hot methods async during
runtime.

JIT options:
-Xjit / -Xnojit
-Xjitcodecachesize:N
-Xjitthreshold:integervalue

The JIT has a shared copy of a compiler driver which is accessed
by worker threads to compile individual methods.

Added JIT code cache and data cache, currently sized at 2 MB
capacity by default. Most apps will only fill a small fraction of
this cache however.

Added support to the compiler for compiling interpreter quickened
byte codes.

Added test target ART_TEST_JIT=TRUE and --jit for run-test.

TODO:
Clean up code cache.
Delete compiled methods after they are added to code cache.
Add more optimizations related to runtime checks e.g. direct pointers
for invokes.
Add method recompilation.
Move instrumentation to DexFile to improve performance and reduce
memory usage.

Bug: 17950037

Change-Id: Ifa5b2684a2d5059ec5a5210733900aafa3c51bca

9 years agoam 39ce2282: Merge "Only detach shutdown thread if we attached it"
Mathieu Chartier [Tue, 24 Feb 2015 00:39:52 +0000 (00:39 +0000)]
am 39ce2282: Merge "Only detach shutdown thread if we attached it"

* commit '39ce2282ed2b020e51e8d92f442b419ae9dd6434':
  Only detach shutdown thread if we attached it

9 years agoMerge "Only detach shutdown thread if we attached it"
Mathieu Chartier [Tue, 24 Feb 2015 00:33:15 +0000 (00:33 +0000)]
Merge "Only detach shutdown thread if we attached it"

9 years agoOnly detach shutdown thread if we attached it
Mathieu Chartier [Mon, 23 Feb 2015 23:31:58 +0000 (15:31 -0800)]
Only detach shutdown thread if we attached it

Speculative fix to:
"Request to unregister unattached thread" bug.

Bug: 18713034
Change-Id: I6e69088dd66970c704010397a11e3758cf107ff9

9 years agoam 449398b7: am 9e80e7fa: Merge "ART: Allow the execution to stop if the compilation...
Andreas Gampe [Mon, 23 Feb 2015 23:59:27 +0000 (23:59 +0000)]
am 449398b7: am 9e80e7fa: Merge "ART: Allow the execution to stop if the compilation fails via an option"

* commit '449398b7e311b85738655a020b7b73590bb263f8':
  ART: Allow the execution to stop if the compilation fails via an option

9 years agoam 9e80e7fa: Merge "ART: Allow the execution to stop if the compilation fails via...
Andreas Gampe [Mon, 23 Feb 2015 23:53:28 +0000 (23:53 +0000)]
am 9e80e7fa: Merge "ART: Allow the execution to stop if the compilation fails via an option"

* commit '9e80e7fa5ef60f02f35823bc58969c3d5a03453e':
  ART: Allow the execution to stop if the compilation fails via an option

9 years agoMerge "ART: Allow the execution to stop if the compilation fails via an option"
Andreas Gampe [Mon, 23 Feb 2015 23:48:29 +0000 (23:48 +0000)]
Merge "ART: Allow the execution to stop if the compilation fails via an option"

9 years agoART: Allow the execution to stop if the compilation fails via an option
Jean Christophe Beyler [Fri, 12 Sep 2014 19:03:25 +0000 (12:03 -0700)]
ART: Allow the execution to stop if the compilation fails via an option

The current implementation continues the execution of the application if
dex2oat fails by relying on the interpreter.

This patch adds a -Xno-dex-file-fallback option to stop the default behavior.
This can be used two-fold.

First, one can enforce that a runtime only starts with a boot image. A
follow-up patch will ensure that dex2oat (for apps) and patchoat in general
request that mode and close gracefully otherwise.

Second, this can be used for testing and debugging purposes, as it ensures
that compiler failures & aborts are not silently ignored.

Add testing.

Bug: 19100590
Change-Id: Iaf07b5ccf00942ca8a8ec8687599320a3ddbc089
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
9 years agoam 893f2217: am 84fbead4: Merge "Optimizing: Remove redundant hash set copy in GVN"
David Brazdil [Mon, 23 Feb 2015 22:45:50 +0000 (22:45 +0000)]
am 893f2217: am 84fbead4: Merge "Optimizing: Remove redundant hash set copy in GVN"

* commit '893f221761a263a1b632d8f69fe581bbeae0e98d':
  Optimizing: Remove redundant hash set copy in GVN

9 years agoam 84fbead4: Merge "Optimizing: Remove redundant hash set copy in GVN"
David Brazdil [Mon, 23 Feb 2015 22:35:43 +0000 (22:35 +0000)]
am 84fbead4: Merge "Optimizing: Remove redundant hash set copy in GVN"

* commit '84fbead44b77c5f9f9458d88b42c8925a002dfd4':
  Optimizing: Remove redundant hash set copy in GVN

9 years agoMerge "Optimizing: Remove redundant hash set copy in GVN"
David Brazdil [Mon, 23 Feb 2015 22:27:51 +0000 (22:27 +0000)]
Merge "Optimizing: Remove redundant hash set copy in GVN"

9 years agoam db02fb4e: am 38fee8ef: Merge "Avoid unaligned accesses (SIGBUG/BUS_ADRALN) in...
Hiroshi Yamauchi [Mon, 23 Feb 2015 19:42:28 +0000 (19:42 +0000)]
am db02fb4e: am 38fee8ef: Merge "Avoid unaligned accesses (SIGBUG/BUS_ADRALN) in IRT."

* commit 'db02fb4e85ae0f657d48df807e70b2660c24c08e':
  Avoid unaligned accesses (SIGBUG/BUS_ADRALN) in IRT.

9 years agoam d699469a: am bad712e2: Merge "More checker tests for BCE."
Mingyao Yang [Mon, 23 Feb 2015 19:36:00 +0000 (19:36 +0000)]
am d699469a: am bad712e2: Merge "More checker tests for BCE."

* commit 'd699469ab23939144d535083f84cedffd4354cbc':
  More checker tests for BCE.