OSDN Git Service

android-x86/art.git
10 years agoam fb31dffa: am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:36:36 +0000 (15:36 +0000)]
am fb31dffa: am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"

* commit 'fb31dffacd846f30c2079fb4e27ab5952d66d48d':
  x86_64: enable Peek and Poke intrinsics

10 years agoam 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:33:23 +0000 (15:33 +0000)]
am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"

* commit '32710dd4a0232149002a5ae7bde1c640cdffd564':
  x86_64: enable Peek and Poke intrinsics

10 years agoam 116bee4b: am 62f28f94: Merge "Fix a compile assert name with inverted meaning."
Vladimir Marko [Wed, 9 Jul 2014 15:07:25 +0000 (15:07 +0000)]
am 116bee4b: am 62f28f94: Merge "Fix a compile assert name with inverted meaning."

* commit '116bee4bf2abf6e1760902607ccfce67361abc71':
  Fix a compile assert name with inverted meaning.

10 years agoam 9e55c90c: am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."
Vladimir Marko [Wed, 9 Jul 2014 15:07:24 +0000 (15:07 +0000)]
am 9e55c90c: am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."

* commit '9e55c90c30ad241a4ef2498f8566d10f4df52efe':
  Workaround for invalid monitor-exit catch ranges.

10 years agoam c8fb7efa: am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""
Nicolas Geoffray [Wed, 9 Jul 2014 15:07:23 +0000 (15:07 +0000)]
am c8fb7efa: am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""

* commit 'c8fb7efa2c6e284ae6e06841807458c857bbf32f':
  Revert "ART: Key-Value Store in Oat header"

10 years agoam c9058b71: am 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compi...
Ian Rogers [Wed, 9 Jul 2014 15:07:22 +0000 (15:07 +0000)]
am c9058b71: am 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."

* commit 'c9058b7183da0f8d9937c11e7198d14070623882':
  Adds PGO_GEN and PGO_USE for libart and libart-compiler.

10 years agoam cafde465: am 2cfe30bd: Merge "X86 Backend support for vectorized float and byte...
Ian Rogers [Wed, 9 Jul 2014 15:07:21 +0000 (15:07 +0000)]
am cafde465: am 2cfe30bd: Merge "X86 Backend support for vectorized float and byte 16x16 operations"

* commit 'cafde46511d57a9a1942fac0a255b9d0cd34b013':
  X86 Backend support for vectorized float and byte 16x16 operations

10 years agoam daf3aa92: am 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"
Ian Rogers [Wed, 9 Jul 2014 15:07:20 +0000 (15:07 +0000)]
am daf3aa92: am 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"

* commit 'daf3aa92a273dceaf40051c8402fefd7a8b0e6c5':
  x86_64: Clean-up after cmp-long fix

10 years agoam ae37b34a: am dfc56e68: Merge "Clean-up call_x86.cc"
Ian Rogers [Wed, 9 Jul 2014 15:07:19 +0000 (15:07 +0000)]
am ae37b34a: am dfc56e68: Merge "Clean-up call_x86.cc"

* commit 'ae37b34ab1c836a2d40977d3c28199a9d8794179':
  Clean-up call_x86.cc

10 years agoam b75e7b3c: am 251a057f: Merge "ART: Fix FP promotion"
Andreas Gampe [Wed, 9 Jul 2014 15:07:18 +0000 (15:07 +0000)]
am b75e7b3c: am 251a057f: Merge "ART: Fix FP promotion"

* commit 'b75e7b3c99749d35f30ce655df0ed4ded52d4879':
  ART: Fix FP promotion

10 years agoam 9152d407: am dac3f4af: Merge "Whitelist another exception during dex2oat resolving."
Brian Carlstrom [Wed, 9 Jul 2014 15:07:17 +0000 (15:07 +0000)]
am 9152d407: am dac3f4af: Merge "Whitelist another exception during dex2oat resolving."

* commit '9152d407e48643255f26c745db688702286f075e':
  Whitelist another exception during dex2oat resolving.

10 years agoam b7382afd: am 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"
Brian Carlstrom [Wed, 9 Jul 2014 15:07:16 +0000 (15:07 +0000)]
am b7382afd: am 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"

* commit 'b7382afdf02ba80e1c6fe21be73d3736b7b1dd40':
  Make dex2oat heap size product configurable [art]

10 years agoam 4e7e7342: am 3d30b073: Merge "ART: Do not emit load when inlining unused Thread...
Andreas Gampe [Wed, 9 Jul 2014 15:07:15 +0000 (15:07 +0000)]
am 4e7e7342: am 3d30b073: Merge "ART: Do not emit load when inlining unused Thread.currentThread()"

