OSDN Git Service

android-x86/art.git
9 years agoam 3f4df5e9: am 9781bb05: Merge "ART: Fix bug in GraphBuilder"
David Brazdil [Thu, 9 Jul 2015 15:07:38 +0000 (15:07 +0000)]
am 3f4df5e9: am 9781bb05: Merge "ART: Fix bug in GraphBuilder"

* commit '3f4df5e938a7fb3a69297da55588863ef1e291a0':
  ART: Fix bug in GraphBuilder

9 years agoam 9781bb05: Merge "ART: Fix bug in GraphBuilder"
David Brazdil [Thu, 9 Jul 2015 14:55:26 +0000 (14:55 +0000)]
am 9781bb05: Merge "ART: Fix bug in GraphBuilder"

* commit '9781bb056ddfaa3a29b4e199357293859b816bb6':
  ART: Fix bug in GraphBuilder

9 years agoMerge "ART: Fix bug in GraphBuilder"
David Brazdil [Thu, 9 Jul 2015 14:42:05 +0000 (14:42 +0000)]
Merge "ART: Fix bug in GraphBuilder"

9 years agoART: Fix bug in GraphBuilder
David Brazdil [Thu, 9 Jul 2015 13:36:05 +0000 (14:36 +0100)]
ART: Fix bug in GraphBuilder

This fixes a bug where the GraphBuilder would split a throwing catch
block but would not update info about which blocks throw.

Change-Id: If5415f0c320aa488e06eb042e8fea6f03e30246a

9 years agoresolved conflicts for merge of 5ee9454d to mnc-dev-plus-aosp
Sebastien Hertz [Thu, 9 Jul 2015 12:56:27 +0000 (14:56 +0200)]
resolved conflicts for merge of 5ee9454d to mnc-dev-plus-aosp

Change-Id: I631e6ebdbc5e7abc571de133b337309ed08282e3

9 years agoam b4a4f56f: am 7b3d3bc1: Merge "ART: Add regression test"
David Brazdil [Thu, 9 Jul 2015 11:43:54 +0000 (11:43 +0000)]
am b4a4f56f: am 7b3d3bc1: Merge "ART: Add regression test"

* commit 'b4a4f56f2db60bfcf8b106a80392a45c4e55d54c':
  ART: Add regression test

9 years agoam 23e97f5d: am 0f40fbc8: Merge "Support compiling run-tests with jack"
Sebastien Hertz [Thu, 9 Jul 2015 11:43:37 +0000 (11:43 +0000)]
am 23e97f5d: am 0f40fbc8: Merge "Support compiling run-tests with jack"

* commit '23e97f5da43f6b8d53b79fe4014a6078dfc7c510':
  Support compiling run-tests with jack

9 years agoam 7b3d3bc1: Merge "ART: Add regression test"
David Brazdil [Thu, 9 Jul 2015 10:48:39 +0000 (10:48 +0000)]
am 7b3d3bc1: Merge "ART: Add regression test"

* commit '7b3d3bc1a4ea7546e4743e90e695f4fc7ecadf3a':
  ART: Add regression test

9 years agoMerge "ART: Add regression test"
David Brazdil [Thu, 9 Jul 2015 10:37:09 +0000 (10:37 +0000)]
Merge "ART: Add regression test"

9 years agoART: Add regression test
David Brazdil [Wed, 8 Jul 2015 18:13:19 +0000 (19:13 +0100)]
ART: Add regression test

This adds a test for CL I624c0f91676d9baaada6f33be9d7091f68d57535.

Change-Id: Ib9ea1400082ad03c4355983d95268e084c0b6a6e

9 years agoam 0f40fbc8: Merge "Support compiling run-tests with jack"
Sebastien Hertz [Thu, 9 Jul 2015 09:53:06 +0000 (09:53 +0000)]
am 0f40fbc8: Merge "Support compiling run-tests with jack"

* commit '0f40fbc82722bd75ee04cd7e04580a13a6f79443':
  Support compiling run-tests with jack

9 years agoSupport compiling run-tests with jack
Sebastien Hertz [Tue, 24 Feb 2015 16:39:50 +0000 (17:39 +0100)]
Support compiling run-tests with jack

This CL adds support to compile run-test source files with jack. When
a test needs to rely on class files, we use jill to convert them to a
jack library.

We need to pass the full classpath to jack containing at least core
classes (like java.lang.Object). This means the Android tree must
have been compiled with jack first so we find all the necessary
classes.jack files.

Some tests still rely on dex files generated with the old toolchain.
We keep building them this way for the moment and will update them
later, when they get ready for Jack.

Also updates a few tests dealing with garbage collection to avoid a
situation where a reference can be retained by a local DEX register.

Bug: 19467889

(cherry picked from commit 19ac0276208f0afef6ba8a4ab34b74a59b8d11d7)

Change-Id: Ia5a989b83430ffe8298a869a1da970b756721bb0

9 years agoMerge "Support compiling run-tests with jack"
Sebastien Hertz [Thu, 9 Jul 2015 09:11:35 +0000 (09:11 +0000)]
Merge "Support compiling run-tests with jack"

