OSDN Git Service

android-x86/art.git
10 years agoam 40462bcc: Merge "force dex2oat target executables to be compiled for 32-bit"
Colin Cross [Wed, 2 Apr 2014 20:24:38 +0000 (20:24 +0000)]
am 40462bcc: Merge "force dex2oat target executables to be compiled for 32-bit"

* commit '40462bcc8b8fbe8a4981a0fb209e10898a118e2c':
  force dex2oat target executables to be compiled for 32-bit

10 years agoam c6829abc: Merge "Add r4 as promotable register if implicit suspend checks"
Dave Allison [Wed, 2 Apr 2014 20:24:36 +0000 (20:24 +0000)]
am c6829abc: Merge "Add r4 as promotable register if implicit suspend checks"

* commit 'c6829abc118255ed37cdddb643e5276f2e9ff9bd':
  Add r4 as promotable register if implicit suspend checks

10 years agoMerge "force dex2oat target executables to be compiled for 32-bit"
Colin Cross [Wed, 2 Apr 2014 20:15:25 +0000 (20:15 +0000)]
Merge "force dex2oat target executables to be compiled for 32-bit"

10 years agoMerge "Add r4 as promotable register if implicit suspend checks"
Dave Allison [Wed, 2 Apr 2014 20:14:58 +0000 (20:14 +0000)]
Merge "Add r4 as promotable register if implicit suspend checks"

10 years agoAdd r4 as promotable register if implicit suspend checks
Dave Allison [Wed, 2 Apr 2014 00:45:18 +0000 (17:45 -0700)]
Add r4 as promotable register if implicit suspend checks

If we are doing implicit suspend checks we should be able
to use r4 as a target for promotion.

Also bump OAT version

Change-Id: Ia27d14ece3b3259dbb74bcf89feaa9da2cda6db8

10 years agoforce dex2oat target executables to be compiled for 32-bit
Colin Cross [Thu, 20 Mar 2014 19:55:13 +0000 (12:55 -0700)]
force dex2oat target executables to be compiled for 32-bit

64-bit dex2oat doesn't support 32-bit targets yet, force dex2oat
target executables to compile 32-bit for now by passing in a
value for LOCAL_MULTILIB to build-art-executable.

Bug: 13764385
Change-Id: I41adba1e64f373e4b61a3c13af2592ed4f7d0b57

10 years agoam 0807e7bb: Merge "Avoid debug check violation in thread registration."
Ian Rogers [Wed, 2 Apr 2014 15:59:50 +0000 (15:59 +0000)]
am 0807e7bb: Merge "Avoid debug check violation in thread registration."

* commit '0807e7bbbafc4b4e8e7fb1d2d54fbcb011c05c82':
  Avoid debug check violation in thread registration.

10 years agoMerge "Avoid debug check violation in thread registration."
Ian Rogers [Wed, 2 Apr 2014 15:49:42 +0000 (15:49 +0000)]
Merge "Avoid debug check violation in thread registration."

10 years agoAvoid debug check violation in thread registration.
Ian Rogers [Wed, 2 Apr 2014 15:34:36 +0000 (08:34 -0700)]
Avoid debug check violation in thread registration.

Bug: 13757855
Change-Id: Ied83a7fc43e2b9a89a8b99aa4f74069ef8a369b1

10 years agoam 161f71ab: Merge "Fixed total method count in profile file parsing."
Calin Juravle [Wed, 2 Apr 2014 15:24:59 +0000 (15:24 +0000)]
am 161f71ab: Merge "Fixed total method count in profile file parsing."

* commit '161f71ab4449047157ad3d967a3ed4f7c6e17249':
  Fixed total method count in profile file parsing.

10 years agoMerge "Fixed total method count in profile file parsing."
Calin Juravle [Wed, 2 Apr 2014 15:17:21 +0000 (15:17 +0000)]
Merge "Fixed total method count in profile file parsing."

10 years agoFixed total method count in profile file parsing.
Calin Juravle [Wed, 2 Apr 2014 14:41:43 +0000 (15:41 +0100)]
Fixed total method count in profile file parsing.

Change-Id: Iae38b3ca296378d17f054ac330301035ec684084

10 years agoam 77384601: Merge "Include <sys/resource.h> for rlimit."
Narayan Kamath [Wed, 2 Apr 2014 11:26:36 +0000 (11:26 +0000)]
am 77384601: Merge "Include <sys/resource.h> for rlimit."

* commit '77384601e096660ed8725b3a5bcc2327d34c1b21':
  Include <sys/resource.h> for rlimit.