* commit '4e7e7342fa48e9961027c9781637c5d791d76338':
  ART: Do not emit load when inlining unused Thread.currentThread()

10 years agoam 359bcdad: am 8746860d: Merge "Only allow instance-of to improve knowledge of a...
Ian Rogers [Wed, 9 Jul 2014 15:07:14 +0000 (15:07 +0000)]
am 359bcdad: am 8746860d: Merge "Only allow instance-of to improve knowledge of a type for downcasts."

* commit '359bcdade7cb6cbbc852e98b9b05bae766e8a032':
  Only allow instance-of to improve knowledge of a type for downcasts.

10 years agoMerge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:26:09 +0000 (15:26 +0000)]
Merge "x86_64: enable Peek and Poke intrinsics"

10 years agox86_64: enable Peek and Poke intrinsics
Alexei Zavjalov [Tue, 8 Jul 2014 09:27:17 +0000 (16:27 +0700)]
x86_64: enable Peek and Poke intrinsics

This implements intrinsics for:
Memory.peekByte/Short/Int/Long()
Memory.pokeByte/Short/Int/Long()

Change-Id: I6da6250f262dfd7aded35c2e3ade2d0916bd73cb
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
10 years agoam 62f28f94: Merge "Fix a compile assert name with inverted meaning."
Vladimir Marko [Wed, 9 Jul 2014 12:36:42 +0000 (12:36 +0000)]
am 62f28f94: Merge "Fix a compile assert name with inverted meaning."

* commit '62f28f943e2da2873c7a09096c292f01a21c6478':
  Fix a compile assert name with inverted meaning.

10 years agoam 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."
Vladimir Marko [Wed, 9 Jul 2014 12:36:41 +0000 (12:36 +0000)]
am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."

* commit '665f681020ec313d6aea1aa26db582176d780079':
  Workaround for invalid monitor-exit catch ranges.

10 years agoam 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""
Nicolas Geoffray [Wed, 9 Jul 2014 12:36:40 +0000 (12:36 +0000)]
am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""

* commit '8078b294e8001abff5a6c8637e844b55a65fff4b':
  Revert "ART: Key-Value Store in Oat header"

10 years agoam 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."
Ian Rogers [Wed, 9 Jul 2014 12:36:39 +0000 (12:36 +0000)]
am 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."

* commit '608520c8ba1adc7d8d0623b021b7ea509b00751c':
  Adds PGO_GEN and PGO_USE for libart and libart-compiler.

10 years agoam 2cfe30bd: Merge "X86 Backend support for vectorized float and byte 16x16 operations"
Ian Rogers [Wed, 9 Jul 2014 12:36:39 +0000 (12:36 +0000)]
am 2cfe30bd: Merge "X86 Backend support for vectorized float and byte 16x16 operations"

* commit '2cfe30bd592cb6ae63bb4c28ccaf4b069d6ab565':
  X86 Backend support for vectorized float and byte 16x16 operations

10 years agoam 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"
Ian Rogers [Wed, 9 Jul 2014 12:36:38 +0000 (12:36 +0000)]
am 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"

* commit '7b68fb3b9b421d4b20c1993704986d637f1cab91':
  x86_64: Clean-up after cmp-long fix

10 years agoam dfc56e68: Merge "Clean-up call_x86.cc"
Ian Rogers [Wed, 9 Jul 2014 12:36:37 +0000 (12:36 +0000)]
am dfc56e68: Merge "Clean-up call_x86.cc"

* commit 'dfc56e681beb055801491792026cb9976d8566e8':
  Clean-up call_x86.cc

10 years agoam 251a057f: Merge "ART: Fix FP promotion"
Andreas Gampe [Wed, 9 Jul 2014 12:36:36 +0000 (12:36 +0000)]
am 251a057f: Merge "ART: Fix FP promotion"

* commit '251a057f52946452ac1c485b38d4ebafcf3bc5ad':
  ART: Fix FP promotion

10 years agoam dac3f4af: Merge "Whitelist another exception during dex2oat resolving."
Brian Carlstrom [Wed, 9 Jul 2014 12:36:35 +0000 (12:36 +0000)]
am dac3f4af: Merge "Whitelist another exception during dex2oat resolving."

* commit 'dac3f4afe1a3f5626836b6921230c150b68b9d34':
  Whitelist another exception during dex2oat resolving.

10 years agoam 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"
Brian Carlstrom [Wed, 9 Jul 2014 12:36:34 +0000 (12:36 +0000)]
am 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"

* commit '6e524ddc060f10a493dc63fa5b6dde0deef22219':
  Make dex2oat heap size product configurable [art]

