OSDN Git Service

android-x86/art.git
8 years agoMerge "Always use pendingNext to test enqueability of references." am: a89d6d630b
Richard Uhler [Tue, 2 Feb 2016 20:28:44 +0000 (20:28 +0000)]
Merge "Always use pendingNext to test enqueability of references." am: a89d6d630b
am: b2d08919fa

* commit 'b2d08919fa97f7b2e367b4ff13d91e7dbf932373':
  Always use pendingNext to test enqueability of references.

8 years agoMerge "Always use pendingNext to test enqueability of references."
Richard Uhler [Tue, 2 Feb 2016 20:26:47 +0000 (20:26 +0000)]
Merge "Always use pendingNext to test enqueability of references."
am: a89d6d630b

* commit 'a89d6d630b6fdb591d3dce536f8bca35deae307e':
  Always use pendingNext to test enqueability of references.

8 years agoMerge "Always use pendingNext to test enqueability of references."
Richard Uhler [Tue, 2 Feb 2016 20:22:47 +0000 (20:22 +0000)]
Merge "Always use pendingNext to test enqueability of references."

8 years agoMerge "ART: Clean up strings fixup for app images." am: 1ef02af31d
Vladimir Marko [Tue, 2 Feb 2016 19:16:55 +0000 (19:16 +0000)]
Merge "ART: Clean up strings fixup for app images." am: 1ef02af31d
am: ab41cc5324

* commit 'ab41cc5324735df0da020119a540380bb4ab3c74':
  ART: Clean up strings fixup for app images.

8 years agoMerge "ART: Clean up strings fixup for app images."
Vladimir Marko [Tue, 2 Feb 2016 19:13:58 +0000 (19:13 +0000)]
Merge "ART: Clean up strings fixup for app images."
am: 1ef02af31d

* commit '1ef02af31d5936a59ddeb762cb3cf767b599787a':
  ART: Clean up strings fixup for app images.

8 years agoMerge "MIPS32: Fix codegen register dumps." am: 444af27ba8
Vladimir Marko [Tue, 2 Feb 2016 18:59:52 +0000 (18:59 +0000)]
Merge "MIPS32: Fix codegen register dumps." am: 444af27ba8
am: eb7bd4d45b

* commit 'eb7bd4d45baeb966f8e3a8368351d1fdbec931f6':
  MIPS32: Fix codegen register dumps.

8 years agoMerge "MIPS32: Fix codegen register dumps."
Vladimir Marko [Tue, 2 Feb 2016 18:56:37 +0000 (18:56 +0000)]
Merge "MIPS32: Fix codegen register dumps."
am: 444af27ba8

* commit '444af27ba8e76f37a33760a9c74ae5550b8ded13':
  MIPS32: Fix codegen register dumps.

8 years agoMerge "ART: Clean up strings fixup for app images."
Vladimir Marko [Tue, 2 Feb 2016 18:55:09 +0000 (18:55 +0000)]
Merge "ART: Clean up strings fixup for app images."

8 years agoMerge "MIPS32: Fix codegen register dumps."
Vladimir Marko [Tue, 2 Feb 2016 18:51:45 +0000 (18:51 +0000)]
Merge "MIPS32: Fix codegen register dumps."

8 years agoMIPS32: Fix codegen register dumps.
Vladimir Marko [Tue, 2 Feb 2016 18:14:52 +0000 (18:14 +0000)]
MIPS32: Fix codegen register dumps.

Dump raw registers instead of managed registers to be
in line with other architectures. This fixes a checker
failure in 510-checker-try-catch where we have previously
emitted a space that stopped the regexp search. However,
there still remains a runtime failure of the 510 test:
  Exception in thread "main" java.lang.Error:
    Method: "testCatchPhi_double",
    path: ExceptionalFlow1, expected: 3, actual: 0

Change-Id: Ib9ad2c60baf2e322ce1eb58b9dc39feb5ab6f148

8 years agoMerge "Revert "Revert "ART: Mterp for arm64""" am: f7b6a3e42b
Bill Buzbee [Tue, 2 Feb 2016 18:07:17 +0000 (18:07 +0000)]
Merge "Revert "Revert "ART: Mterp for arm64""" am: f7b6a3e42b
am: 2b8df9a0b9

* commit '2b8df9a0b96ddb4e5d7ff1eccc992ed92c86509f':
  Revert "Revert "ART: Mterp for arm64""

8 years agoMerge "Revert "Revert "ART: Mterp for arm64"""
Bill Buzbee [Tue, 2 Feb 2016 18:04:41 +0000 (18:04 +0000)]
Merge "Revert "Revert "ART: Mterp for arm64"""
am: f7b6a3e42b