10 years agoMerge "Include <sys/resource.h> for rlimit."
Narayan Kamath [Wed, 2 Apr 2014 11:15:38 +0000 (11:15 +0000)]
Merge "Include <sys/resource.h> for rlimit."

10 years agoInclude <sys/resource.h> for rlimit.
Narayan Kamath [Wed, 2 Apr 2014 11:06:02 +0000 (12:06 +0100)]
Include <sys/resource.h> for rlimit.

Change-Id: I0e487f8191e284052d8b82eb942d723147d780a1

10 years agoam 2dc2bf9a: Merge "Update missed DEX2OAT -> DEX2OATD changes."
Nicolas Geoffray [Wed, 2 Apr 2014 10:41:20 +0000 (10:41 +0000)]
am 2dc2bf9a: Merge "Update missed DEX2OAT -> DEX2OATD changes."

* commit '2dc2bf9ad867dfc71bf209dead1315615659e8f9':
  Update missed DEX2OAT -> DEX2OATD changes.

10 years agoam 8e157dc9: Merge "Move most zygote related code to frameworks/base."
Narayan Kamath [Wed, 2 Apr 2014 10:41:19 +0000 (10:41 +0000)]
am 8e157dc9: Merge "Move most zygote related code to frameworks/base."

* commit '8e157dc9e2938aa7eeadaf4ea34e8d3e727136bc':
  Move most zygote related code to frameworks/base.

10 years agoMerge "Update missed DEX2OAT -> DEX2OATD changes."
Nicolas Geoffray [Wed, 2 Apr 2014 10:34:54 +0000 (10:34 +0000)]
Merge "Update missed DEX2OAT -> DEX2OATD changes."

10 years agoUpdate missed DEX2OAT -> DEX2OATD changes.
Nicolas Geoffray [Wed, 2 Apr 2014 10:33:28 +0000 (11:33 +0100)]
Update missed DEX2OAT -> DEX2OATD changes.

Change-Id: I9556ac9ce30fe057e8b278858303e25c547e86ba

10 years agoMerge "Move most zygote related code to frameworks/base."
Narayan Kamath [Wed, 2 Apr 2014 10:29:49 +0000 (10:29 +0000)]
Merge "Move most zygote related code to frameworks/base."

10 years agoam 5120686d: Merge "Use debug version of DEX2OAT explicitly."
Nicolas Geoffray [Wed, 2 Apr 2014 09:06:01 +0000 (09:06 +0000)]
am 5120686d: Merge "Use debug version of DEX2OAT explicitly."

* commit '5120686d956cdea3f4b662941f361e0867a4bbad':
  Use debug version of DEX2OAT explicitly.

10 years agoam a7f984a2: Merge "Fix ClassHelper::GetDirectInterface for proxy class"
Sebastien Hertz [Wed, 2 Apr 2014 09:01:39 +0000 (09:01 +0000)]
am a7f984a2: Merge "Fix ClassHelper::GetDirectInterface for proxy class"

* commit 'a7f984a23babaa0e4b1b9b6904d18edfcbaa654b':
  Fix ClassHelper::GetDirectInterface for proxy class

10 years agoam 1246d689: Merge "Cleanup transaction support"
Sebastien Hertz [Wed, 2 Apr 2014 09:01:36 +0000 (09:01 +0000)]
am 1246d689: Merge "Cleanup transaction support"

* commit '1246d689dc3150bbee6c5e5628747a94fba5081e':
  Cleanup transaction support

10 years agoMerge "Use debug version of DEX2OAT explicitly."
Nicolas Geoffray [Wed, 2 Apr 2014 08:53:01 +0000 (08:53 +0000)]
Merge "Use debug version of DEX2OAT explicitly."

10 years agoUse debug version of DEX2OAT explicitly.
Nicolas Geoffray [Wed, 26 Mar 2014 10:56:24 +0000 (10:56 +0000)]
Use debug version of DEX2OAT explicitly.

Change-Id: I57b4c8caedcc6bfbeaa541d8171f8b5b3069c584

10 years agoMerge "Fix ClassHelper::GetDirectInterface for proxy class"
Sebastien Hertz [Wed, 2 Apr 2014 07:48:31 +0000 (07:48 +0000)]
Merge "Fix ClassHelper::GetDirectInterface for proxy class"

10 years agoMerge "Cleanup transaction support"
Sebastien Hertz [Wed, 2 Apr 2014 07:45:51 +0000 (07:45 +0000)]
Merge "Cleanup transaction support"