10 years agoam 3d30b073: Merge "ART: Do not emit load when inlining unused Thread.currentThread()"
Andreas Gampe [Wed, 9 Jul 2014 12:36:33 +0000 (12:36 +0000)]
am 3d30b073: Merge "ART: Do not emit load when inlining unused Thread.currentThread()"

* commit '3d30b073541f19470e8b5dddef9377411fa587c3':
  ART: Do not emit load when inlining unused Thread.currentThread()

10 years agoam 8746860d: Merge "Only allow instance-of to improve knowledge of a type for downcasts."
Ian Rogers [Wed, 9 Jul 2014 12:36:32 +0000 (12:36 +0000)]
am 8746860d: Merge "Only allow instance-of to improve knowledge of a type for downcasts."

* commit '8746860d056e64dcc832264e74bda9d511e86e2d':
  Only allow instance-of to improve knowledge of a type for downcasts.

10 years agoMerge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."
Ian Rogers [Wed, 9 Jul 2014 07:46:42 +0000 (07:46 +0000)]
Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."

10 years agoMerge "X86 Backend support for vectorized float and byte 16x16 operations"
Ian Rogers [Wed, 9 Jul 2014 07:44:21 +0000 (07:44 +0000)]
Merge "X86 Backend support for vectorized float and byte 16x16 operations"

10 years agoX86 Backend support for vectorized float and byte 16x16 operations
Udayan Banerji [Wed, 9 Jul 2014 02:59:43 +0000 (19:59 -0700)]
X86 Backend support for vectorized float and byte 16x16 operations

Add support for reserving vector registers for the duration of vector loop.
Add support for 16x16 multiplication, shifts, and add reduce.

Changed the vectorization implementation to be able to use the dataflow
elements for SSA recreation and fixed a few implementation details.

Change-Id: I2f358f05f574fc4ab299d9497517b9906f234b98
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Signed-off-by: Olivier Come <olivier.come@intel.com>
Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
10 years agoMerge "x86_64: Clean-up after cmp-long fix"
Ian Rogers [Wed, 9 Jul 2014 07:22:15 +0000 (07:22 +0000)]
Merge "x86_64: Clean-up after cmp-long fix"

10 years agox86_64: Clean-up after cmp-long fix
Serguei Katkov [Tue, 24 Jun 2014 06:23:17 +0000 (13:23 +0700)]
x86_64: Clean-up after cmp-long fix

The patch adresses the coments from review done by Ian Rogers.
Clean-up of assembler.

Change-Id: I9dbb350dfc6645f8a63d624b2b785233529459a9
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
10 years agoMerge "Clean-up call_x86.cc"
Ian Rogers [Wed, 9 Jul 2014 07:15:44 +0000 (07:15 +0000)]
Merge "Clean-up call_x86.cc"

10 years agoClean-up call_x86.cc
Serguei Katkov [Fri, 4 Jul 2014 20:09:32 +0000 (03:09 +0700)]
Clean-up call_x86.cc

Also adds some DCHECKs and fixes for the bugs found by them.

Change-Id: I455bbfe2c6018590cf491880cd9273edbe39c4c7
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
10 years agoMerge "ART: Fix FP promotion"
Andreas Gampe [Wed, 9 Jul 2014 05:29:07 +0000 (05:29 +0000)]
Merge "ART: Fix FP promotion"

10 years agoART: Fix FP promotion
Andreas Gampe [Wed, 9 Jul 2014 04:10:55 +0000 (21:10 -0700)]
ART: Fix FP promotion

A previous CL changed != by mistake to ==, causing incorrect
promotion results for ARM32.

Change-Id: I62572e3e86d38a55be7043196027563735010b30

10 years agoMerge "Make dex2oat heap size product configurable [art]"
Brian Carlstrom [Wed, 9 Jul 2014 04:07:52 +0000 (04:07 +0000)]
Merge "Make dex2oat heap size product configurable [art]"

10 years agoMerge "Only allow instance-of to improve knowledge of a type for downcasts."
Ian Rogers [Wed, 9 Jul 2014 00:37:32 +0000 (00:37 +0000)]
Merge "Only allow instance-of to improve knowledge of a type for downcasts."

10 years agoOnly allow instance-of to improve knowledge of a type for downcasts.
Ian Rogers [Tue, 8 Jul 2014 06:53:08 +0000 (23:53 -0700)]
Only allow instance-of to improve knowledge of a type for downcasts.

Previous "not upcast" test could improve a type to an impossible type that
following a merge back with the original register would lead to conflict
(and subsequent verifier errors).
Modify UpdateRegisters so that the work line will be updated if merging
causes changes in the fall-through case.