9 years agoam 46f5dcbd: am 224a848b: Merge "ART: Allow to set and copy conflicts in the verifier"
Andreas Gampe [Thu, 9 Jul 2015 03:41:45 +0000 (03:41 +0000)]
am 46f5dcbd: am 224a848b: Merge "ART: Allow to set and copy conflicts in the verifier"

* commit '46f5dcbd8d4172d5f3acc10e68eaf8e3b7a855b8':
  ART: Allow to set and copy conflicts in the verifier

9 years agoam c2bf1255: ART: Allow to set and copy conflicts in the verifier
Andreas Gampe [Thu, 9 Jul 2015 03:34:23 +0000 (03:34 +0000)]
am c2bf1255: ART: Allow to set and copy conflicts in the verifier

* commit 'c2bf1255ebf360d009dd0763dcea8d2c9b9c676e':
  ART: Allow to set and copy conflicts in the verifier

9 years agoam 224a848b: Merge "ART: Allow to set and copy conflicts in the verifier"
Andreas Gampe [Thu, 9 Jul 2015 03:33:37 +0000 (03:33 +0000)]
am 224a848b: Merge "ART: Allow to set and copy conflicts in the verifier"

* commit '224a848b0f55b8a39ec8bfd73786ccd409def0a2':
  ART: Allow to set and copy conflicts in the verifier

9 years agoMerge "ART: Allow to set and copy conflicts in the verifier"
Andreas Gampe [Thu, 9 Jul 2015 03:02:05 +0000 (03:02 +0000)]
Merge "ART: Allow to set and copy conflicts in the verifier"

9 years agoART: Allow to set and copy conflicts in the verifier
Andreas Gampe [Thu, 9 Jul 2015 00:22:57 +0000 (17:22 -0700)]
ART: Allow to set and copy conflicts in the verifier

As long as conflicts are not actively being used, it is OK to set
them in a register line or copy them around.

Bug: 22331663

(cherry picked from commit 38536287f61c9c0fc3bab8c1950cf8c74881482a)

Change-Id: I61999e2d9c92f9bdedcb0a5dea54df3c5bb130ca

9 years agoART: Allow to set and copy conflicts in the verifier
Andreas Gampe [Thu, 9 Jul 2015 00:22:57 +0000 (17:22 -0700)]
ART: Allow to set and copy conflicts in the verifier

As long as conflicts are not actively being used, it is OK to set
them in a register line or copy them around.

Bug: 22331663
Change-Id: I61999e2d9c92f9bdedcb0a5dea54df3c5bb130ca

9 years agoam ff92b000: am 0e87d180: Merge "Fix potential bugs in allocation tracker"
Mathieu Chartier [Wed, 8 Jul 2015 22:15:09 +0000 (22:15 +0000)]
am ff92b000: am 0e87d180: Merge "Fix potential bugs in allocation tracker"

* commit 'ff92b00089a5250952a1200d055708d01c5d2be6':
  Fix potential bugs in allocation tracker

9 years agoam 54d804f8: am e1f3a6ed: Merge "Have test-art-host-dexdump specifically depend on...
Ying Wang [Wed, 8 Jul 2015 22:15:08 +0000 (22:15 +0000)]
am 54d804f8: am e1f3a6ed: Merge "Have test-art-host-dexdump specifically depend on the host binaries."

* commit '54d804f8ec081e26a8548a82d6eafff14b423faa':
  Have test-art-host-dexdump specifically depend on the host binaries.

9 years agoam 0e87d180: Merge "Fix potential bugs in allocation tracker"
Mathieu Chartier [Wed, 8 Jul 2015 22:00:43 +0000 (22:00 +0000)]
am 0e87d180: Merge "Fix potential bugs in allocation tracker"

* commit '0e87d1809443d41b431ce3a686b4e074df2d7b8b':
  Fix potential bugs in allocation tracker

9 years agoam e1f3a6ed: Merge "Have test-art-host-dexdump specifically depend on the host binaries."
Ying Wang [Wed, 8 Jul 2015 22:00:42 +0000 (22:00 +0000)]
am e1f3a6ed: Merge "Have test-art-host-dexdump specifically depend on the host binaries."

* commit 'e1f3a6edc5bb241a11043c8be6b12b856b6cfe89':
  Have test-art-host-dexdump specifically depend on the host binaries.

9 years agoam d8618e13: am 784c6aee: Merge "Revert "Make Art dexdump/list the real utilities.""
Aart Bik [Wed, 8 Jul 2015 21:54:51 +0000 (21:54 +0000)]
am d8618e13: am 784c6aee: Merge "Revert "Make Art dexdump/list the real utilities.""

* commit 'd8618e1315485ed326fdada8ff00687dcb8d8ae0':
  Revert "Make Art dexdump/list the real utilities."

9 years agoam b560d884: am 2e3fc781: Merge "Use trap + async timeout for tests"
Mathieu Chartier [Wed, 8 Jul 2015 21:54:49 +0000 (21:54 +0000)]
am b560d884: am 2e3fc781: Merge "Use trap + async timeout for tests"

* commit 'b560d884c76ba83dbdeea814770c9aa71255e279':
  Use trap + async timeout for tests