10 years agoCleanup transaction support
Sebastien Hertz [Fri, 21 Feb 2014 14:46:30 +0000 (15:46 +0100)]
Cleanup transaction support

Updates Thread::CreateInternalStackTrace to support both transactional and
non-transactional modes using template.

Generalizes non-transactional mode for invariant fields (which are set only
once).

Removes ArrayLog::VisitRoots as we never create Array logs of ObjectArray. As
ObjectArray elements are set using Object::SetFieldObject, they are already
recorded in the object logs: the object is the array itself and the offset
corresponds to the element index in this array. And also checks we never log
ObjectArray in array logs.

Fixes location of thrown exception when calling native method during class
initialization.

Change-Id: Idbc368d3b8292b85ff40bc8a7c559e085477bf89

10 years agoam f689b93e: Merge "Use TEST_ART_RUN_TESTS consistently"
Brian Carlstrom [Wed, 2 Apr 2014 03:28:58 +0000 (03:28 +0000)]
am f689b93e: Merge "Use TEST_ART_RUN_TESTS consistently"

* commit 'f689b93e904e062d83a7ae7e8cacce0b52af3323':
  Use TEST_ART_RUN_TESTS consistently

10 years agoMerge "Use TEST_ART_RUN_TESTS consistently"
Brian Carlstrom [Wed, 2 Apr 2014 03:18:59 +0000 (03:18 +0000)]
Merge "Use TEST_ART_RUN_TESTS consistently"

10 years agoUse TEST_ART_RUN_TESTS consistently
Brian Carlstrom [Wed, 2 Apr 2014 01:09:33 +0000 (18:09 -0700)]
Use TEST_ART_RUN_TESTS consistently

Change-Id: I0242702886d53a39f2604e209a0763ff82278e1c

10 years agoam b74a8625: Merge "Add GenBarrier() calls to terminate all IT blocks."
Dave Allison [Tue, 1 Apr 2014 23:56:22 +0000 (23:56 +0000)]
am b74a8625: Merge "Add GenBarrier() calls to terminate all IT blocks."

* commit 'b74a8625b6194fe86769416c70497e74a73a740d':
  Add GenBarrier() calls to terminate all IT blocks.

10 years agoMerge "Add GenBarrier() calls to terminate all IT blocks."
Dave Allison [Tue, 1 Apr 2014 23:44:59 +0000 (23:44 +0000)]
Merge "Add GenBarrier() calls to terminate all IT blocks."

10 years agoAdd GenBarrier() calls to terminate all IT blocks.
Dave Allison [Tue, 1 Apr 2014 22:14:46 +0000 (15:14 -0700)]
Add GenBarrier() calls to terminate all IT blocks.

This is needed to prevent things like load hoisting from putting
instructions inside the IT block.

Bug: 13749123
Change-Id: I98a010453b163ac20a90f626144f798fc06e65a9

10 years agoam 52f5ecb1: Merge "Fix ThreadStress, unify ANR lock descriptions."
Ian Rogers [Tue, 1 Apr 2014 22:56:42 +0000 (22:56 +0000)]
am 52f5ecb1: Merge "Fix ThreadStress, unify ANR lock descriptions."

* commit '52f5ecb1714a17b72182fcdf88ae7f6d817855cc':
  Fix ThreadStress, unify ANR lock descriptions.

10 years agoam f5424f29: Merge "Fix Thread offsets for ARM64 assembly"
Andreas Gampe [Tue, 1 Apr 2014 22:56:41 +0000 (22:56 +0000)]
am f5424f29: Merge "Fix Thread offsets for ARM64 assembly"

* commit 'f5424f29709f40c2b3d98e2a5ed56c40187d368b':
  Fix Thread offsets for ARM64 assembly

10 years agoam 252f848f: Merge "Fix running with DlMalloc instead of RosAlloc."
Mathieu Chartier [Tue, 1 Apr 2014 22:47:41 +0000 (22:47 +0000)]
am 252f848f: Merge "Fix running with DlMalloc instead of RosAlloc."

* commit '252f848f68356551980701126481e0685bbded08':
  Fix running with DlMalloc instead of RosAlloc.

10 years agoMerge "Fix ThreadStress, unify ANR lock descriptions."
Ian Rogers [Tue, 1 Apr 2014 22:46:11 +0000 (22:46 +0000)]
Merge "Fix ThreadStress, unify ANR lock descriptions."

10 years agoMerge "Fix Thread offsets for ARM64 assembly"
Andreas Gampe [Tue, 1 Apr 2014 22:44:36 +0000 (22:44 +0000)]
Merge "Fix Thread offsets for ARM64 assembly"