Bug: 15808277
Issue: https://code.google.com/p/android/issues/detail?id=72093
Change-Id: Ib16cae8506246177e902825af036d5a397ad0dac

10 years agoam c16fc5fc: am 09341a57: Merge "ART: Key-Value Store in Oat header"
Andreas Gampe [Tue, 8 Jul 2014 19:33:23 +0000 (19:33 +0000)]
am c16fc5fc: am 09341a57: Merge "ART: Key-Value Store in Oat header"

* commit 'c16fc5fc1aa19fae40d48b03604610c1f59e34c0':
  ART: Key-Value Store in Oat header

10 years agoam 09341a57: Merge "ART: Key-Value Store in Oat header"
Andreas Gampe [Tue, 8 Jul 2014 19:29:32 +0000 (19:29 +0000)]
am 09341a57: Merge "ART: Key-Value Store in Oat header"

* commit '09341a57b143daffade4e04623b2daea7235b73e':
  ART: Key-Value Store in Oat header

10 years agoam 4c5e832c: am b63727cd: Merge "ART: Update Monitor::Wait so it releases monitor_loc...
Andreas Gampe [Tue, 8 Jul 2014 19:27:22 +0000 (19:27 +0000)]
am 4c5e832c: am b63727cd: Merge "ART: Update Monitor::Wait so it releases monitor_lock_ before throwing an exception"

* commit '4c5e832c385d7ad813ddcf25fd95d8f4d7457913':
  ART: Update Monitor::Wait so it releases monitor_lock_ before throwing an exception

10 years agoam b63727cd: Merge "ART: Update Monitor::Wait so it releases monitor_lock_ before...
Andreas Gampe [Tue, 8 Jul 2014 19:23:50 +0000 (19:23 +0000)]
am b63727cd: Merge "ART: Update Monitor::Wait so it releases monitor_lock_ before throwing an exception"

* commit 'b63727cded6674db4768d49ef2a0833f773c8e5a':
  ART: Update Monitor::Wait so it releases monitor_lock_ before throwing an exception

10 years agoam 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."
Hiroshi Yamauchi [Tue, 8 Jul 2014 19:22:29 +0000 (19:22 +0000)]
am 5f8d472a: am 1f3a9465: Merge "Remove Dbg::VisitRoots()."

* commit '5f8d472a1958328489693fd07d82c4bf550d9cc3':
  Remove Dbg::VisitRoots().

10 years agoMerge "ART: Key-Value Store in Oat header"
Andreas Gampe [Tue, 8 Jul 2014 19:16:24 +0000 (19:16 +0000)]
Merge "ART: Key-Value Store in Oat header"

10 years agoam 1f3a9465: Merge "Remove Dbg::VisitRoots()."
Hiroshi Yamauchi [Tue, 8 Jul 2014 19:18:08 +0000 (19:18 +0000)]
am 1f3a9465: Merge "Remove Dbg::VisitRoots()."

* commit '1f3a9465aa91163e9f34404bda05c0c067f91267':
  Remove Dbg::VisitRoots().

10 years agoART: Key-Value Store in Oat header
Andreas Gampe [Thu, 26 Jun 2014 23:11:07 +0000 (16:11 -0700)]
ART: Key-Value Store in Oat header

Allows the storage of string-string pairs in the oat header. The
first significant use of this is storing the implicit-check flags,
so that an oat file can be rejected if it doesn't agree with the
current runtime.

Bump the oat version as the header structure changes.

Change-Id: I15a1c16886e6b8fa7b881c918c19c1efa5c7c00f

10 years agoMake dex2oat heap size product configurable [art]
Brian Carlstrom [Tue, 8 Jul 2014 17:34:02 +0000 (10:34 -0700)]
Make dex2oat heap size product configurable [art]

Bug: 15919420
Change-Id: I1b4f3256f6352b2d3e268991406def9e8efab945

10 years agoam c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"
Brian Carlstrom [Tue, 8 Jul 2014 17:26:51 +0000 (17:26 +0000)]
am c0d6dd51: am e8a30f37: Merge "Fix some style nitpicks"

* commit 'c0d6dd512722ae36242924bcdc8fcde58dd5c959':
  Fix some style nitpicks

10 years agoam e8a30f37: Merge "Fix some style nitpicks"
Brian Carlstrom [Tue, 8 Jul 2014 17:24:41 +0000 (17:24 +0000)]
am e8a30f37: Merge "Fix some style nitpicks"

* commit 'e8a30f37bf1530a80a7df17692dbe7a68764ac30':
  Fix some style nitpicks