9 years agoMerge "Fix potential bugs in allocation tracker"
Mathieu Chartier [Wed, 8 Jul 2015 21:46:48 +0000 (21:46 +0000)]
Merge "Fix potential bugs in allocation tracker"

9 years agoMerge "Have test-art-host-dexdump specifically depend on the host binaries."
Ying Wang [Wed, 8 Jul 2015 21:46:14 +0000 (21:46 +0000)]
Merge "Have test-art-host-dexdump specifically depend on the host binaries."

9 years agoam a3cd834a: ART: Avoid soft- after hard-fail in verifier
Andreas Gampe [Wed, 8 Jul 2015 21:46:02 +0000 (21:46 +0000)]
am a3cd834a: ART: Avoid soft- after hard-fail in verifier

* commit 'a3cd834a9e63c4c2259f0ef87d79ddf2c4dd3afb':
  ART: Avoid soft- after hard-fail in verifier

9 years agoam 784c6aee: Merge "Revert "Make Art dexdump/list the real utilities.""
Aart Bik [Wed, 8 Jul 2015 21:39:57 +0000 (21:39 +0000)]
am 784c6aee: Merge "Revert "Make Art dexdump/list the real utilities.""

* commit '784c6aee9cde7fc0e39a9f0c8b93d120e5f6dc3b':
  Revert "Make Art dexdump/list the real utilities."

9 years agoam 2e3fc781: Merge "Use trap + async timeout for tests"
Mathieu Chartier [Wed, 8 Jul 2015 21:39:53 +0000 (21:39 +0000)]
am 2e3fc781: Merge "Use trap + async timeout for tests"

* commit '2e3fc78177c73569627654b9f90938de8d3b316e':
  Use trap + async timeout for tests

9 years agoHave test-art-host-dexdump specifically depend on the host binaries.
Ying Wang [Wed, 8 Jul 2015 21:09:10 +0000 (14:09 -0700)]
Have test-art-host-dexdump specifically depend on the host binaries.

dexdump2 and dexlist2 are phony targets representing both the host and
target binaries.
Also set environmental variable ANDROID_HOST_OUT=$(realpath $(HOST_OUT))
before calling art/test/dexdump/run-all-tests.
art/test/dexdump/run-all-tests references ANDROID_HOST_OUT, which may be
not set up by the user if he didn't run build/envsetup.sh.

Bug: 22343844
Change-Id: I38b5f3efccd5817d7d9ff0e91b5c6d070b546d77

9 years agoMerge "Revert "Make Art dexdump/list the real utilities.""
Aart Bik [Wed, 8 Jul 2015 21:21:15 +0000 (21:21 +0000)]
Merge "Revert "Make Art dexdump/list the real utilities.""

9 years agoMerge "Use trap + async timeout for tests"
Mathieu Chartier [Wed, 8 Jul 2015 21:21:55 +0000 (21:21 +0000)]
Merge "Use trap + async timeout for tests"

9 years agoam 0d8b449e: am dffdfb9e: Merge "ART: Avoid soft- after hard-fail in verifier"
Andreas Gampe [Wed, 8 Jul 2015 21:21:47 +0000 (21:21 +0000)]
am 0d8b449e: am dffdfb9e: Merge "ART: Avoid soft- after hard-fail in verifier"

* commit '0d8b449e9628f06d17df2e117ed2fdb09e3c9dc6':
  ART: Avoid soft- after hard-fail in verifier

9 years agoRevert "Make Art dexdump/list the real utilities."
Aart Bik [Wed, 8 Jul 2015 21:20:13 +0000 (21:20 +0000)]
Revert "Make Art dexdump/list the real utilities."

This reverts commit d10ee1ce1ccd92c003ec49c15edf339e74c13894.