10 years agoMerge "Fix running with DlMalloc instead of RosAlloc."
Mathieu Chartier [Tue, 1 Apr 2014 22:37:45 +0000 (22:37 +0000)]
Merge "Fix running with DlMalloc instead of RosAlloc."

10 years agoFix ThreadStress, unify ANR lock descriptions.
Ian Rogers [Tue, 1 Apr 2014 22:33:03 +0000 (15:33 -0700)]
Fix ThreadStress, unify ANR lock descriptions.

Bug: 13323656
Change-Id: I902825a847af9aa570ed79701409298e3532bebf

10 years agoFix running with DlMalloc instead of RosAlloc.
Mathieu Chartier [Tue, 1 Apr 2014 22:01:46 +0000 (15:01 -0700)]
Fix running with DlMalloc instead of RosAlloc.

Bug: 13748830
Bug: 13744490

Change-Id: Ieec97cf58ebf9864a40ee85aae582cdcf3f27c0c

10 years agoam b3d7eed9: Merge "Build changes to build multilib tests"
Andreas Gampe [Tue, 1 Apr 2014 21:22:53 +0000 (21:22 +0000)]
am b3d7eed9: Merge "Build changes to build multilib tests"

* commit 'b3d7eed9f760fa22e3a8e87ec2c8ff3fe50a1f50':
  Build changes to build multilib tests

10 years agoFix Thread offsets for ARM64 assembly
Andreas Gampe [Tue, 1 Apr 2014 21:18:21 +0000 (14:18 -0700)]
Fix Thread offsets for ARM64 assembly

Change-Id: I8d0516091b5a865f415e1446425203785e607f8a

10 years agoMerge "Build changes to build multilib tests"
Andreas Gampe [Tue, 1 Apr 2014 21:13:05 +0000 (21:13 +0000)]
Merge "Build changes to build multilib tests"

10 years agoam a1dbc55d: Merge "Quick compiler: add comment to Arm encoding"
buzbee [Tue, 1 Apr 2014 21:04:14 +0000 (21:04 +0000)]
am a1dbc55d: Merge "Quick compiler: add comment to Arm encoding"

* commit 'a1dbc55dcbeb0e91f1c3a68b94ee6d06d5d216f7':
  Quick compiler: add comment to Arm encoding

10 years agoBuild changes to build multilib tests
Andreas Gampe [Wed, 26 Mar 2014 01:09:32 +0000 (18:09 -0700)]
Build changes to build multilib tests

Test files will be emitted into directories for both first and second
target architectures. Going with the naming scheme for binaries,
single-architecture and 32b cases have the standard name, and
64b goes into a directory with "64" suffix.

In multi-architecture setups, the default concrete test targets are
extended with a "32" and "64" suffix, e.g., test-art-target-oat-JniTest64.
The suffix-less form is linked to the primary architecture target (usually 64).
That means running combined targets, e.g., test-art-target-oat, will only
test the primary architecture right now.

Fixed target run tests calling the right dalvikvm. Fixed library search
path for tests derived from CommonRuntimeTest.

Missing in this work-in-progress is correct handling of dex2oat for the
secondary architecture. To make it work on 64b, comment out line 101
in build/Android.executable.mk

Change-Id: I3d260994e6efe8b73b56c71994053cc9392943a9

10 years agoMerge "Quick compiler: add comment to Arm encoding"
buzbee [Tue, 1 Apr 2014 20:56:35 +0000 (20:56 +0000)]
Merge "Quick compiler: add comment to Arm encoding"

10 years agoQuick compiler: add comment to Arm encoding
buzbee [Tue, 1 Apr 2014 19:42:20 +0000 (12:42 -0700)]
Quick compiler: add comment to Arm encoding

A question from an AOSP contributer demonstrated the need for
explanation of a seemingly odd encoding for vldrd/vldrs.  In short,
we add a "def" bit for lr on those instructions to cover the cases
in which we have to materialize a new base pointer at assembly
time using lr as a temp register.

Change-Id: I22c5740218a90e0ff387c6aac2bd20cc98eece85

10 years agoam 8ce67ac1: Merge "Fix reflection access checks for app compatibility."
Jeff Hao [Tue, 1 Apr 2014 18:42:46 +0000 (18:42 +0000)]
am 8ce67ac1: Merge "Fix reflection access checks for app compatibility."

* commit '8ce67ac16abcd25b376be622cbd20a34aec4a59d':
  Fix reflection access checks for app compatibility.