* commit 'f7b6a3e42b81b2a7934737790c0d45c2cc7ca6bc':
  Revert "Revert "ART: Mterp for arm64""

8 years agoMerge "Revert "Revert "ART: Mterp for arm64"""
Bill Buzbee [Tue, 2 Feb 2016 18:00:33 +0000 (18:00 +0000)]
Merge "Revert "Revert "ART: Mterp for arm64"""

8 years agoRevert "Revert "ART: Mterp for arm64""
Bill Buzbee [Tue, 2 Feb 2016 13:45:36 +0000 (13:45 +0000)]
Revert "Revert "ART: Mterp for arm64""

Looks like some of our assemblers disagree on valid arm64 assembly syntax
Force use of clang for art runtime.  In a subsequent CL, will use form
that both gcc and clang accept.

This reverts commit 43f3fb960bce978df699c8a68a972be2a0d0d221.

Change-Id: Ice83072171ab502c43d492e2238b446c4814ea67

8 years agoMerge "Add MIPS floating point register mapping to DWARF." am: 5f16494aca
David Srbecky [Tue, 2 Feb 2016 17:46:05 +0000 (17:46 +0000)]
Merge "Add MIPS floating point register mapping to DWARF." am: 5f16494aca
am: 87b7fa1daa

* commit '87b7fa1daaeab941d5ee5e02a38fb2392bb7754c':
  Add MIPS floating point register mapping to DWARF.

8 years agoMerge "Add MIPS floating point register mapping to DWARF."
David Srbecky [Tue, 2 Feb 2016 17:43:21 +0000 (17:43 +0000)]
Merge "Add MIPS floating point register mapping to DWARF."
am: 5f16494aca

* commit '5f16494acae0c96c9e1034152d4aef9022cde94e':
  Add MIPS floating point register mapping to DWARF.

8 years agoMerge "Add MIPS floating point register mapping to DWARF."
David Srbecky [Tue, 2 Feb 2016 17:35:19 +0000 (17:35 +0000)]
Merge "Add MIPS floating point register mapping to DWARF."

8 years agoAdd MIPS floating point register mapping to DWARF.
David Srbecky [Mon, 1 Feb 2016 18:15:29 +0000 (18:15 +0000)]
Add MIPS floating point register mapping to DWARF.

Change-Id: I88508461412bc166549843744a3c6a4ee925b2c7

8 years agoART: Clean up strings fixup for app images.
Vladimir Marko [Tue, 2 Feb 2016 14:43:28 +0000 (14:43 +0000)]
ART: Clean up strings fixup for app images.

This is a follow-up to
    https://android-review.googlesource.com/199854 .

Bug: 26846419
Bug: 22858531
Change-Id: Ib2b2c299c51686afb7f297697125296705ed77b8

8 years agoMerge "Optimizing: Re-enable checker tests disabled for multi-image." am: 85fdcda926
Vladimir Marko [Tue, 2 Feb 2016 15:36:11 +0000 (15:36 +0000)]
Merge "Optimizing: Re-enable checker tests disabled for multi-image." am: 85fdcda926
am: ea37cf3632

* commit 'ea37cf3632c29525848824feb72149fec54bc82d':
  Optimizing: Re-enable checker tests disabled for multi-image.

8 years agoMerge "Optimizing: Re-enable checker tests disabled for multi-image."
Vladimir Marko [Tue, 2 Feb 2016 15:33:54 +0000 (15:33 +0000)]
Merge "Optimizing: Re-enable checker tests disabled for multi-image."
am: 85fdcda926

* commit '85fdcda926fbab0e5a7b3e8b3541f5d225b2bcdb':
  Optimizing: Re-enable checker tests disabled for multi-image.

8 years agoMerge "Optimizing: Re-enable checker tests disabled for multi-image."
Vladimir Marko [Tue, 2 Feb 2016 15:29:43 +0000 (15:29 +0000)]
Merge "Optimizing: Re-enable checker tests disabled for multi-image."

8 years agoOptimizing: Re-enable checker tests disabled for multi-image.
Vladimir Marko [Tue, 2 Feb 2016 15:21:28 +0000 (15:21 +0000)]
Optimizing: Re-enable checker tests disabled for multi-image.

The pattern substituion we now do instead of inlining
is enough for these tests to work again.

Bug: 26317072
Change-Id: I0d501874b1be31884e9efc4f5d32fa893394c9ec

8 years agoMerge "Avoid re-declarations of base classes in DWARF." am: 85aa2567c3
David Srbecky [Tue, 2 Feb 2016 15:17:11 +0000 (15:17 +0000)]
Merge "Avoid re-declarations of base classes in DWARF." am: 85aa2567c3
am: 228a033b0c