10 years agoam c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger and use a...
Mathieu Chartier [Tue, 8 Jul 2014 17:04:04 +0000 (17:04 +0000)]
am c6c0a402: am 50dffeee: Merge "Fix local reference leaks in debugger and use a cache."

* commit 'c6c0a402fe2e7e51e9ba7dd8817eb44696f00347':
  Fix local reference leaks in debugger and use a cache.

10 years agoAdds PGO_GEN and PGO_USE for libart and libart-compiler.
Dehao Chen [Tue, 8 Jul 2014 17:00:56 +0000 (10:00 -0700)]
Adds PGO_GEN and PGO_USE for libart and libart-compiler.

PGO_GEN=device_path is used to build an instrumented binary. The profile will be stored in the specified path in device.
PGO_USE=host_path is used to build an PGO-optimized binary. The profile should be pre-stored in the specified path in host.

Bug: 16153819
Change-Id: Ib56f8707df009f290608ca66f669db06e65815c1

10 years agoam 50dffeee: Merge "Fix local reference leaks in debugger and use a cache."
Mathieu Chartier [Tue, 8 Jul 2014 17:00:01 +0000 (17:00 +0000)]
am 50dffeee: Merge "Fix local reference leaks in debugger and use a cache."

* commit '50dffeee9c8f7d3f396ffde30bd6b733e1af72d3':
  Fix local reference leaks in debugger and use a cache.

10 years agoam aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."
Vladimir Marko [Tue, 8 Jul 2014 16:53:40 +0000 (16:53 +0000)]
am aac7b7dd: am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."

* commit 'aac7b7dde7dfb2273644b6f86928078f7ef357c6':
  Add kIntrinsicIsStatic flag for System.arraycopy().

10 years agoam c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."
Vladimir Marko [Tue, 8 Jul 2014 16:49:59 +0000 (16:49 +0000)]
am c4c601b6: Merge "Add kIntrinsicIsStatic flag for System.arraycopy()."

* commit 'c4c601b6dbe5e1a7321d663b36a531a87f21e931':
  Add kIntrinsicIsStatic flag for System.arraycopy().

10 years agoam a5690945: am f55159c1: Merge "Fix style issue."
Vladimir Marko [Tue, 8 Jul 2014 16:33:07 +0000 (16:33 +0000)]
am a5690945: am f55159c1: Merge "Fix style issue."

* commit 'a569094513c296f13cff1031b9f807fbc6ec4cfd':
  Fix style issue.

10 years agoam f55159c1: Merge "Fix style issue."
Vladimir Marko [Tue, 8 Jul 2014 16:30:43 +0000 (16:30 +0000)]
am f55159c1: Merge "Fix style issue."

* commit 'f55159c145e8b07be1dcafc949afda7e6a2f41c5':
  Fix style issue.

10 years agoam db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method invokes."
Vladimir Marko [Tue, 8 Jul 2014 16:29:17 +0000 (16:29 +0000)]
am db123b00: am 74d8348c: Merge "Check invoke type for intrinsic method invokes."

* commit 'db123b00424017b3cc9ec9f444c6265fc960c263':
  Check invoke type for intrinsic method invokes.

10 years agoam 74d8348c: Merge "Check invoke type for intrinsic method invokes."
Vladimir Marko [Tue, 8 Jul 2014 16:22:59 +0000 (16:22 +0000)]
am 74d8348c: Merge "Check invoke type for intrinsic method invokes."

* commit '74d8348cfd7100fd6bd06d00dce3110a4545c4f8':
  Check invoke type for intrinsic method invokes.

10 years agoam 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called...
Ian Rogers [Tue, 8 Jul 2014 10:30:37 +0000 (10:30 +0000)]
am 0c8537e5: am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called on self."

* commit '0c8537e59096b5e8034dd3384af78e182b30ebc1':
  BaseMutex::IsExclusiveHeld should only be called on self.

10 years agoam 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."
Ian Rogers [Tue, 8 Jul 2014 10:30:36 +0000 (10:30 +0000)]
am 6939ba7f: am a3ed7f87: Merge "JNI dlsym lookup fixes."

* commit '6939ba7f2b553348c4ed3b5199fc66a79970ad7b':
  JNI dlsym lookup fixes.

10 years agoam d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."
Ian Rogers [Tue, 8 Jul 2014 10:30:36 +0000 (10:30 +0000)]
am d343c221: am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."

* commit 'd343c221d9f7f17b66fad6c8ed703946a85a4b99':
  Enable compiler testing for ARM64 and x86-64.

10 years agoam 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System...
Ian Rogers [Tue, 8 Jul 2014 10:30:34 +0000 (10:30 +0000)]
am 23b39cec: am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."