10 years agoMerge "Fix reflection access checks for app compatibility."
Jeff Hao [Tue, 1 Apr 2014 18:33:31 +0000 (18:33 +0000)]
Merge "Fix reflection access checks for app compatibility."

10 years agoam d265a8ab: Merge "Quick compiler, MIPS resource cleanup"
buzbee [Tue, 1 Apr 2014 18:31:02 +0000 (18:31 +0000)]
am d265a8ab: Merge "Quick compiler, MIPS resource cleanup"

* commit 'd265a8ab12e1b783af42bf07a264edbb86826d2c':
  Quick compiler, MIPS resource cleanup

10 years agoFix reflection access checks for app compatibility.
Jeff Hao [Tue, 1 Apr 2014 18:21:30 +0000 (11:21 -0700)]
Fix reflection access checks for app compatibility.

Also updates field access test.

Bug: 13740995

Change-Id: I224712cfcb0c05429b831c26980cabad7bdef49a

10 years agoam 14f8807a: Merge "Revert "Fix access checks for app compatibility.""
Jeff Hao [Tue, 1 Apr 2014 18:24:06 +0000 (18:24 +0000)]
am 14f8807a: Merge "Revert "Fix access checks for app compatibility.""

* commit '14f8807ae14798e48cfe3d5ae6156a613a720dc0':
  Revert "Fix access checks for app compatibility."

10 years agoMerge "Quick compiler, MIPS resource cleanup"
buzbee [Tue, 1 Apr 2014 18:15:02 +0000 (18:15 +0000)]
Merge "Quick compiler, MIPS resource cleanup"

10 years agoam 1ad45ef9: Merge "Add handler for printing java stack traces for compiled code...
Mathieu Chartier [Tue, 1 Apr 2014 18:08:01 +0000 (18:08 +0000)]
am 1ad45ef9: Merge "Add handler for printing java stack traces for compiled code SIGSEGV."

* commit '1ad45ef91afc64174004485f88efd4b7cea516fc':
  Add handler for printing java stack traces for compiled code SIGSEGV.

10 years agoam 9c60d7d8: Merge "Fix access checks for app compatibility."
Jeff Hao [Tue, 1 Apr 2014 18:07:55 +0000 (18:07 +0000)]
am 9c60d7d8: Merge "Fix access checks for app compatibility."

* commit '9c60d7d8598d1d9df19970c20bf92ff3c3e38920':
  Fix access checks for app compatibility.

10 years agoam 79b1bf0b: Merge "Make the support code for read barriers a bit more general."
Hiroshi Yamauchi [Tue, 1 Apr 2014 18:07:54 +0000 (18:07 +0000)]
am 79b1bf0b: Merge "Make the support code for read barriers a bit more general."

* commit '79b1bf0ba1580cef94412ac3a62904ac89e6dfbc':
  Make the support code for read barriers a bit more general.

10 years agoam e0309ad3: Merge "Calling convention support for cross 64/32 compilation."
Ian Rogers [Tue, 1 Apr 2014 18:07:53 +0000 (18:07 +0000)]
am e0309ad3: Merge "Calling convention support for cross 64/32 compilation."

* commit 'e0309ad355e778fe692beb8968bf8aa7edbd3302':
  Calling convention support for cross 64/32 compilation.

10 years agoMerge "Revert "Fix access checks for app compatibility.""
Jeff Hao [Tue, 1 Apr 2014 18:04:42 +0000 (18:04 +0000)]
Merge "Revert "Fix access checks for app compatibility.""

10 years agoRevert "Fix access checks for app compatibility."
Jeff Hao [Tue, 1 Apr 2014 18:04:24 +0000 (18:04 +0000)]
Revert "Fix access checks for app compatibility."

This reverts commit b59b2c8dbdea2a6a3086378f2cf65adc9bc282cd.

Change-Id: I718658b8450a5ce6249df317b635f63356b1ce3c

10 years agoMerge "Add handler for printing java stack traces for compiled code SIGSEGV."
Mathieu Chartier [Tue, 1 Apr 2014 18:01:23 +0000 (18:01 +0000)]
Merge "Add handler for printing java stack traces for compiled code SIGSEGV."

10 years agoMerge "Fix access checks for app compatibility."
Jeff Hao [Tue, 1 Apr 2014 18:01:17 +0000 (18:01 +0000)]
Merge "Fix access checks for app compatibility."

10 years agoMerge "Make the support code for read barriers a bit more general."
Hiroshi Yamauchi [Tue, 1 Apr 2014 17:58:30 +0000 (17:58 +0000)]
Merge "Make the support code for read barriers a bit more general."