* commit '228a033b0c3916006bbd9f5ea07e2b6f3da8246d':
  Avoid re-declarations of base classes in DWARF.

8 years agoMerge "Use more compact encoding for DWARF flags." am: 4e09bcb7bd
David Srbecky [Tue, 2 Feb 2016 15:16:58 +0000 (15:16 +0000)]
Merge "Use more compact encoding for DWARF flags." am: 4e09bcb7bd
am: c240b7b873

* commit 'c240b7b8739a1414330b0bc59783d3db1fe5d7a5':
  Use more compact encoding for DWARF flags.

8 years agoMerge "Optimize DWARF namespace encoding." am: 18e94ee5f7
David Srbecky [Tue, 2 Feb 2016 15:16:45 +0000 (15:16 +0000)]
Merge "Optimize DWARF namespace encoding." am: 18e94ee5f7
am: dc0aa5da50

* commit 'dc0aa5da508e084af2859f31fba56fd1ab2e7a5d':
  Optimize DWARF namespace encoding.

8 years agoMerge "Avoid re-declarations of base classes in DWARF."
David Srbecky [Tue, 2 Feb 2016 15:15:27 +0000 (15:15 +0000)]
Merge "Avoid re-declarations of base classes in DWARF."
am: 85aa2567c3

* commit '85aa2567c3c05eae82460c73c64d06606db5743e':
  Avoid re-declarations of base classes in DWARF.

8 years agoMerge "Use more compact encoding for DWARF flags."
David Srbecky [Tue, 2 Feb 2016 15:14:58 +0000 (15:14 +0000)]
Merge "Use more compact encoding for DWARF flags."
am: 4e09bcb7bd

* commit '4e09bcb7bdb295a86225a4a632436c514d422d24':
  Use more compact encoding for DWARF flags.

8 years agoMerge "Optimize DWARF namespace encoding."
David Srbecky [Tue, 2 Feb 2016 15:14:51 +0000 (15:14 +0000)]
Merge "Optimize DWARF namespace encoding."
am: 18e94ee5f7

* commit '18e94ee5f73460e7a35b219e692c897a00e6ab86':
  Optimize DWARF namespace encoding.

8 years agoMerge "Avoid re-declarations of base classes in DWARF."
David Srbecky [Tue, 2 Feb 2016 15:11:54 +0000 (15:11 +0000)]
Merge "Avoid re-declarations of base classes in DWARF."

8 years agoMerge "Use more compact encoding for DWARF flags."
David Srbecky [Tue, 2 Feb 2016 15:11:26 +0000 (15:11 +0000)]
Merge "Use more compact encoding for DWARF flags."

8 years agoMerge "Optimize DWARF namespace encoding."
David Srbecky [Tue, 2 Feb 2016 15:10:55 +0000 (15:10 +0000)]
Merge "Optimize DWARF namespace encoding."