REASON:
win_sdk is not happy with my migration :-(

Change-Id: I2ed196da3f5883112883525f883d25b36e48352a

9 years agoam dffdfb9e: Merge "ART: Avoid soft- after hard-fail in verifier"
Andreas Gampe [Wed, 8 Jul 2015 21:08:48 +0000 (21:08 +0000)]
am dffdfb9e: Merge "ART: Avoid soft- after hard-fail in verifier"

* commit 'dffdfb9ecb8c3b0b3faaf0ca204b963410a3a47d':
  ART: Avoid soft- after hard-fail in verifier

9 years agoART: Avoid soft- after hard-fail in verifier
Andreas Gampe [Tue, 7 Jul 2015 00:20:18 +0000 (17:20 -0700)]
ART: Avoid soft- after hard-fail in verifier

Follow-up to 414000ec4d728b5c85f8c6dee4f867fecde59b01.

Bug: 21886894
Bug: 22245124

(cherry picked from commit 890da29d279c44923f9271450b8a4423b1267655)

Change-Id: I3728187bd8526cdf84f95b123e6fad5d6c5a8b3c

9 years agoUse trap + async timeout for tests
Mathieu Chartier [Wed, 8 Jul 2015 21:03:02 +0000 (14:03 -0700)]
Use trap + async timeout for tests

Allows tests to be killed with ctrl-c.

Bug: 19414810
Change-Id: I09fbee370e71386ed48b814407868c2fe7a0b058

9 years agoMerge "ART: Avoid soft- after hard-fail in verifier"
Andreas Gampe [Wed, 8 Jul 2015 20:56:40 +0000 (20:56 +0000)]
Merge "ART: Avoid soft- after hard-fail in verifier"

9 years agoam 82f479f9: am 8e76556c: Merge "Make Art dexdump/list the real utilities."
Aart Bik [Wed, 8 Jul 2015 20:37:26 +0000 (20:37 +0000)]
am 82f479f9: am 8e76556c: Merge "Make Art dexdump/list the real utilities."

* commit '82f479f95643af29a91013ca00fb12b63737a6f9':
  Make Art dexdump/list the real utilities.

9 years agoam 8e76556c: Merge "Make Art dexdump/list the real utilities."
Aart Bik [Wed, 8 Jul 2015 20:27:30 +0000 (20:27 +0000)]
am 8e76556c: Merge "Make Art dexdump/list the real utilities."

* commit '8e76556c38de90095c45599a81254ded448cc1aa':
  Make Art dexdump/list the real utilities.

9 years agoam fd6fe84c: Merge "ART: Release inputs in Long.reverse intrinsic in x86" into mnc-dev
Andreas Gampe [Wed, 8 Jul 2015 20:23:56 +0000 (20:23 +0000)]
am fd6fe84c: Merge "ART: Release inputs in Long.reverse intrinsic in x86" into mnc-dev

* commit 'fd6fe84c68fdc2ae5f9a1a1bbde80ece4ca557d5':
  ART: Release inputs in Long.reverse intrinsic in x86

9 years agoMerge "ART: Release inputs in Long.reverse intrinsic in x86" into mnc-dev
Andreas Gampe [Wed, 8 Jul 2015 20:12:25 +0000 (20:12 +0000)]
Merge "ART: Release inputs in Long.reverse intrinsic in x86" into mnc-dev

9 years agoMerge "Make Art dexdump/list the real utilities."
Aart Bik [Wed, 8 Jul 2015 20:10:39 +0000 (20:10 +0000)]
Merge "Make Art dexdump/list the real utilities."

9 years agoFix potential bugs in allocation tracker
Man Cao [Tue, 7 Jul 2015 01:53:15 +0000 (18:53 -0700)]
Fix potential bugs in allocation tracker

Add a missing visit allocation records call in concurrent copying collecter.
Handle null class objects if we support class unloading, and issues
with disallow and allow new allocation records.

Bug: 20037135
Change-Id: I59b7321c281e0d79a620501b2f43e36d2a576203

9 years agoART: Release inputs in Long.reverse intrinsic in x86
Andreas Gampe [Tue, 7 Jul 2015 20:25:58 +0000 (13:25 -0700)]
ART: Release inputs in Long.reverse intrinsic in x86

In the worst case we are using two temps each for input and output.
Then we do not have a temp left over for the swap operations. The
input is dead, however, after the first swap. So try to release it
(a no-op if it isn't actually a temp).

Bug: 22324327

(cherry picked from commit 575422fa5be7389bdaff5e2d25dd87b1d2d4de85)

Change-Id: I1fc50159afdad14160e34abeaf4670958171d6b2

9 years agoMake Art dexdump/list the real utilities.
Aart Bik [Wed, 8 Jul 2015 18:30:04 +0000 (11:30 -0700)]
Make Art dexdump/list the real utilities.

Note: depends on pending CL that removes
      old dexdump/list and libdex.

Bug: 22322814
Change-Id: I99259553f0f4655a633989feb8d67aa11de8b29d

9 years agoam 90b8d4f1: am 486728d8: Merge "Address small comments in HGraphBuilder"
David Brazdil [Wed, 8 Jul 2015 18:28:21 +0000 (18:28 +0000)]
am 90b8d4f1: am 486728d8: Merge "Address small comments in HGraphBuilder"

* commit '90b8d4f1164a62cab783ff08c094ebb7892259ea':
  Address small comments in HGraphBuilder

9 years agoam ad7eb809: am 4880fd56: Merge "Revert "Revert "ART: Ignore try blocks with no throw...
David Brazdil [Wed, 8 Jul 2015 18:28:20 +0000 (18:28 +0000)]
am ad7eb809: am 4880fd56: Merge "Revert "Revert "ART: Ignore try blocks with no throwing instructions"""

* commit 'ad7eb8096c0f934d7237f93631ba6fdb38886e30':
  Revert "Revert "ART: Ignore try blocks with no throwing instructions""

9 years agoam 486728d8: Merge "Address small comments in HGraphBuilder"
David Brazdil [Wed, 8 Jul 2015 18:13:52 +0000 (18:13 +0000)]
am 486728d8: Merge "Address small comments in HGraphBuilder"

* commit '486728d82e5b36a5ff3d40d282d9c32f7305bc3a':
  Address small comments in HGraphBuilder

9 years agoam 4880fd56: Merge "Revert "Revert "ART: Ignore try blocks with no throwing instructi...
David Brazdil [Wed, 8 Jul 2015 18:13:51 +0000 (18:13 +0000)]
am 4880fd56: Merge "Revert "Revert "ART: Ignore try blocks with no throwing instructions"""

* commit '4880fd5695ea1726dde27bb448dae1338d0a0973':
  Revert "Revert "ART: Ignore try blocks with no throwing instructions""

9 years agoam 6bfafebd: am d9acfe21: Merge "Migrated dexlist from Dalvik (libdex) into Art ...
Aart Bik [Wed, 8 Jul 2015 18:12:30 +0000 (18:12 +0000)]
am 6bfafebd: am d9acfe21: Merge "Migrated dexlist from Dalvik (libdex) into Art (libart)"

* commit '6bfafebda7b8198ade4b6710b9b37467c855ea90':
  Migrated dexlist from Dalvik (libdex) into Art (libart)

9 years agoMerge "Address small comments in HGraphBuilder"
David Brazdil [Wed, 8 Jul 2015 18:02:56 +0000 (18:02 +0000)]
Merge "Address small comments in HGraphBuilder"

9 years agoAddress small comments in HGraphBuilder
David Brazdil [Wed, 8 Jul 2015 15:44:00 +0000 (16:44 +0100)]
Address small comments in HGraphBuilder

Change-Id: Ife0a19f6e07146c8e03922f1330527d092f5e236

9 years agoMerge "Revert "Revert "ART: Ignore try blocks with no throwing instructions"""
David Brazdil [Wed, 8 Jul 2015 18:00:22 +0000 (18:00 +0000)]
Merge "Revert "Revert "ART: Ignore try blocks with no throwing instructions"""

9 years agoam d9acfe21: Merge "Migrated dexlist from Dalvik (libdex) into Art (libart)"
Aart Bik [Wed, 8 Jul 2015 17:59:36 +0000 (17:59 +0000)]
am d9acfe21: Merge "Migrated dexlist from Dalvik (libdex) into Art (libart)"

* commit 'd9acfe21f6eb09a22db69958dfb05c1f48f779bd':
  Migrated dexlist from Dalvik (libdex) into Art (libart)

9 years agoMerge "Migrated dexlist from Dalvik (libdex) into Art (libart)"
Aart Bik [Wed, 8 Jul 2015 17:47:23 +0000 (17:47 +0000)]
Merge "Migrated dexlist from Dalvik (libdex) into Art (libart)"

9 years agoam 4f228ec5: am 98bea9fd: Merge "Revert "ART: Ignore try blocks with no throwing...
David Brazdil [Wed, 8 Jul 2015 17:38:06 +0000 (17:38 +0000)]
am 4f228ec5: am 98bea9fd: Merge "Revert "ART: Ignore try blocks with no throwing instructions""

* commit '4f228ec5050bf1f3f087df5d1a1c06442f41589e':
  Revert "ART: Ignore try blocks with no throwing instructions"

9 years agoRevert "Revert "ART: Ignore try blocks with no throwing instructions""
David Brazdil [Wed, 8 Jul 2015 17:26:51 +0000 (17:26 +0000)]
Revert "Revert "ART: Ignore try blocks with no throwing instructions""

The original CL broke libcore tests because monitor-exit instructions
did not have any side-effects and got removed by DCE once not labelled
throwing any more.

This reverts commit efe374d7c25c1d48945a9198d96469de99e0c1bd.

Change-Id: I624c0f91676d9baaada6f33be9d7091f68d57535

9 years agoam 98bea9fd: Merge "Revert "ART: Ignore try blocks with no throwing instructions""
David Brazdil [Wed, 8 Jul 2015 17:07:21 +0000 (17:07 +0000)]
am 98bea9fd: Merge "Revert "ART: Ignore try blocks with no throwing instructions""

* commit '98bea9fdab2c5f964a95f9e76620b0b35c050a8a':
  Revert "ART: Ignore try blocks with no throwing instructions"

9 years agoMerge "Revert "ART: Ignore try blocks with no throwing instructions""
David Brazdil [Wed, 8 Jul 2015 16:58:19 +0000 (16:58 +0000)]
Merge "Revert "ART: Ignore try blocks with no throwing instructions""

9 years agoRevert "ART: Ignore try blocks with no throwing instructions"
David Brazdil [Wed, 8 Jul 2015 16:58:07 +0000 (16:58 +0000)]
Revert "ART: Ignore try blocks with no throwing instructions"

Turns out monitor-exit *can* throw... Need to investigate

This reverts commit 8f8ee680bec71a28d9d7b7538e8c7ca100a18184.

Change-Id: I8b42690918833c917b6a7fc3ceea932b7c1a6f15

9 years agoam 586333a6: am 761f281e: Merge "Revert "Use the object class as top in reference...
Calin Juravle [Wed, 8 Jul 2015 16:14:19 +0000 (16:14 +0000)]
am 586333a6: am 761f281e: Merge "Revert "Use the object class as top in reference type propagation""

* commit '586333a694c9a23be11102041c7b7273c39edcdd':
  Revert "Use the object class as top in reference type propagation"

9 years agoam ee1755a4: am c7d5ae36: Merge "ART: Release inputs in Long.reverse intrinsic in...
Andreas Gampe [Wed, 8 Jul 2015 16:14:15 +0000 (16:14 +0000)]
am ee1755a4: am c7d5ae36: Merge "ART: Release inputs in Long.reverse intrinsic in x86"

* commit 'ee1755a41611776b7281ef16fce77fb7cb1b3130':
  ART: Release inputs in Long.reverse intrinsic in x86

9 years agoam 761f281e: Merge "Revert "Use the object class as top in reference type propagation""
Calin Juravle [Wed, 8 Jul 2015 16:05:52 +0000 (16:05 +0000)]
am 761f281e: Merge "Revert "Use the object class as top in reference type propagation""

* commit '761f281e6f78b1c48103cbd45385a5c410e2be07':
  Revert "Use the object class as top in reference type propagation"

9 years agoam c7d5ae36: Merge "ART: Release inputs in Long.reverse intrinsic in x86"
Andreas Gampe [Wed, 8 Jul 2015 16:05:49 +0000 (16:05 +0000)]
am c7d5ae36: Merge "ART: Release inputs in Long.reverse intrinsic in x86"

* commit 'c7d5ae363bc43ebba0f21c6ee4a2164dfbb209a9':
  ART: Release inputs in Long.reverse intrinsic in x86

9 years agoMerge "Revert "Use the object class as top in reference type propagation""
Calin Juravle [Wed, 8 Jul 2015 15:57:32 +0000 (15:57 +0000)]
Merge "Revert "Use the object class as top in reference type propagation""

9 years agoRevert "Use the object class as top in reference type propagation"
Calin Juravle [Wed, 8 Jul 2015 15:57:18 +0000 (15:57 +0000)]
Revert "Use the object class as top in reference type propagation"

failing on the build bot on some targets but not locally. needs more investigation.

This reverts commit 20e6071362b84a9782b633a893c29ebde458205e.

Change-Id: I6965483f569fb862f9bdb66d459b747ded54de71

9 years agoam 1b1872ec: am 7d5e4d05: Merge "ART: Ignore try blocks with no throwing instructions"
David Brazdil [Wed, 8 Jul 2015 15:50:16 +0000 (15:50 +0000)]
am 1b1872ec: am 7d5e4d05: Merge "ART: Ignore try blocks with no throwing instructions"

* commit '1b1872eca6cfb5e25bbb552506272709aa9d3553':
  ART: Ignore try blocks with no throwing instructions

9 years agoMerge "ART: Release inputs in Long.reverse intrinsic in x86"
Andreas Gampe [Wed, 8 Jul 2015 15:50:00 +0000 (15:50 +0000)]
Merge "ART: Release inputs in Long.reverse intrinsic in x86"

9 years agoART: Release inputs in Long.reverse intrinsic in x86
Andreas Gampe [Tue, 7 Jul 2015 20:25:58 +0000 (13:25 -0700)]
ART: Release inputs in Long.reverse intrinsic in x86

In the worst case we are using two temps each for input and output.
Then we do not have a temp left over for the swap operations. The
input is dead, however, after the first swap. So try to release it
(a no-op if it isn't actually a temp).

Bug: 22324327
Change-Id: I1fc50159afdad14160e34abeaf4670958171d6b2

9 years agoam 7d5e4d05: Merge "ART: Ignore try blocks with no throwing instructions"
David Brazdil [Wed, 8 Jul 2015 15:37:44 +0000 (15:37 +0000)]
am 7d5e4d05: Merge "ART: Ignore try blocks with no throwing instructions"

* commit '7d5e4d056d6b8f54b2a7b054136e53ecbf97d314':
  ART: Ignore try blocks with no throwing instructions

9 years agoam 06e72c81: am c7432f3b: Merge "Use the object class as top in reference type propag...
Calin Juravle [Wed, 8 Jul 2015 15:29:09 +0000 (15:29 +0000)]
am 06e72c81: am c7432f3b: Merge "Use the object class as top in reference type propagation"

* commit '06e72c81d6346c9bb97d9684f16939d62b45bdce':
  Use the object class as top in reference type propagation

9 years agoam 7181746c: am c21dc873: Merge "Fix oatdump after ArtMethod change."
Nicolas Geoffray [Wed, 8 Jul 2015 15:29:08 +0000 (15:29 +0000)]
am 7181746c: am c21dc873: Merge "Fix oatdump after ArtMethod change."

* commit '7181746c6990c4072130475d818610af8596fbd9':
  Fix oatdump after ArtMethod change.

9 years agoMerge "ART: Ignore try blocks with no throwing instructions"
David Brazdil [Wed, 8 Jul 2015 15:23:53 +0000 (15:23 +0000)]
Merge "ART: Ignore try blocks with no throwing instructions"

9 years agoART: Ignore try blocks with no throwing instructions
David Brazdil [Wed, 8 Jul 2015 11:11:42 +0000 (12:11 +0100)]
ART: Ignore try blocks with no throwing instructions

In order to avoid complex removal of redundant exceptional edges in
the SSA builder, this patch modified the graph builder to consider
blocks without throwing instructions as not in a try block, even if
covered by a TryItem.

In some corner cases, this may generate more TryBoundaries than
necessary, but those can be removed once the SSA form is built.

Change-Id: I158c4542b2c1964a8dd532f82e921b9cb1997e1e

9 years agoSupport compiling run-tests with jack
Sebastien Hertz [Tue, 24 Feb 2015 16:39:50 +0000 (17:39 +0100)]
Support compiling run-tests with jack

This CL adds support to compile run-test source files with jack. When
a test needs to rely on class files, we use jill to convert them to a
jack library.

We need to pass the full classpath to jack containing at least core
classes (like java.lang.Object). This means the Android tree must
have been compiled with jack first so we find all the necessary
classes.jack files.

Some tests still rely on dex files generated with the old toolchain.
We keep building them this way for the moment and will update them
later, when they get ready for Jack.

Also updates a few tests dealing with garbage collection to avoid a
situation where a reference can be retained by a local DEX register.

Bug: 19467889
Change-Id: I9eedd0705d1186d28a2acd37ea42a1762cd0ace2

9 years agoam c7432f3b: Merge "Use the object class as top in reference type propagation"
Calin Juravle [Wed, 8 Jul 2015 15:08:45 +0000 (15:08 +0000)]
am c7432f3b: Merge "Use the object class as top in reference type propagation"

* commit 'c7432f3b8cd7dd6fd198fe5cf7238650921cb306':
  Use the object class as top in reference type propagation

9 years agoam c21dc873: Merge "Fix oatdump after ArtMethod change."
Nicolas Geoffray [Wed, 8 Jul 2015 15:08:44 +0000 (15:08 +0000)]
am c21dc873: Merge "Fix oatdump after ArtMethod change."

* commit 'c21dc873f5a6ce31d73299ee71805031ddb9b65a':
  Fix oatdump after ArtMethod change.

9 years agoMerge "Use the object class as top in reference type propagation"
Calin Juravle [Wed, 8 Jul 2015 15:00:00 +0000 (15:00 +0000)]
Merge "Use the object class as top in reference type propagation"

9 years agoMerge "Fix oatdump after ArtMethod change."
Nicolas Geoffray [Wed, 8 Jul 2015 14:59:35 +0000 (14:59 +0000)]
Merge "Fix oatdump after ArtMethod change."

9 years agoFix oatdump after ArtMethod change.
Nicolas Geoffray [Wed, 8 Jul 2015 14:55:28 +0000 (15:55 +0100)]
Fix oatdump after ArtMethod change.

ArtMethod is now word aligned, and not necessarily 8 byte aligned.

Change-Id: I8bd6b2f156d7f2ab191d6f2675b013713bbf258d

9 years agoam e0e1b07c: am 30502f1f: Merge "Revert "Revert "Remove interpreter entrypoint in...
Nicolas Geoffray [Wed, 8 Jul 2015 14:18:18 +0000 (14:18 +0000)]
am e0e1b07c: am 30502f1f: Merge "Revert "Revert "Remove interpreter entrypoint in ArtMethod."""

* commit 'e0e1b07ca3eaa0ea2203ae3d989d22c5c3154201':
  Revert "Revert "Remove interpreter entrypoint in ArtMethod.""

9 years agoam 30502f1f: Merge "Revert "Revert "Remove interpreter entrypoint in ArtMethod."""
Nicolas Geoffray [Wed, 8 Jul 2015 14:05:05 +0000 (14:05 +0000)]
am 30502f1f: Merge "Revert "Revert "Remove interpreter entrypoint in ArtMethod."""

* commit '30502f1fc8357bdaf11b70e6fc8f5311c6237194':
  Revert "Revert "Remove interpreter entrypoint in ArtMethod.""

9 years agoMerge "Revert "Revert "Remove interpreter entrypoint in ArtMethod."""
Nicolas Geoffray [Wed, 8 Jul 2015 13:52:41 +0000 (13:52 +0000)]
Merge "Revert "Revert "Remove interpreter entrypoint in ArtMethod."""

9 years agoRevert "Revert "Remove interpreter entrypoint in ArtMethod.""
Nicolas Geoffray [Wed, 8 Jul 2015 10:11:59 +0000 (10:11 +0000)]
Revert "Revert "Remove interpreter entrypoint in ArtMethod.""

The start of the interned strings in the image was not aligned
properly, now that ArtMethods just need to be word aligned.

This reverts commit 7070ccd8b6439477eafeea7ed3736645d78e003f.

bug:22242193

Change-Id: I580c23310c33c239fe0e5d15c72f23a936f58ed1

9 years agoUse the object class as top in reference type propagation
Calin Juravle [Wed, 1 Jul 2015 17:41:04 +0000 (18:41 +0100)]
Use the object class as top in reference type propagation

This properly types all instructions, making it safe to query the type
at any time.

Change-Id: I3ee2f0f79253cdf45b10ddab37ecb473345ca53a

9 years agoam ba34973f: am a4e43032: Merge "Accept 0xFFFFFFFF as dex debug info offset."
David Srbecky [Wed, 8 Jul 2015 11:52:09 +0000 (11:52 +0000)]
am ba34973f: am a4e43032: Merge "Accept 0xFFFFFFFF as dex debug info offset."

* commit 'ba34973fdf65427d5eb6f6c5953c062dda8199f3':
  Accept 0xFFFFFFFF as dex debug info offset.

9 years agoam a4e43032: Merge "Accept 0xFFFFFFFF as dex debug info offset."
David Srbecky [Wed, 8 Jul 2015 11:21:45 +0000 (11:21 +0000)]
am a4e43032: Merge "Accept 0xFFFFFFFF as dex debug info offset."

* commit 'a4e4303253a31aa2a03d25c48a6228d30286d579':
  Accept 0xFFFFFFFF as dex debug info offset.

9 years agoMerge "Accept 0xFFFFFFFF as dex debug info offset."
David Srbecky [Wed, 8 Jul 2015 11:08:32 +0000 (11:08 +0000)]
Merge "Accept 0xFFFFFFFF as dex debug info offset."

9 years agoam 3fc926d5: am 3e18a895: Merge "Fuse long and FP compare & condition on x86/x86...
Roland Levillain [Wed, 8 Jul 2015 11:05:13 +0000 (11:05 +0000)]
am 3fc926d5: am 3e18a895: Merge "Fuse long and FP compare & condition on x86/x86-64 in Optimizing."

* commit '3fc926d5ddcb3e84c87b6aabfbd9ea8ce14d5e7b':
  Fuse long and FP compare & condition on x86/x86-64 in Optimizing.

9 years agoam 3e18a895: Merge "Fuse long and FP compare & condition on x86/x86-64 in Optimizing."
Roland Levillain [Wed, 8 Jul 2015 10:48:52 +0000 (10:48 +0000)]
am 3e18a895: Merge "Fuse long and FP compare & condition on x86/x86-64 in Optimizing."

* commit '3e18a8958d2caa4980c4cee4e537313a61adf3d8':
  Fuse long and FP compare & condition on x86/x86-64 in Optimizing.

9 years agoMerge "Fuse long and FP compare & condition on x86/x86-64 in Optimizing."
Roland Levillain [Wed, 8 Jul 2015 10:36:47 +0000 (10:36 +0000)]
Merge "Fuse long and FP compare & condition on x86/x86-64 in Optimizing."

9 years agoam 13d2e68d: am 569e81e5: Merge "Revert "Remove interpreter entrypoint in ArtMethod.""
Nicolas Geoffray [Wed, 8 Jul 2015 10:10:24 +0000 (10:10 +0000)]
am 13d2e68d: am 569e81e5: Merge "Revert "Remove interpreter entrypoint in ArtMethod.""

* commit '13d2e68d8e4df8965ab8b5edf4a85ef056178d89':
  Revert "Remove interpreter entrypoint in ArtMethod."

9 years agoam ea1f6cc4: am d5bd4fdd: Merge "Remove interpreter entrypoint in ArtMethod."
Nicolas Geoffray [Wed, 8 Jul 2015 10:10:23 +0000 (10:10 +0000)]
am ea1f6cc4: am d5bd4fdd: Merge "Remove interpreter entrypoint in ArtMethod."

* commit 'ea1f6cc40fcb1e16daec5e0ae4cd0a2fd2998ad4':
  Remove interpreter entrypoint in ArtMethod.

9 years agoam 569e81e5: Merge "Revert "Remove interpreter entrypoint in ArtMethod.""
Nicolas Geoffray [Wed, 8 Jul 2015 09:56:32 +0000 (09:56 +0000)]
am 569e81e5: Merge "Revert "Remove interpreter entrypoint in ArtMethod.""

* commit '569e81e500725f52116b7d0342ec80a6d1e0089b':
  Revert "Remove interpreter entrypoint in ArtMethod."

9 years agoam d5bd4fdd: Merge "Remove interpreter entrypoint in ArtMethod."
Nicolas Geoffray [Wed, 8 Jul 2015 09:56:31 +0000 (09:56 +0000)]
am d5bd4fdd: Merge "Remove interpreter entrypoint in ArtMethod."

* commit 'd5bd4fdd46dce3c33abf17376fbceadcc1aff547':
  Remove interpreter entrypoint in ArtMethod.

9 years agoMerge "Revert "Remove interpreter entrypoint in ArtMethod.""
Nicolas Geoffray [Wed, 8 Jul 2015 09:42:05 +0000 (09:42 +0000)]
Merge "Revert "Remove interpreter entrypoint in ArtMethod.""

9 years agoRevert "Remove interpreter entrypoint in ArtMethod."
Nicolas Geoffray [Wed, 8 Jul 2015 09:41:54 +0000 (09:41 +0000)]
Revert "Remove interpreter entrypoint in ArtMethod."

Build failures on bots. Investigating.

This reverts commit fa2c054b28d4b540c1b3651401a7a091282a015f.

Change-Id: Id65b2009aa66cb291fb8c39758a58e0b0d22616c

9 years agoMerge "Remove interpreter entrypoint in ArtMethod."
Nicolas Geoffray [Wed, 8 Jul 2015 08:56:49 +0000 (08:56 +0000)]
Merge "Remove interpreter entrypoint in ArtMethod."