10 years agoFix access checks for app compatibility.
Jeff Hao [Tue, 1 Apr 2014 17:58:29 +0000 (10:58 -0700)]
Fix access checks for app compatibility.

Change-Id: I3191e5e92d30e9bee24051fd305296ddcf143e18

10 years agoAdd handler for printing java stack traces for compiled code SIGSEGV.
Mathieu Chartier [Sun, 30 Mar 2014 22:25:44 +0000 (15:25 -0700)]
Add handler for printing java stack traces for compiled code SIGSEGV.

Added a new FaultHandler which attempts to print a java stack trace
when a SIGSEGV occurse in generated code. This should help debugging
compiler and GC related heap corruption.

Bug: 13725693
Bug: 12934910

Change-Id: Id54d83ea180c222eb86d449c61926e83f0b026ad

10 years agoMerge "Calling convention support for cross 64/32 compilation."
Ian Rogers [Tue, 1 Apr 2014 17:57:01 +0000 (17:57 +0000)]
Merge "Calling convention support for cross 64/32 compilation."

10 years agoCalling convention support for cross 64/32 compilation.
Ian Rogers [Tue, 1 Apr 2014 17:36:00 +0000 (10:36 -0700)]
Calling convention support for cross 64/32 compilation.

Add REX support for x86-64 operands.

Change-Id: I093ae26fb8c111d54b8c72166f054984564c04c6

10 years agoam a1289ada: No longer restrict to -source 1.5 since it causes a warning with 1.7
Brian Carlstrom [Tue, 1 Apr 2014 16:45:49 +0000 (16:45 +0000)]
am a1289ada: No longer restrict to -source 1.5 since it causes a warning with 1.7

* commit 'a1289ada8138efaf638548b414a45437c2bbbdef':
  No longer restrict to -source 1.5 since it causes a warning with 1.7

10 years agoam 7ea687d8: Merge "Fix stack overflow slow path error."
Mathieu Chartier [Tue, 1 Apr 2014 16:44:26 +0000 (16:44 +0000)]
am 7ea687d8: Merge "Fix stack overflow slow path error."

* commit '7ea687d886be7b8c106b0e0190dab299d14adcad':
  Fix stack overflow slow path error.

10 years agoMerge "Fix stack overflow slow path error."
Mathieu Chartier [Tue, 1 Apr 2014 16:30:24 +0000 (16:30 +0000)]
Merge "Fix stack overflow slow path error."

10 years agoam 88e0463f: Merge "Revert "Revert "Optimize easy multiply and easy div remainder."""
Ian Rogers [Tue, 1 Apr 2014 15:46:34 +0000 (15:46 +0000)]
am 88e0463f: Merge "Revert "Revert "Optimize easy multiply and easy div remainder."""

* commit '88e0463fa7e8ea7b427b65a07cd7b28111575174':
  Revert "Revert "Optimize easy multiply and easy div remainder.""

10 years agoam e931e21c: Merge "Allow mixing of thread offsets between 32 and 64bit architectures."
Ian Rogers [Tue, 1 Apr 2014 15:46:28 +0000 (15:46 +0000)]
am e931e21c: Merge "Allow mixing of thread offsets between 32 and 64bit architectures."

* commit 'e931e21c485b514faed71c2a1b4a091f97f15827':
  Allow mixing of thread offsets between 32 and 64bit architectures.

10 years agoMove most zygote related code to frameworks/base.
Narayan Kamath [Mon, 31 Mar 2014 15:44:54 +0000 (16:44 +0100)]
Move most zygote related code to frameworks/base.

Avoids code duplication across art/dalvik. Also, most of
this code is not directly related to the runtime (mounting external
storage, multi user etc.) and therefore belongs in the frameworks.

Change-Id: Icf4723dd0ec4521ef6b1f785c99d50aebca7779a

10 years agoMerge "Revert "Revert "Optimize easy multiply and easy div remainder."""
Ian Rogers [Tue, 1 Apr 2014 15:38:25 +0000 (15:38 +0000)]
Merge "Revert "Revert "Optimize easy multiply and easy div remainder."""

10 years agoMerge "Allow mixing of thread offsets between 32 and 64bit architectures."
Ian Rogers [Tue, 1 Apr 2014 15:33:07 +0000 (15:33 +0000)]
Merge "Allow mixing of thread offsets between 32 and 64bit architectures."

10 years agoAllow mixing of thread offsets between 32 and 64bit architectures.
Ian Rogers [Sat, 15 Mar 2014 00:43:00 +0000 (17:43 -0700)]
Allow mixing of thread offsets between 32 and 64bit architectures.