* commit '23b39cec938869dc7c17cd0e9820c28cc425a7dc':
  ART: Intrinsic implementation for java.lang.System.arraycopy.

10 years agoam 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called on self."
Ian Rogers [Tue, 8 Jul 2014 10:21:21 +0000 (10:21 +0000)]
am 751dee37: Merge "BaseMutex::IsExclusiveHeld should only be called on self."

* commit '751dee376dcd972af996106a4c32ab4964c1f867':
  BaseMutex::IsExclusiveHeld should only be called on self.

10 years agoam a3ed7f87: Merge "JNI dlsym lookup fixes."
Ian Rogers [Tue, 8 Jul 2014 10:21:20 +0000 (10:21 +0000)]
am a3ed7f87: Merge "JNI dlsym lookup fixes."

* commit 'a3ed7f874710bddd51487b331e7f288806c36307':
  JNI dlsym lookup fixes.

10 years agoam e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."
Ian Rogers [Tue, 8 Jul 2014 10:21:19 +0000 (10:21 +0000)]
am e60658e8: Merge "Enable compiler testing for ARM64 and x86-64."

* commit 'e60658e8d191c6c7558079b2bd7eed4c6c53e9d9':
  Enable compiler testing for ARM64 and x86-64.

10 years agoam 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."
Ian Rogers [Tue, 8 Jul 2014 10:21:18 +0000 (10:21 +0000)]
am 464ef7a7: Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."

* commit '464ef7a79613d41a3d7ef86e2704db306b0aa61d':
  ART: Intrinsic implementation for java.lang.System.arraycopy.

10 years agoam 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."
Ian Rogers [Tue, 8 Jul 2014 02:29:34 +0000 (02:29 +0000)]
am 53dbd90d: am a1d1781e: Merge "Fix dex file dependencies for oat tests."

* commit '53dbd90d9398486b299ac4f5d75604b32ca7e1c7':
  Fix dex file dependencies for oat tests.

10 years agoam a1d1781e: Merge "Fix dex file dependencies for oat tests."
Ian Rogers [Tue, 8 Jul 2014 02:24:50 +0000 (02:24 +0000)]
am a1d1781e: Merge "Fix dex file dependencies for oat tests."

* commit 'a1d1781e29098e4d0d154bd3d2e8ae21b0b20b0f':
  Fix dex file dependencies for oat tests.

10 years agoMerge "Whitelist another exception during dex2oat resolving."
Brian Carlstrom [Wed, 9 Jul 2014 05:14:21 +0000 (05:14 +0000)]
Merge "Whitelist another exception during dex2oat resolving."

10 years agoWhitelist another exception during dex2oat resolving.
Brian Carlstrom [Wed, 9 Jul 2014 05:01:08 +0000 (22:01 -0700)]
Whitelist another exception during dex2oat resolving.

Bug: 15936401
Bug: 16162780
Change-Id: I7389edc8cdacd5e3c2cc7d86bbd56e8c503c34b0

10 years agoam 37ab97eb: am cecec712: Merge "Add patchoat tool to Art."
Brian Carlstrom [Mon, 7 Jul 2014 22:56:00 +0000 (22:56 +0000)]
am 37ab97eb: am cecec712: Merge "Add patchoat tool to Art."

* commit '37ab97eb684e49fa7ba5fc861b7fc37b66046be2':
  Add patchoat tool to Art.

10 years agoam cecec712: Merge "Add patchoat tool to Art."
Brian Carlstrom [Mon, 7 Jul 2014 22:50:45 +0000 (22:50 +0000)]
am cecec712: Merge "Add patchoat tool to Art."

* commit 'cecec712e1e05aab1fe3469077016320b7bf9583':
  Add patchoat tool to Art.

10 years agoam d19aadd5: am ae2efea4: Merge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction...
Ian Rogers [Mon, 7 Jul 2014 18:33:37 +0000 (18:33 +0000)]
am d19aadd5: am ae2efea4: Merge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation"

* commit 'd19aadd5a0f4f04dc7e567ffdd2e8d2df84bb132':
  ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation

10 years agoam ae2efea4: Merge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation"
Ian Rogers [Mon, 7 Jul 2014 18:27:01 +0000 (18:27 +0000)]
am ae2efea4: Merge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation"

* commit 'ae2efea4582df773f80be274bdc754f732b07df3':
  ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation

10 years agoMerge "Remove Dbg::VisitRoots()."
Hiroshi Yamauchi [Tue, 8 Jul 2014 19:10:46 +0000 (19:10 +0000)]
Merge "Remove Dbg::VisitRoots()."