8 years agoMerge "Optimizing: Do not depend on sharpening in test 449." am: c2dd1761b9
Vladimir Marko [Tue, 2 Feb 2016 15:10:47 +0000 (15:10 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 449." am: c2dd1761b9
am: 5bfee98b9a

* commit '5bfee98b9a108ff649d24010410eae1bd6c7ec05':
  Optimizing: Do not depend on sharpening in test 449.

8 years agoMerge "Optimizing: Do not depend on sharpening in test 449."
Vladimir Marko [Tue, 2 Feb 2016 15:08:49 +0000 (15:08 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 449."
am: c2dd1761b9

* commit 'c2dd1761b9c7f415f0b38078403ecbe8bf961434':
  Optimizing: Do not depend on sharpening in test 449.

8 years agoMerge "Optimizing: Do not depend on sharpening in test 449."
Vladimir Marko [Tue, 2 Feb 2016 15:04:57 +0000 (15:04 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 449."

8 years agoMerge "ART: Add test case for Select implementations" am: 5b38b35dd8
David Brazdil [Tue, 2 Feb 2016 14:56:26 +0000 (14:56 +0000)]
Merge "ART: Add test case for Select implementations" am: 5b38b35dd8
am: 0d65a3ceb8

* commit '0d65a3ceb85b6bfab09ebd79b98606e569228d9d':
  ART: Add test case for Select implementations

8 years agoOptimizing: Do not depend on sharpening in test 449.
Vladimir Marko [Tue, 2 Feb 2016 14:53:47 +0000 (14:53 +0000)]
Optimizing: Do not depend on sharpening in test 449.

The sharpening may or may not remove the ArtMethod*
parameter, so the test must not depend on its absence.
This fixes the test 449 checker test on mips/mips64.

Change-Id: I0c9e7353234365c97b622c7c84708be3dcbbe4ff

8 years agoMerge "ART: Add test case for Select implementations"
David Brazdil [Tue, 2 Feb 2016 14:54:17 +0000 (14:54 +0000)]
Merge "ART: Add test case for Select implementations"
am: 5b38b35dd8

* commit '5b38b35dd8519787dd801508c30309a2da8c8fa3':
  ART: Add test case for Select implementations

8 years agoMerge "ART: Add test case for Select implementations"
David Brazdil [Tue, 2 Feb 2016 14:50:08 +0000 (14:50 +0000)]
Merge "ART: Add test case for Select implementations"

8 years agoAvoid re-declarations of base classes in DWARF.
David Srbecky [Mon, 1 Feb 2016 14:53:48 +0000 (14:53 +0000)]
Avoid re-declarations of base classes in DWARF.

Declare each base class only once for sanity and to save space.
If the class also has definition, use it instead.

Change-Id: I07cca012d0db75980b1239f44c6cb4069c3f353e

8 years agoUse more compact encoding for DWARF flags.
David Srbecky [Fri, 29 Jan 2016 15:13:19 +0000 (15:13 +0000)]
Use more compact encoding for DWARF flags.

Use DW_FORM_flag_present when possible (new in DWARF4).
This avoids encoding the value in entries if it is always true.

Change-Id: Ib31908399b4d0fea7f7c175240aa9b0d6d473b5a

8 years agoOptimize DWARF namespace encoding.
David Srbecky [Fri, 29 Jan 2016 15:02:44 +0000 (15:02 +0000)]
Optimize DWARF namespace encoding.

Instead of encapsulating each class in its own set of namespace tags,
create hierarchy with multiple classes in the leaf namespaces.

Change-Id: I1fdb717d45e5ee3aa0c505c90a15b1670f45774f

8 years agoART: Add test case for Select implementations
David Brazdil [Tue, 2 Feb 2016 10:09:14 +0000 (10:09 +0000)]
ART: Add test case for Select implementations

Change-Id: I487f9cdde321d2bad8239464000ffa20c57c82de

8 years agoMerge "Remove unused DMB code paths in the ARM64 Optimizing Compiler" am: 5f16c05407
Roland Levillain [Tue, 2 Feb 2016 14:42:29 +0000 (14:42 +0000)]
Merge "Remove unused DMB code paths in the ARM64 Optimizing Compiler" am: 5f16c05407
am: 779c9c7ed6

* commit '779c9c7ed6eed8a511bb07bffec0a87dc793e1d5':
  Remove unused DMB code paths in the ARM64 Optimizing Compiler

8 years agoMerge "Remove unused DMB code paths in the ARM64 Optimizing Compiler"
Roland Levillain [Tue, 2 Feb 2016 14:40:22 +0000 (14:40 +0000)]
Merge "Remove unused DMB code paths in the ARM64 Optimizing Compiler"
am: 5f16c05407

* commit '5f16c05407ed5f7f72fa761263fd5eac37de0077':
  Remove unused DMB code paths in the ARM64 Optimizing Compiler

8 years agoMerge "Remove unused DMB code paths in the ARM64 Optimizing Compiler"
Roland Levillain [Tue, 2 Feb 2016 14:36:58 +0000 (14:36 +0000)]
Merge "Remove unused DMB code paths in the ARM64 Optimizing Compiler"

8 years agoMerge "ARM64: Add direct calls to math intrinsics" am: b86f963ce9
Roland Levillain [Tue, 2 Feb 2016 13:01:16 +0000 (13:01 +0000)]
Merge "ARM64: Add direct calls to math intrinsics" am: b86f963ce9
am: 9acfccef54

* commit '9acfccef545db97537625eabf7d9c90756b1d928':
  ARM64: Add direct calls to math intrinsics

8 years agoMerge "ARM64: Add direct calls to math intrinsics"
Roland Levillain [Tue, 2 Feb 2016 12:59:13 +0000 (12:59 +0000)]
Merge "ARM64: Add direct calls to math intrinsics"
am: b86f963ce9

* commit 'b86f963ce95b25bfae892fa425ab02f2fb706f87':
  ARM64: Add direct calls to math intrinsics

8 years agoMerge "ARM64: Add direct calls to math intrinsics"
Roland Levillain [Tue, 2 Feb 2016 12:55:02 +0000 (12:55 +0000)]
Merge "ARM64: Add direct calls to math intrinsics"

8 years agoARM64: Add direct calls to math intrinsics
Anton Kirilov [Wed, 20 Jan 2016 16:48:19 +0000 (16:48 +0000)]
ARM64: Add direct calls to math intrinsics

This change mirrors the work that has already been done for x86 and
x86_64. The following functions are affected: cos, sin, acos, asin,
atan, atan2, cbrt, cosh, exp, expm1, hypot, log, log10, nextafter,
sinh, tan, tanh.

Change-Id: I0f381bd2c1c4273b243c045107110fed551c6124
Signed-off-by: Anton Kirilov <anton.kirilov@linaro.org>
8 years agoMerge "Optimizing: Do not depend on sharpening in test 569." am: 909147a304
Vladimir Marko [Tue, 2 Feb 2016 11:33:34 +0000 (11:33 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 569." am: 909147a304
am: 32c9a17fa0

* commit '32c9a17fa03f003fc567e7caccd96158e5315211':
  Optimizing: Do not depend on sharpening in test 569.

8 years agoMerge "Optimizing: Do not depend on sharpening in test 569."
Vladimir Marko [Tue, 2 Feb 2016 11:31:20 +0000 (11:31 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 569."
am: 909147a304

* commit '909147a304500737824de5e1feab135560881e86':
  Optimizing: Do not depend on sharpening in test 569.

8 years agoMerge "Optimizing: Do not depend on sharpening in test 569."
Vladimir Marko [Tue, 2 Feb 2016 11:26:15 +0000 (11:26 +0000)]
Merge "Optimizing: Do not depend on sharpening in test 569."

8 years agoOptimizing: Do not depend on sharpening in test 569.
Vladimir Marko [Tue, 2 Feb 2016 11:10:16 +0000 (11:10 +0000)]
Optimizing: Do not depend on sharpening in test 569.

The sharpening may or may not remove the ArtMethod*
parameter, so the test must not depend on its absence.
This fixes the test 569 checker test on mips/mips64.

Change-Id: Ibee88d3602778006558caf33cf69e7c419918699

8 years agoMerge "Revert "ART: Mterp for arm64"" am: f1e2b4dd92
Sebastien Hertz [Tue, 2 Feb 2016 10:57:29 +0000 (10:57 +0000)]
Merge "Revert "ART: Mterp for arm64"" am: f1e2b4dd92
am: a9270b9a34

* commit 'a9270b9a34e5069f518f16d2c8cea974defca9ab':
  Revert "ART: Mterp for arm64"

8 years agoMerge "Revert "ART: Mterp for arm64""
Sebastien Hertz [Tue, 2 Feb 2016 10:55:19 +0000 (10:55 +0000)]
Merge "Revert "ART: Mterp for arm64""
am: f1e2b4dd92

* commit 'f1e2b4dd9238d85d041f47b6bd853babe0a53c85':
  Revert "ART: Mterp for arm64"

8 years agoMerge "Revert "ART: Mterp for arm64""
Sebastien Hertz [Tue, 2 Feb 2016 10:50:30 +0000 (10:50 +0000)]
Merge "Revert "ART: Mterp for arm64""

8 years agoRevert "ART: Mterp for arm64"
Sebastien Hertz [Tue, 2 Feb 2016 10:48:49 +0000 (10:48 +0000)]
Revert "ART: Mterp for arm64"

This reverts commit e0c269e0a5f50b1a551ddba1205f6e5b4b5e6c98.

The CL is causing build breakages on arm64 targets.

Change-Id: I7402fe34869258ae870c57308b2062e50d801bdd

8 years agoMerge "MIPS64: Remove unaligned memory access from art generated code" am: a9e5521b2a
Vladimir Marko [Tue, 2 Feb 2016 10:45:57 +0000 (10:45 +0000)]
Merge "MIPS64: Remove unaligned memory access from art generated code" am: a9e5521b2a
am: f1177ec145

* commit 'f1177ec14540a1405471fc7092e8702e9f7c840f':
  MIPS64: Remove unaligned memory access from art generated code

8 years agoMerge "MIPS64: Remove unaligned memory access from art generated code"
Vladimir Marko [Tue, 2 Feb 2016 10:43:54 +0000 (10:43 +0000)]
Merge "MIPS64: Remove unaligned memory access from art generated code"
am: a9e5521b2a

* commit 'a9e5521b2ae04a64c5a90be6955fc154d4a5da4e':
  MIPS64: Remove unaligned memory access from art generated code

8 years agoMerge "MIPS64: Remove unaligned memory access from art generated code"
Vladimir Marko [Tue, 2 Feb 2016 10:39:20 +0000 (10:39 +0000)]
Merge "MIPS64: Remove unaligned memory access from art generated code"

8 years agoMerge "ART: Mterp for arm64" am: 7fac3532a8
Bill Buzbee [Tue, 2 Feb 2016 09:13:19 +0000 (09:13 +0000)]
Merge "ART: Mterp for arm64" am: 7fac3532a8
am: 2989fb5968

* commit '2989fb5968f5478e283e941e2f8c8d7ec230ab85':
  ART: Mterp for arm64

8 years agoMerge "Fix up dex cache strings stored in classes" am: 85db315a42
Mathieu Chartier [Tue, 2 Feb 2016 09:13:10 +0000 (09:13 +0000)]
Merge "Fix up dex cache strings stored in classes" am: 85db315a42
am: 5872a1c224

* commit '5872a1c2247433aeff4a89ca1de29dc81f031edd':
  Fix up dex cache strings stored in classes

8 years agoMerge "Add read barrier option to UpdateEntrypoints" am: 36fe0e8709
Mathieu Chartier [Tue, 2 Feb 2016 09:13:01 +0000 (09:13 +0000)]
Merge "Add read barrier option to UpdateEntrypoints" am: 36fe0e8709
am: d3e3679764

* commit 'd3e3679764d5f8d1afc8f5744d9577d193c5a1dc':
  Add read barrier option to UpdateEntrypoints

8 years agoMerge "ART: Mterp for arm64"
Bill Buzbee [Tue, 2 Feb 2016 04:44:18 +0000 (04:44 +0000)]
Merge "ART: Mterp for arm64"
am: 7fac3532a8

* commit '7fac3532a836920cf4d478d97b9d67b2bf2aed39':
  ART: Mterp for arm64

8 years agoMerge "ART: Mterp for arm64"
Bill Buzbee [Tue, 2 Feb 2016 04:40:47 +0000 (04:40 +0000)]
Merge "ART: Mterp for arm64"

8 years agoMerge "Fix up dex cache strings stored in classes"
Mathieu Chartier [Tue, 2 Feb 2016 04:11:54 +0000 (04:11 +0000)]
Merge "Fix up dex cache strings stored in classes"
am: 85db315a42

* commit '85db315a4245666be0d0dfafa46818b404a7b8b2':
  Fix up dex cache strings stored in classes

8 years agoMerge "Fix up dex cache strings stored in classes"
Mathieu Chartier [Tue, 2 Feb 2016 04:05:22 +0000 (04:05 +0000)]
Merge "Fix up dex cache strings stored in classes"

8 years agoFix up dex cache strings stored in classes
Mathieu Chartier [Mon, 1 Feb 2016 18:34:47 +0000 (10:34 -0800)]
Fix up dex cache strings stored in classes

Previously we left the image pointer instead of fixing up the pointer
to the one in the BSS. This only showed up because JIT does the same
as boot image, bypassing null check.

Fixed a bug where oat files without embedded dex cache arrays would
get their dex cache arrays corrupted.

Added a non virtual class visitor for performance.

Bug: 26846419
Bug: 22858531

Change-Id: I8cd0d61e440f753b4628ddb8c932eb23a0a81027

8 years agoMerge "Add read barrier option to UpdateEntrypoints"
Mathieu Chartier [Tue, 2 Feb 2016 02:12:32 +0000 (02:12 +0000)]
Merge "Add read barrier option to UpdateEntrypoints"
am: 36fe0e8709

* commit '36fe0e870901070703152e43346e88dc7ae45f0f':
  Add read barrier option to UpdateEntrypoints

8 years agoMerge "Add read barrier option to UpdateEntrypoints"
Mathieu Chartier [Tue, 2 Feb 2016 02:07:06 +0000 (02:07 +0000)]
Merge "Add read barrier option to UpdateEntrypoints"

8 years agoAdd read barrier option to UpdateEntrypoints
Mathieu Chartier [Tue, 2 Feb 2016 00:08:15 +0000 (16:08 -0800)]
Add read barrier option to UpdateEntrypoints

Also call this without read barrier for image relocation.

Bug: 26786304
Change-Id: Ia718c1491b54cadb7283c62afc1eb9031a15b4ef

8 years agoART: Mterp for arm64
buzbee [Wed, 27 Jan 2016 02:23:19 +0000 (18:23 -0800)]
ART: Mterp for arm64

Ready for review.  All opcodes handled.  All applicable run-tests pass.
Device boots to desktop in interpret-only mode.

Change-Id: I937d8bcf848a831e04d4b9de8d1914667a197d75

8 years agoMerge "Implemented signum() on ARM64." am: c3cf1d2e35
Aart Bik [Mon, 1 Feb 2016 18:38:45 +0000 (18:38 +0000)]
Merge "Implemented signum() on ARM64." am: c3cf1d2e35
am: d911390be7

* commit 'd911390be760b2e53bd47e6e9abf4c2d2280c4f0':
  Implemented signum() on ARM64.

8 years agoMerge "Implemented signum() on ARM64."
Aart Bik [Mon, 1 Feb 2016 18:36:46 +0000 (18:36 +0000)]
Merge "Implemented signum() on ARM64."
am: c3cf1d2e35

* commit 'c3cf1d2e35a45bd2e2c60fbc9c2a1a6a56dfc529':
  Implemented signum() on ARM64.

8 years agoMerge "Implemented signum() on ARM64."
Aart Bik [Mon, 1 Feb 2016 18:32:50 +0000 (18:32 +0000)]
Merge "Implemented signum() on ARM64."

8 years agoImplemented signum() on ARM64.
Aart Bik [Fri, 29 Jan 2016 20:54:04 +0000 (12:54 -0800)]
Implemented signum() on ARM64.

Change-Id: Ib805e62341f6c5e4fcc35c73d12e217fbae948ce

8 years agoMerge "ART: Fix test 117 after OatFileAssistant change" am: fda30a435d
David Brazdil [Mon, 1 Feb 2016 18:11:46 +0000 (18:11 +0000)]
Merge "ART: Fix test 117 after OatFileAssistant change" am: fda30a435d
am: ebfb119dee

* commit 'ebfb119deefd0783a2198ecddae321143260a42c':
  ART: Fix test 117 after OatFileAssistant change

8 years agoMerge "ART: Fix test 117 after OatFileAssistant change"
David Brazdil [Mon, 1 Feb 2016 18:09:20 +0000 (18:09 +0000)]
Merge "ART: Fix test 117 after OatFileAssistant change"
am: fda30a435d

* commit 'fda30a435d672988c3ec1805905b359a5e756bf3':
  ART: Fix test 117 after OatFileAssistant change

8 years agoMerge "ART: Fix test 117 after OatFileAssistant change"
David Brazdil [Mon, 1 Feb 2016 18:06:16 +0000 (18:06 +0000)]
Merge "ART: Fix test 117 after OatFileAssistant change"

8 years agoART: Fix test 117 after OatFileAssistant change
David Brazdil [Mon, 1 Feb 2016 18:00:06 +0000 (18:00 +0000)]
ART: Fix test 117 after OatFileAssistant change

Change-Id: I20fc37ab869cb025c7ac5b550f5349d2e17de112

8 years agoMerge "ART: Release DexFile in OatFileAssistant" am: 7375fa1b21
David Brazdil [Mon, 1 Feb 2016 16:56:53 +0000 (16:56 +0000)]
Merge "ART: Release DexFile in OatFileAssistant" am: 7375fa1b21
am: 76b4a6dd9a

* commit '76b4a6dd9afb0410e25e7d7d62dae748319f34cd':
  ART: Release DexFile in OatFileAssistant

8 years agoMerge "ART: Release DexFile in OatFileAssistant"
David Brazdil [Mon, 1 Feb 2016 16:54:30 +0000 (16:54 +0000)]
Merge "ART: Release DexFile in OatFileAssistant"
am: 7375fa1b21

* commit '7375fa1b2169a12de69e03679b67a6f04128d9e0':
  ART: Release DexFile in OatFileAssistant

8 years agoMerge "ART: Release DexFile in OatFileAssistant"
David Brazdil [Mon, 1 Feb 2016 16:50:36 +0000 (16:50 +0000)]
Merge "ART: Release DexFile in OatFileAssistant"

8 years agoART: Release DexFile in OatFileAssistant
David Brazdil [Mon, 1 Feb 2016 16:32:50 +0000 (16:32 +0000)]
ART: Release DexFile in OatFileAssistant

Change-Id: I4ff0041191d2fe7a33c2b55f163a33e92da62b6b

8 years agoMerge "Ensure instruction cache is flushed in compiler tests with Clang." am: d111cce1d2
Roland Levillain [Mon, 1 Feb 2016 15:54:45 +0000 (15:54 +0000)]
Merge "Ensure instruction cache is flushed in compiler tests with Clang." am: d111cce1d2
am: 9a3ae4e2a9

* commit '9a3ae4e2a9e62a0c8bc8393586f3e899a6ede587':
  Ensure instruction cache is flushed in compiler tests with Clang.

8 years agoMerge "Ensure instruction cache is flushed in compiler tests with Clang."
Roland Levillain [Mon, 1 Feb 2016 15:52:57 +0000 (15:52 +0000)]
Merge "Ensure instruction cache is flushed in compiler tests with Clang."
am: d111cce1d2

* commit 'd111cce1d266567d71be828c4213f3456dbdac2c':
  Ensure instruction cache is flushed in compiler tests with Clang.

8 years agoMerge "Ensure instruction cache is flushed in compiler tests with Clang."
Roland Levillain [Mon, 1 Feb 2016 15:48:42 +0000 (15:48 +0000)]
Merge "Ensure instruction cache is flushed in compiler tests with Clang."

8 years agoMerge "Ignore image checksum for ExtractOnly oat files" am: bceee26590
David Brazdil [Mon, 1 Feb 2016 15:34:41 +0000 (15:34 +0000)]
Merge "Ignore image checksum for ExtractOnly oat files" am: bceee26590
am: 455a4bfd50

* commit '455a4bfd506d4cd2c6956c78b07d485594114e04':
  Ignore image checksum for ExtractOnly oat files

8 years agoMerge "Ignore image checksum for ExtractOnly oat files"
David Brazdil [Mon, 1 Feb 2016 15:32:38 +0000 (15:32 +0000)]
Merge "Ignore image checksum for ExtractOnly oat files"
am: bceee26590

* commit 'bceee26590c8c757987689d2e1002c2f98f0ab33':
  Ignore image checksum for ExtractOnly oat files

8 years agoMerge "Ignore image checksum for ExtractOnly oat files"
David Brazdil [Mon, 1 Feb 2016 15:27:34 +0000 (15:27 +0000)]
Merge "Ignore image checksum for ExtractOnly oat files"

8 years agoEnsure instruction cache is flushed in compiler tests with Clang.
Roland Levillain [Mon, 1 Feb 2016 15:23:20 +0000 (15:23 +0000)]
Ensure instruction cache is flushed in compiler tests with Clang.

Invoke __builtin___clear_cache with Clang in
art::CommonCompilerTest::MakeExecutable.  This fixes
"Illegal instruction" failures in codegen_test on angler.

Factor this logic in a function and use it in
art::jit::JitCodeCache::CommitCodeInternal too.

Bug: 26786447
Change-Id: I81fa056c8d7c6bf2168c9340deeab82231cb1084

8 years agoIgnore image checksum for ExtractOnly oat files
David Brazdil [Thu, 28 Jan 2016 15:05:49 +0000 (15:05 +0000)]
Ignore image checksum for ExtractOnly oat files

Oat files compiled with --compiler-filter=verify-at-runtime contain
no compiled code and therefore are independent of the boot image.
This patch stores an ExtractOnly flag in the oat header and skips
the image checksum test if the flag is set, rendering the oat file
up to date even after OTAs.

Bug: 26813999

Change-Id: I25291d5b49d9e9d0018844e957a2dc88ef6bdc27

8 years agoMerge "Be on the safe side: emit an environment for runtime calls." am: 99b4d43c7b
Nicolas Geoffray [Mon, 1 Feb 2016 15:08:54 +0000 (15:08 +0000)]
Merge "Be on the safe side: emit an environment for runtime calls." am: 99b4d43c7b
am: 860169dde5

* commit '860169dde56ab89777153de20bcd1b962e269859':
  Be on the safe side: emit an environment for runtime calls.

8 years agoMerge "Be on the safe side: emit an environment for runtime calls."
Nicolas Geoffray [Mon, 1 Feb 2016 15:07:01 +0000 (15:07 +0000)]
Merge "Be on the safe side: emit an environment for runtime calls."
am: 99b4d43c7b

* commit '99b4d43c7b2c81a0a4712578016efdfc65cdc21b':
  Be on the safe side: emit an environment for runtime calls.

8 years agoMerge "Be on the safe side: emit an environment for runtime calls."
Nicolas Geoffray [Mon, 1 Feb 2016 15:02:23 +0000 (15:02 +0000)]
Merge "Be on the safe side: emit an environment for runtime calls."

8 years agoMerge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9." am: a2e599ab7c
Narayan Kamath [Mon, 1 Feb 2016 14:09:07 +0000 (14:09 +0000)]
Merge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9." am: a2e599ab7c
am: 2f51891964

* commit '2f51891964506a53cbb0adbfbdcecfcb6ad418fd':
  Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9.

8 years agoMerge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9."
Narayan Kamath [Mon, 1 Feb 2016 14:06:16 +0000 (14:06 +0000)]
Merge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9."
am: a2e599ab7c

* commit 'a2e599ab7c74ec6bb61c17ff9182827a366c2dc5':
  Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9.

8 years agoMerge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9."
Narayan Kamath [Mon, 1 Feb 2016 14:01:36 +0000 (14:01 +0000)]
Merge "Track libcore change aa517a356a38b8cd6764667e1edd735aaf5978e9."

8 years agoMerge "Invoke all other registered handlers only for generated code" am: 3caf203854
Calin Juravle [Mon, 1 Feb 2016 13:51:25 +0000 (13:51 +0000)]
Merge "Invoke all other registered handlers only for generated code" am: 3caf203854
am: fe4e778d3f

* commit 'fe4e778d3f9077ca90baabb5556a82fd3ff19274':
  Invoke all other registered handlers only for generated code