Begin a more full implementation x86-64 REX prefixes.
Doesn't implement 64bit thread offset support for the JNI compiler.

Change-Id: If9af2f08a1833c21ddb4b4077f9b03add1a05147

10 years agoam 8464a64a: Merge "art: Make calling convention immune to SIRT structure change"
Andreas Gampe [Tue, 1 Apr 2014 15:08:36 +0000 (15:08 +0000)]
am 8464a64a: Merge "art: Make calling convention immune to SIRT structure change"

* commit '8464a64a50190c06e95015a932eda9511fa6473d':
  art: Make calling convention immune to SIRT structure change

10 years agoMerge "art: Make calling convention immune to SIRT structure change"
Andreas Gampe [Tue, 1 Apr 2014 14:57:22 +0000 (14:57 +0000)]
Merge "art: Make calling convention immune to SIRT structure change"

10 years agoam 382028d0: Merge "Fix instruction printing for filled-new-array"
Andreas Gampe [Tue, 1 Apr 2014 14:47:29 +0000 (14:47 +0000)]
am 382028d0: Merge "Fix instruction printing for filled-new-array"

* commit '382028d0c0dfeab66428759c0740921c404b8ed3':
  Fix instruction printing for filled-new-array

10 years agoam d0b86c7e: Merge "Use ResetDef to prevent from removing necessary stores for x86...
Bill Buzbee [Tue, 1 Apr 2014 14:47:29 +0000 (14:47 +0000)]
am d0b86c7e: Merge "Use ResetDef to prevent from removing necessary stores for x86 long-to-fp."

* commit 'd0b86c7ec593a552f726a15e532bb48170fbf487':
  Use ResetDef to prevent from removing necessary stores for x86 long-to-fp.

10 years agoMerge "Fix instruction printing for filled-new-array"
Andreas Gampe [Tue, 1 Apr 2014 14:39:24 +0000 (14:39 +0000)]
Merge "Fix instruction printing for filled-new-array"

10 years agoMerge "Use ResetDef to prevent from removing necessary stores for x86 long-to-fp."
Bill Buzbee [Tue, 1 Apr 2014 14:38:36 +0000 (14:38 +0000)]
Merge "Use ResetDef to prevent from removing necessary stores for x86 long-to-fp."

10 years agoFix ClassHelper::GetDirectInterface for proxy class
Sebastien Hertz [Tue, 1 Apr 2014 12:39:44 +0000 (14:39 +0200)]
Fix ClassHelper::GetDirectInterface for proxy class

Returns only the direct interfaces implemented by the proxy class. We collect
them from the "interfaces" field in the synthesized proxy class instead of
looking into the iftable.

Also updates proxy_test to reflect this change.

Bug: 13689930
Change-Id: I926e2ed30f9e65972d700a378671cec82dedaa7c

10 years agoam 70f9ebf7: Merge "Disable timing sensitive tests on dist builds."
Nicolas Geoffray [Tue, 1 Apr 2014 09:22:05 +0000 (09:22 +0000)]
am 70f9ebf7: Merge "Disable timing sensitive tests on dist builds."

* commit '70f9ebf7ca95f9d4ab4818849e4fa825b545e192':
  Disable timing sensitive tests on dist builds.

10 years agoam 6c90df9d: Merge "Return correct JDWP type tag for array class"
Sebastien Hertz [Tue, 1 Apr 2014 09:18:30 +0000 (09:18 +0000)]
am 6c90df9d: Merge "Return correct JDWP type tag for array class"

* commit '6c90df9d49b29bddc1e3d27ff2698ae1df89d517':
  Return correct JDWP type tag for array class

10 years agoMerge "Disable timing sensitive tests on dist builds."
Nicolas Geoffray [Tue, 1 Apr 2014 09:14:51 +0000 (09:14 +0000)]
Merge "Disable timing sensitive tests on dist builds."

10 years agoam e18b0273: Merge "Art script: Use PWD for android-data and cleanup after running."
Nicolas Geoffray [Tue, 1 Apr 2014 09:08:07 +0000 (09:08 +0000)]
am e18b0273: Merge "Art script: Use PWD for android-data and cleanup after running."

* commit 'e18b027344e521e1b374d967948c7dd55cc02c8a':
  Art script: Use PWD for android-data and cleanup after running.

10 years agoam 9f3139c0: Merge "Add -lpthread -ldl to link executable/tests"
Andrew Hsieh [Tue, 1 Apr 2014 09:08:06 +0000 (09:08 +0000)]
am 9f3139c0: Merge "Add -lpthread -ldl to link executable/tests"