10 years agoRemove Dbg::VisitRoots().
Hiroshi Yamauchi [Mon, 7 Jul 2014 20:07:08 +0000 (13:07 -0700)]
Remove Dbg::VisitRoots().

We replace the GC strong roots with JNI.

jdwp_test passes.

Bug: 12687968
Change-Id: I841f1aaa5dffa784ca25953a251600f70df273b2

10 years agoMerge "Fix local reference leaks in debugger and use a cache."
Mathieu Chartier [Tue, 8 Jul 2014 16:51:57 +0000 (16:51 +0000)]
Merge "Fix local reference leaks in debugger and use a cache."

10 years agoFix local reference leaks in debugger and use a cache.
Mathieu Chartier [Fri, 27 Jun 2014 17:20:14 +0000 (10:20 -0700)]
Fix local reference leaks in debugger and use a cache.

Changed alloc record stack trace element to use jmethodID instead of
JNI weak global references. Added code to delete the local ref
created in AllocRecord::SetType.

Bug: 15886342
External bug: https://code.google.com/p/android/issues/detail?id=72330

Change-Id: Id18e765820baad02246768dc9d633aada60f4fed

10 years agoMerge "JNI dlsym lookup fixes."
Ian Rogers [Tue, 8 Jul 2014 06:04:28 +0000 (06:04 +0000)]
Merge "JNI dlsym lookup fixes."

10 years agoJNI dlsym lookup fixes.
Ian Rogers [Tue, 8 Jul 2014 04:44:06 +0000 (21:44 -0700)]
JNI dlsym lookup fixes.

Thread* self is passed on all architectures apart from ARM and ARM64.
On x86 restore ebx correctly. Pass self in correct register on x86-64.
Ensure methods are compiled in jni_compiler_test even if the generic JNI
trampoline is present.

Change-Id: If5fdb1de97b78ac5a5cf8d0915c5b82311f23eb9

10 years agoMerge "ART: Intrinsic implementation for java.lang.System.arraycopy."
Ian Rogers [Tue, 8 Jul 2014 05:29:19 +0000 (05:29 +0000)]
Merge "ART: Intrinsic implementation for java.lang.System.arraycopy."

10 years agoART: Intrinsic implementation for java.lang.System.arraycopy.
DaniilSokolov [Wed, 25 Jun 2014 00:34:00 +0000 (17:34 -0700)]
ART: Intrinsic implementation for java.lang.System.arraycopy.

Implements intrinsic for  java.lang.System.arraycopy(char[], int, char[], int, int) -
this method is internal to android class libraries and used in such classes as StringBuffer and
StringBuilder. It is not possible to call it from application code. The intrinsic for
this method is implemented as inline method (assembly code is generated manually).

The intrinsic is x86 32 bit only.

Change-Id: Id1b1e0a20d5f6d5f5ebfe1fdc2447b6d8a515432
Signed-off-by: Daniil Sokolov <daniil.y.sokolov@intel.com>
10 years agoMerge "Fix dex file dependencies for oat tests."
Ian Rogers [Tue, 8 Jul 2014 02:15:36 +0000 (02:15 +0000)]
Merge "Fix dex file dependencies for oat tests."

10 years agoFix dex file dependencies for oat tests.
Ian Rogers [Mon, 7 Jul 2014 23:05:18 +0000 (16:05 -0700)]
Fix dex file dependencies for oat tests.

The initial prerequisit used as an argument to "cp" wasn't set causing dex2oat
to attempt to compile dex2oat. Make the setting of host and target dex
dependencies more explicit in build-art-test-dex and update the test rules
appropriately.

Change-Id: I4f591f817537043bcb0328c7623fe7e2f0830b60

10 years agoMerge "Add patchoat tool to Art."
Brian Carlstrom [Mon, 7 Jul 2014 22:41:10 +0000 (22:41 +0000)]
Merge "Add patchoat tool to Art."

10 years agoAdd patchoat tool to Art.
Alex Light [Thu, 12 Jun 2014 18:26:29 +0000 (11:26 -0700)]
Add patchoat tool to Art.

Add a new executable called patchoat to art. This tool takes already
compiled images and oat files and changes their base address, acting as
a cheap form of relocation.

Add a --include-patch-information flag to dex2oat and code to add
required patch information to oat files created with the quick compiler.

Bug: 15358152

Change-Id: Ie0c580db45bb14ec180deb84930def6c3628d97d

10 years agoMerge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation"
Ian Rogers [Mon, 7 Jul 2014 18:18:03 +0000 (18:18 +0000)]
Merge "ART: Add HADDPS/HADDPD/SHUFPS/SHUFPD instruction generation"

10 years agoam 91b9be73: am 0da09a02: Merge "Only allow whitelisted exceptions during dex2oat...
Mathieu Chartier [Mon, 7 Jul 2014 17:33:33 +0000 (17:33 +0000)]
am 91b9be73: am 0da09a02: Merge "Only allow whitelisted exceptions during dex2oat resolving."

* commit '91b9be73b5e39e07bedbdeddfb75a5fca2ec441c':
  Only allow whitelisted exceptions during dex2oat resolving.

10 years agoam 0da09a02: Merge "Only allow whitelisted exceptions during dex2oat resolving."
Mathieu Chartier [Mon, 7 Jul 2014 17:26:25 +0000 (17:26 +0000)]
am 0da09a02: Merge "Only allow whitelisted exceptions during dex2oat resolving."

* commit '0da09a026fb6c612e659dc782312987b4515f472':
  Only allow whitelisted exceptions during dex2oat resolving.

10 years agoam a127dcfe: am fbf156c9: Merge "Aarch64: fix bug and enable register promotion."
Andreas Gampe [Mon, 7 Jul 2014 16:04:07 +0000 (16:04 +0000)]
am a127dcfe: am fbf156c9: Merge "Aarch64: fix bug and enable register promotion."

* commit 'a127dcfef9ff17671e91e8cee92912cf8783498c':
  Aarch64: fix bug and enable register promotion.

10 years agoam fbf156c9: Merge "Aarch64: fix bug and enable register promotion."
Andreas Gampe [Mon, 7 Jul 2014 16:01:01 +0000 (16:01 +0000)]
am fbf156c9: Merge "Aarch64: fix bug and enable register promotion."

* commit 'fbf156c9394e777385ae2661e673a4c783dfd836':
  Aarch64: fix bug and enable register promotion.

10 years agoam a7690700: am 0107273a: Merge "Aarch64: fix references handling in Load*Indexed."
Andreas Gampe [Mon, 7 Jul 2014 15:51:55 +0000 (15:51 +0000)]
am a7690700: am 0107273a: Merge "Aarch64: fix references handling in Load*Indexed."

* commit 'a769070097737186205ce83e725cb7e0ed9a4b5d':
  Aarch64: fix references handling in Load*Indexed.

10 years agoam 0107273a: Merge "Aarch64: fix references handling in Load*Indexed."
Andreas Gampe [Mon, 7 Jul 2014 15:46:03 +0000 (15:46 +0000)]
am 0107273a: Merge "Aarch64: fix references handling in Load*Indexed."

* commit '0107273ae05d4624495bbaae62b9194f8ae6685b':
  Aarch64: fix references handling in Load*Indexed.

10 years agoam 91c12d5e: am f22af67d: Merge "Fix missing dependency in new X86 instruction"
Andreas Gampe [Sun, 6 Jul 2014 18:17:14 +0000 (18:17 +0000)]
am 91c12d5e: am f22af67d: Merge "Fix missing dependency in new X86 instruction"

* commit '91c12d5e386ce8325e8f88c1f5e7ed1a542fc986':
  Fix missing dependency in new X86 instruction

10 years agoam f22af67d: Merge "Fix missing dependency in new X86 instruction"
Andreas Gampe [Sun, 6 Jul 2014 18:11:02 +0000 (18:11 +0000)]
am f22af67d: Merge "Fix missing dependency in new X86 instruction"

* commit 'f22af67db2a6e7221dd15320d1a7688f1b423668':
  Fix missing dependency in new X86 instruction

10 years agoam b75e8763: am 268e5630: Merge "x86_64: Fix InstanceofFinal"
Andreas Gampe [Sun, 6 Jul 2014 17:48:25 +0000 (17:48 +0000)]
am b75e8763: am 268e5630: Merge "x86_64: Fix InstanceofFinal"

* commit 'b75e87635d6a0590142c1cd9e50b743239a53c57':
  x86_64: Fix InstanceofFinal

10 years agoam 268e5630: Merge "x86_64: Fix InstanceofFinal"
Andreas Gampe [Sun, 6 Jul 2014 17:43:35 +0000 (17:43 +0000)]
am 268e5630: Merge "x86_64: Fix InstanceofFinal"

* commit '268e5630626b5227d1d055c42e4934c4a334fbfe':
  x86_64: Fix InstanceofFinal

10 years agoMerge "BaseMutex::IsExclusiveHeld should only be called on self."
Ian Rogers [Tue, 8 Jul 2014 06:04:43 +0000 (06:04 +0000)]
Merge "BaseMutex::IsExclusiveHeld should only be called on self."