* commit '9f3139c0da1006d27c30f2f8f614f653faf14c5f':
  Add -lpthread -ldl to link executable/tests

10 years agoMerge "Return correct JDWP type tag for array class"
Sebastien Hertz [Tue, 1 Apr 2014 09:07:49 +0000 (09:07 +0000)]
Merge "Return correct JDWP type tag for array class"

10 years agoMerge "Art script: Use PWD for android-data and cleanup after running."
Nicolas Geoffray [Tue, 1 Apr 2014 08:28:39 +0000 (08:28 +0000)]
Merge "Art script: Use PWD for android-data and cleanup after running."

10 years agoMerge "Add -lpthread -ldl to link executable/tests"
Andrew Hsieh [Tue, 1 Apr 2014 08:23:38 +0000 (08:23 +0000)]
Merge "Add -lpthread -ldl to link executable/tests"

10 years agoDisable timing sensitive tests on dist builds.
Brian Carlstrom [Mon, 31 Mar 2014 21:00:52 +0000 (14:00 -0700)]
Disable timing sensitive tests on dist builds.

Change-Id: I94ebeb5009fac7026bd157a12bdf39e392665a3a

10 years agoAdd -lpthread -ldl to link executable/tests
Andrew Hsieh [Tue, 1 Apr 2014 03:52:01 +0000 (11:52 +0800)]
Add -lpthread -ldl to link executable/tests

The new binutils-2.23 based linker in
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6
no longer implicity adds dependencies on *so an executable needs.
eg.

  ld -o barrier_test barrier_test.o common_runtime_test.o ... -lartd

produces error messages read

  art/runtime/thread-inl.h:43: error: undefined reference to 'pthread_getspecific'
  art/runtime/common_runtime_test.h:219: error: undefined reference to 'dlsym'
  external/gtest/src/../include/gtest/internal/gtest-port.h:1482: error: undefined reference to 'pthread_getspecific'

because libartd.so DT_NEEDED libdl.so and libpthread.so, and new linker no longer
implicitly add both to dependencies.  Explicitly add -lpthread -ldl to fix the issue

Change-Id: Ic29c68480b2ed55d282be949640b9158411f213d

10 years agoart: Make calling convention immune to SIRT structure change
Dmitry Petrochenko [Mon, 31 Mar 2014 02:12:31 +0000 (09:12 +0700)]
art: Make calling convention immune to SIRT structure change

Introduce stack_indirect_reference_table::referencesOffset and
rely on it in calling convention to avoid issues if SIRT structure
change.

Change-Id: Icc0c5c5b1313173df2ee519ab8934183074fdfb6
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam 81ed34e6: Merge "Implement implicit stack overflow checks"
Dave Allison [Tue, 1 Apr 2014 01:17:07 +0000 (01:17 +0000)]
am 81ed34e6: Merge "Implement implicit stack overflow checks"

* commit '81ed34e686532cebc1e17a273110decf0dd24e81':
  Implement implicit stack overflow checks

10 years agoFix instruction printing for filled-new-array
Andreas Gampe [Tue, 1 Apr 2014 01:10:53 +0000 (18:10 -0700)]
Fix instruction printing for filled-new-array

Only print the registers that are actually used. The rest is
garbage.

Change-Id: Ic9f03a51f81b95f7c70cf3e19122c8980003ae36

10 years agoMerge "Implement implicit stack overflow checks"
Dave Allison [Tue, 1 Apr 2014 01:07:45 +0000 (01:07 +0000)]
Merge "Implement implicit stack overflow checks"

10 years agoImplement implicit stack overflow checks
Dave Allison [Thu, 27 Mar 2014 22:10:22 +0000 (15:10 -0700)]
Implement implicit stack overflow checks

This also fixes some failing run tests due to missing
null pointer markers.

The implementation of the implicit stack overflow checks introduces
the ability to have a gap in the stack that is skipped during
stack walk backs.  This gap is protected against read/write and
is used to trigger a SIGSEGV at function entry if the stack
will overflow.

Change-Id: I0c3e214c8b87dc250cf886472c6d327b5d58653e

10 years agoMake the support code for read barriers a bit more general.
Hiroshi Yamauchi [Mon, 31 Mar 2014 22:14:47 +0000 (15:14 -0700)]
Make the support code for read barriers a bit more general.

Add an option for Baker in addition to Brooks.

Bug: 12687968
Change-Id: I8a31db817ff6686c72951b6534f588228e270b11