OSDN Git Service

android-x86/art.git
10 years agoam 0833af65: Merge "Tweaked profile significant_difference."
Calin Juravle [Tue, 8 Apr 2014 13:48:46 +0000 (13:48 +0000)]
am 0833af65: Merge "Tweaked profile significant_difference."

* commit '0833af65c87b9f1c900e70a41c04d2dcdbd0c9c7':
  Tweaked profile significant_difference.

10 years agoam a7046440: Merge "Profile: made startImmediately settable"
Calin Juravle [Tue, 8 Apr 2014 13:48:46 +0000 (13:48 +0000)]
am a7046440: Merge "Profile: made startImmediately settable"

* commit 'a704644079945c700bef37803b3b7bcd70a10cb4':
  Profile: made startImmediately settable

10 years agoMerge "Tweaked profile significant_difference."
Calin Juravle [Tue, 8 Apr 2014 13:37:43 +0000 (13:37 +0000)]
Merge "Tweaked profile significant_difference."

10 years agoMerge "Profile: made startImmediately settable"
Calin Juravle [Tue, 8 Apr 2014 13:37:27 +0000 (13:37 +0000)]
Merge "Profile: made startImmediately settable"

10 years agoam 2be6fc74: Merge "Test control flow instruction with optimizing compiler."
Nicolas Geoffray [Tue, 8 Apr 2014 09:14:40 +0000 (09:14 +0000)]
am 2be6fc74: Merge "Test control flow instruction with optimizing compiler."

* commit '2be6fc74bce10ac68d3d1b39a5019f520ad170ea':
  Test control flow instruction with optimizing compiler.

10 years agoam 1512ea15: Merge "Quick compiler: fix CmpLong pair handling"
buzbee [Tue, 8 Apr 2014 09:14:34 +0000 (09:14 +0000)]
am 1512ea15: Merge "Quick compiler: fix CmpLong pair handling"

* commit '1512ea155cbe0a4b33776b0320c1ce38583ab09b':
  Quick compiler: fix CmpLong pair handling

10 years agoMerge "Test control flow instruction with optimizing compiler."
Nicolas Geoffray [Tue, 8 Apr 2014 07:53:48 +0000 (07:53 +0000)]
Merge "Test control flow instruction with optimizing compiler."

10 years agoTest control flow instruction with optimizing compiler.
Nicolas Geoffray [Mon, 7 Apr 2014 14:26:35 +0000 (15:26 +0100)]
Test control flow instruction with optimizing compiler.

Add support for basic instructions to implement these tests.

Change-Id: I3870bf9301599043b3511522bb49dc6364c9b4c0

10 years agoMerge "Quick compiler: fix CmpLong pair handling"
buzbee [Tue, 8 Apr 2014 04:47:11 +0000 (04:47 +0000)]
Merge "Quick compiler: fix CmpLong pair handling"

10 years agoam 476fe7c8: Merge "Implement rosalloc page trimming without suspending threads."
Hiroshi Yamauchi [Mon, 7 Apr 2014 23:25:06 +0000 (23:25 +0000)]
am 476fe7c8: Merge "Implement rosalloc page trimming without suspending threads."

* commit '476fe7c81c0d6b060be5cde4c44a2bb8b0b8ffd2':
  Implement rosalloc page trimming without suspending threads.

10 years agoMerge "Implement rosalloc page trimming without suspending threads."
Hiroshi Yamauchi [Mon, 7 Apr 2014 23:13:17 +0000 (23:13 +0000)]
Merge "Implement rosalloc page trimming without suspending threads."

10 years agoImplement rosalloc page trimming without suspending threads.
Hiroshi Yamauchi [Mon, 7 Apr 2014 20:52:31 +0000 (13:52 -0700)]
Implement rosalloc page trimming without suspending threads.

Also, making it more efficient by not going through the chunks smaller
than the page size by not using InspectAll().

Change-Id: I79ceb0374cb8aba5f6b8dde1afbace9af98b6cff

10 years agoam bc488164: Merge "Use LIRSlowPath for throwing div by zero exception."
Mingyao Yang [Mon, 7 Apr 2014 22:57:35 +0000 (22:57 +0000)]
am bc488164: Merge "Use LIRSlowPath for throwing div by zero exception."

* commit 'bc488164013071454329f66d056c370e10b19877':
  Use LIRSlowPath for throwing div by zero exception.

10 years agoMerge "Use LIRSlowPath for throwing div by zero exception."
Mingyao Yang [Mon, 7 Apr 2014 22:47:42 +0000 (22:47 +0000)]
Merge "Use LIRSlowPath for throwing div by zero exception."

10 years agoam 9297abff: Merge "Add monitor deflation."
Mathieu Chartier [Mon, 7 Apr 2014 21:42:41 +0000 (21:42 +0000)]
am 9297abff: Merge "Add monitor deflation."

* commit '9297abff7b4d46594e41fe8d18565322d524f43f':
  Add monitor deflation.

10 years agoMerge "Add monitor deflation."
Mathieu Chartier [Mon, 7 Apr 2014 21:30:39 +0000 (21:30 +0000)]
Merge "Add monitor deflation."

10 years agoUse LIRSlowPath for throwing div by zero exception.
Mingyao Yang [Mon, 7 Apr 2014 19:42:16 +0000 (12:42 -0700)]
Use LIRSlowPath for throwing div by zero exception.

Get rid of launchpads for throwing div by zero exception and
use LIRSlowPath instead. Add a CallRuntimeHelper that takes no
argument for the runtime function.

Bug: 13170824
Change-Id: I7e0563e736c6f92bd63e3fbdfe3a777ad333e338

10 years agoAdd monitor deflation.
Mathieu Chartier [Mon, 31 Mar 2014 23:36:35 +0000 (16:36 -0700)]
Add monitor deflation.

We now deflate the monitors when we perform a heap trim. This causes
a pause but it shouldn't matter since we should be in a state where
we don't care about pauses. Memory savings are hard to measure.

Fixed integer overflow bug in GetEstimatedLastIterationThroughput.

Bug: 13733906
Change-Id: I4e0e68add02e7f43370b3a5ea763d6fe8a5b212c

10 years agoam b7a691f6: Merge "AArch64: Fix Managed Register unit tests"
Andreas Gampe [Mon, 7 Apr 2014 20:41:03 +0000 (20:41 +0000)]
am b7a691f6: Merge "AArch64: Fix Managed Register unit tests"

* commit 'b7a691f6398c55dacb3531d921e8cb298c3c8b8d':
  AArch64: Fix Managed Register unit tests

10 years agoMerge "AArch64: Fix Managed Register unit tests"
Andreas Gampe [Mon, 7 Apr 2014 20:28:28 +0000 (20:28 +0000)]
Merge "AArch64: Fix Managed Register unit tests"

10 years agoQuick compiler: fix CmpLong pair handling
buzbee [Mon, 7 Apr 2014 19:35:39 +0000 (12:35 -0700)]
Quick compiler: fix CmpLong pair handling

OpCmpLong wasn't properly extracting the low register of a
pair.

Change-Id: I6d6cc3de1f543f4316e561648f371f793502fddb

10 years agoam 4d3dc8a0: Merge "Revert "Use trampolines for calls to helpers""
Dave Allison [Mon, 7 Apr 2014 19:11:47 +0000 (19:11 +0000)]
am 4d3dc8a0: Merge "Revert "Use trampolines for calls to helpers""

* commit '4d3dc8a04da8a80251b381cdb482190363171dc1':
  Revert "Use trampolines for calls to helpers"

10 years agoMerge "Revert "Use trampolines for calls to helpers""
Dave Allison [Mon, 7 Apr 2014 19:01:40 +0000 (19:01 +0000)]
Merge "Revert "Use trampolines for calls to helpers""

10 years agoRevert "Use trampolines for calls to helpers"
Dave Allison [Mon, 7 Apr 2014 18:58:07 +0000 (18:58 +0000)]
Revert "Use trampolines for calls to helpers"

This reverts commit 754ddad084ccb610d0cf486f6131bdc69bae5bc6.

Change-Id: Icd979adee1d8d781b40a5e75daf3719444cb72e8

10 years agoam 50ca506e: Merge "Inlining synthetic accessors."
Vladimir Marko [Mon, 7 Apr 2014 18:10:57 +0000 (18:10 +0000)]
am 50ca506e: Merge "Inlining synthetic accessors."

* commit '50ca506e9191c2eafcf9564528712020f9531dc4':
  Inlining synthetic accessors.

10 years agoMerge "Inlining synthetic accessors."
Vladimir Marko [Mon, 7 Apr 2014 18:03:26 +0000 (18:03 +0000)]
Merge "Inlining synthetic accessors."

10 years agoam 12c0273f: Merge "Use trampolines for calls to helpers"
Dave Allison [Mon, 7 Apr 2014 17:42:56 +0000 (17:42 +0000)]
am 12c0273f: Merge "Use trampolines for calls to helpers"

* commit '12c0273fd394d72ae93424784b1450daea417472':
  Use trampolines for calls to helpers

10 years agoMerge "Use trampolines for calls to helpers"
Dave Allison [Mon, 7 Apr 2014 17:34:12 +0000 (17:34 +0000)]
Merge "Use trampolines for calls to helpers"

10 years agoam 1415359a: Merge "Inlining setters that return one of their arguments."
Vladimir Marko [Mon, 7 Apr 2014 17:22:43 +0000 (17:22 +0000)]
am 1415359a: Merge "Inlining setters that return one of their arguments."

* commit '1415359a4ca80a78507173103274a06cd85d223d':
  Inlining setters that return one of their arguments.

10 years agoMerge "Inlining setters that return one of their arguments."
Vladimir Marko [Mon, 7 Apr 2014 17:13:53 +0000 (17:13 +0000)]
Merge "Inlining setters that return one of their arguments."

10 years agoAArch64: Fix Managed Register unit tests
Serban Constantinescu [Wed, 2 Apr 2014 12:18:05 +0000 (13:18 +0100)]
AArch64: Fix Managed Register unit tests

Fixes the XZR change introduced by one of the previous patches. It
also adds extra testing for VIXL register integration.

Change-Id: I4935f06726e25829613ef7bb6ac052d82056812c
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoInlining synthetic accessors.
Vladimir Marko [Wed, 2 Apr 2014 14:24:05 +0000 (15:24 +0100)]
Inlining synthetic accessors.

Bug: 11549140
Change-Id: I0d6a38c51887f55563414c240ac42ee64bdb5426

10 years agoProfile: made startImmediately settable
Calin Juravle [Mon, 7 Apr 2014 15:07:43 +0000 (18:07 +0300)]
Profile: made startImmediately settable

By default the profiler starts immediately upon app startup. To delay the
startup by some random offset use -Xprofile-start_lazy.

Bug: 12877748
Change-Id: Ifc1bb7f79f9f9aa53204b2fb1fbae3cd5c780cac

10 years agoInlining setters that return one of their arguments.
Vladimir Marko [Fri, 4 Apr 2014 13:52:53 +0000 (14:52 +0100)]
Inlining setters that return one of their arguments.

Useful for builder classes and synthetic setters. The latter
are not inlined yet since they are static methods, i.e. they
don't use "this" as the object for IPUT.

Change-Id: I3d34156c3629b837a0a95ccc34a8aae3f4a636d5

10 years agoam 427ca38b: Merge "Add support for taking parameters in optimizing compiler."
Nicolas Geoffray [Mon, 7 Apr 2014 14:44:14 +0000 (14:44 +0000)]
am 427ca38b: Merge "Add support for taking parameters in optimizing compiler."

* commit '427ca38b0a6c6fd7dc0dbb380619e2b91b56cf1c':
  Add support for taking parameters in optimizing compiler.

10 years agoMerge "Add support for taking parameters in optimizing compiler."
Nicolas Geoffray [Mon, 7 Apr 2014 14:35:31 +0000 (14:35 +0000)]
Merge "Add support for taking parameters in optimizing compiler."

10 years agoAdd support for taking parameters in optimizing compiler.
Nicolas Geoffray [Mon, 7 Apr 2014 12:20:42 +0000 (13:20 +0100)]
Add support for taking parameters in optimizing compiler.

- Fix stack layout to mimic Quick's.
- Implement some sub operations.

Change-Id: I8cf75a4d29b662381a64f02c0bc61d859482fc4e

10 years agoTweaked profile significant_difference.
Calin Juravle [Mon, 7 Apr 2014 13:36:21 +0000 (16:36 +0300)]
Tweaked profile significant_difference.

- renamed to 'change_thr'
- now it represents how much the top K leading samples need to change
(in percents) in order to trigger compilation.
- extracted ProfileData & file parsing in profiler.h

Bug: 12877748
Change-Id: I10f66120dd5e68b8a690bfa0e9914c07f63c50d5

10 years agoam 7ab4e5c5: Merge "JDWP request is parsed incorrectly due to junk in the descriptor"
Sebastien Hertz [Mon, 7 Apr 2014 08:49:58 +0000 (08:49 +0000)]
am 7ab4e5c5: Merge "JDWP request is parsed incorrectly due to junk in the descriptor"

* commit '7ab4e5c5288e04b7beb6d8ddfd5e8bf878002732':
  JDWP request is parsed incorrectly due to junk in the descriptor

10 years agoMerge "JDWP request is parsed incorrectly due to junk in the descriptor"
Sebastien Hertz [Mon, 7 Apr 2014 08:23:33 +0000 (08:23 +0000)]
Merge "JDWP request is parsed incorrectly due to junk in the descriptor"

10 years agoJDWP request is parsed incorrectly due to junk in the descriptor
nikolay serdjuk [Mon, 7 Apr 2014 06:54:24 +0000 (13:54 +0700)]
JDWP request is parsed incorrectly due to junk in the descriptor

The ClassHelper object is created and deleted on the same line.
Therefore it is wrong to refer to any class members of the object in
the next line. Any references to the object and the object itself
must have the same live ranges.

Change-Id: I792d7baa3828b0389254f2941705e006cab092cd
Signed-off-by: nikolay serdjuk <nikolay.y.serdjuk@intel.com>
10 years agoam b70b09f6: Merge "Revert "Inlining setters that return one of their arguments.""
Mathieu Chartier [Sat, 5 Apr 2014 01:35:54 +0000 (01:35 +0000)]
am b70b09f6: Merge "Revert "Inlining setters that return one of their arguments.""

* commit 'b70b09f6cc1f1fbbf604da7b6b1ea5f74e43571c':
  Revert "Inlining setters that return one of their arguments."

10 years agoam 90247d17: Merge "Revert "Inlining synthetic accessors.""
Mathieu Chartier [Sat, 5 Apr 2014 01:35:53 +0000 (01:35 +0000)]
am 90247d17: Merge "Revert "Inlining synthetic accessors.""

* commit '90247d17f7db0052c20515d363fe505be4fcaf89':
  Revert "Inlining synthetic accessors."

10 years agoMerge "Revert "Inlining setters that return one of their arguments.""
Mathieu Chartier [Sat, 5 Apr 2014 01:29:36 +0000 (01:29 +0000)]
Merge "Revert "Inlining setters that return one of their arguments.""

10 years agoMerge "Revert "Inlining synthetic accessors.""
Mathieu Chartier [Sat, 5 Apr 2014 01:29:02 +0000 (01:29 +0000)]
Merge "Revert "Inlining synthetic accessors.""

10 years agoRevert "Inlining setters that return one of their arguments."
Mathieu Chartier [Sat, 5 Apr 2014 01:02:08 +0000 (18:02 -0700)]
Revert "Inlining setters that return one of their arguments."

Bug: 13817614

This reverts commit 8e40c3e662d852da87b6bcfe79355f96ab9e91c7.

Change-Id: Ia7ed2d933514781150b2e0b9855244e383c60187

10 years agoRevert "Inlining synthetic accessors."
Mathieu Chartier [Sat, 5 Apr 2014 01:02:04 +0000 (18:02 -0700)]
Revert "Inlining synthetic accessors."

This reverts commit 505ebb0e7b42e7facc8354515b06333ee8b84b10.

10 years agoam 818b4cf7: Merge "Fix wrong handling of Generic JNI not finding native method."
Andreas Gampe [Fri, 4 Apr 2014 23:47:14 +0000 (23:47 +0000)]
am 818b4cf7: Merge "Fix wrong handling of Generic JNI not finding native method."

* commit '818b4cf753d6e8a294f0fbe2e3bd9168eea9f762':
  Fix wrong handling of Generic JNI not finding native method.

10 years agoMerge "Fix wrong handling of Generic JNI not finding native method."
Andreas Gampe [Fri, 4 Apr 2014 23:34:23 +0000 (23:34 +0000)]
Merge "Fix wrong handling of Generic JNI not finding native method."

10 years agoFix wrong handling of Generic JNI not finding native method.
Andreas Gampe [Fri, 4 Apr 2014 23:20:13 +0000 (16:20 -0700)]
Fix wrong handling of Generic JNI not finding native method.

Code did not properly call JNIMethodEnd, such that locks etc
where not correctly handled.

Add a test case to jni_compiler_test.

Change-Id: If2d5c628517d65a56dd6bb5c4cabdff77c7664a1

10 years agoam e8b4bbce: Merge "Fix using kArm instead of kThumb2."
Mathieu Chartier [Fri, 4 Apr 2014 23:28:04 +0000 (23:28 +0000)]
am e8b4bbce: Merge "Fix using kArm instead of kThumb2."

* commit 'e8b4bbcef44f7fe76896850b2f5750cd46b1ade0':
  Fix using kArm instead of kThumb2.

10 years agoMerge "Fix using kArm instead of kThumb2."
Mathieu Chartier [Fri, 4 Apr 2014 23:16:12 +0000 (23:16 +0000)]
Merge "Fix using kArm instead of kThumb2."

10 years agoFix using kArm instead of kThumb2.
Mathieu Chartier [Fri, 4 Apr 2014 23:10:05 +0000 (16:10 -0700)]
Fix using kArm instead of kThumb2.

Change-Id: I0f3bf93b38d910bc57d017693675829b6a39bc18

10 years agoUse trampolines for calls to helpers
Dave Allison [Wed, 19 Feb 2014 22:05:39 +0000 (14:05 -0800)]
Use trampolines for calls to helpers

This is an ARM specific optimization to the compiler
that uses trampoline islands to make calls to runtime
helper functions.  The intention is to reduce the size
of the generated code (by 2 bytes per call) without
affecting performance.

By default this is on when generating an OAT file.  It is
off when compiling to memory.

To switch this off in dex2oat, use the command line option:
--no-helper-trampolines

Enhances disassembler to print the trampoline entry on the
BL instruction like this:

0xb6a850c0: f7ffff9e  bl      -196 (0xb6a85000)  ; pTestSuspend

Bug: 12607709
Change-Id: I9202bdb7cf21252ad807bd48701f1f6ce8e3d0fe

10 years agoam 97a332b4: Merge "art_quick_lock_object uses registers incorrectly"
Ian Rogers [Fri, 4 Apr 2014 22:39:30 +0000 (22:39 +0000)]
am 97a332b4: Merge "art_quick_lock_object uses registers incorrectly"

* commit '97a332b4476d5a2b4ad0650dacc6bfcff882fc57':
  art_quick_lock_object uses registers incorrectly

10 years agoMerge "art_quick_lock_object uses registers incorrectly"
Ian Rogers [Fri, 4 Apr 2014 22:29:04 +0000 (22:29 +0000)]
Merge "art_quick_lock_object uses registers incorrectly"

10 years agoam 45157a41: Merge "ARM: enable optimisation for easy multiply, add modulus pattern."
Ian Rogers [Fri, 4 Apr 2014 22:23:37 +0000 (22:23 +0000)]
am 45157a41: Merge "ARM: enable optimisation for easy multiply, add modulus pattern."

* commit '45157a41b6c0ac9f73aeeb1f064c2270a6a68a60':
  ARM: enable optimisation for easy multiply, add modulus pattern.

10 years agoam 312d70f1: Merge "Check the machine type of an ELF file when loading."
Andreas Gampe [Fri, 4 Apr 2014 22:20:02 +0000 (22:20 +0000)]
am 312d70f1: Merge "Check the machine type of an ELF file when loading."

* commit '312d70f1f01ff0e8ef7dfd0ccb4a1c360c74d0c4':
  Check the machine type of an ELF file when loading.

10 years agoMerge "ARM: enable optimisation for easy multiply, add modulus pattern."
Ian Rogers [Fri, 4 Apr 2014 22:13:22 +0000 (22:13 +0000)]
Merge "ARM: enable optimisation for easy multiply, add modulus pattern."

10 years agoMerge "Check the machine type of an ELF file when loading."
Andreas Gampe [Fri, 4 Apr 2014 22:08:03 +0000 (22:08 +0000)]
Merge "Check the machine type of an ELF file when loading."

10 years agoCheck the machine type of an ELF file when loading.
Andreas Gampe [Fri, 4 Apr 2014 00:50:24 +0000 (17:50 -0700)]
Check the machine type of an ELF file when loading.

This ensures that we reject wrong target ELF files,
and should result in a recompile for the right
target.

Change-Id: I898dddc4f2bb9b1607a7436083d0ba7619b6007b

10 years agoam ebe5250f: Merge "Improve invalid root dumping."
Mathieu Chartier [Fri, 4 Apr 2014 18:45:24 +0000 (18:45 +0000)]
am ebe5250f: Merge "Improve invalid root dumping."

* commit 'ebe5250f6162515c999f7966a918b1f86bb67396':
  Improve invalid root dumping.

10 years agoMerge "Improve invalid root dumping."
Mathieu Chartier [Fri, 4 Apr 2014 18:37:41 +0000 (18:37 +0000)]
Merge "Improve invalid root dumping."

10 years agoImprove invalid root dumping.
Mathieu Chartier [Fri, 4 Apr 2014 18:09:41 +0000 (11:09 -0700)]
Improve invalid root dumping.

The invalid root dumping now attempts to print the root type.

Change-Id: Ie821296d569f34909ba6e2705f5c347cd2143a3a

10 years agoam 09379fd9: Merge "Disable use of R4 as a promotable register"
Dave Allison [Fri, 4 Apr 2014 17:32:09 +0000 (17:32 +0000)]
am 09379fd9: Merge "Disable use of R4 as a promotable register"

* commit '09379fd9f20e25ee71687e2c60f6a84c9ede8cd6':
  Disable use of R4 as a promotable register

10 years agoam 54f192ca: Merge "Inlining synthetic accessors."
Vladimir Marko [Fri, 4 Apr 2014 17:26:40 +0000 (17:26 +0000)]
am 54f192ca: Merge "Inlining synthetic accessors."

* commit '54f192cac80f6dd323be29bd7192898626ba2b01':
  Inlining synthetic accessors.

10 years agoMerge "Disable use of R4 as a promotable register"
Dave Allison [Fri, 4 Apr 2014 17:25:33 +0000 (17:25 +0000)]
Merge "Disable use of R4 as a promotable register"

10 years agoMerge "Inlining synthetic accessors."
Vladimir Marko [Fri, 4 Apr 2014 17:19:02 +0000 (17:19 +0000)]
Merge "Inlining synthetic accessors."

10 years agoam 34df691e: Merge "Inlining setters that return one of their arguments."
Vladimir Marko [Fri, 4 Apr 2014 16:51:38 +0000 (16:51 +0000)]
am 34df691e: Merge "Inlining setters that return one of their arguments."

* commit '34df691e64a6491e7312a850a1ad255e4cf02702':
  Inlining setters that return one of their arguments.

10 years agoMerge "Inlining setters that return one of their arguments."
Vladimir Marko [Fri, 4 Apr 2014 16:42:17 +0000 (16:42 +0000)]
Merge "Inlining setters that return one of their arguments."

10 years agoInlining synthetic accessors.
Vladimir Marko [Wed, 2 Apr 2014 14:24:05 +0000 (15:24 +0100)]
Inlining synthetic accessors.

Bug: 11549140
Change-Id: Ie0034a6840b1beaa3df92f26bf9d315119c81e34

10 years agoam 6cea2a6c: Merge "Re-enable DEX-to-DEX compilation path"
Sebastien Hertz [Fri, 4 Apr 2014 15:19:24 +0000 (15:19 +0000)]
am 6cea2a6c: Merge "Re-enable DEX-to-DEX compilation path"

* commit '6cea2a6c42d3a4871e3b64fe55abcb5ffc8f09de':
  Re-enable DEX-to-DEX compilation path

10 years agoInlining setters that return one of their arguments.
Vladimir Marko [Fri, 4 Apr 2014 13:52:53 +0000 (14:52 +0100)]
Inlining setters that return one of their arguments.

Useful for builder classes and synthetic setters. The latter
are not inlined yet since they are static methods, i.e. they
don't use "this" as the object for IPUT.

Change-Id: I946cf570195be83ecec5fb32851bcaefad45f8a5

10 years agoMerge "Re-enable DEX-to-DEX compilation path"
Sebastien Hertz [Fri, 4 Apr 2014 15:07:26 +0000 (15:07 +0000)]
Merge "Re-enable DEX-to-DEX compilation path"

10 years agoRe-enable DEX-to-DEX compilation path
Sebastien Hertz [Fri, 4 Apr 2014 13:59:53 +0000 (15:59 +0200)]
Re-enable DEX-to-DEX compilation path

Bug: 13807032
Change-Id: I6de7adb81a0f955a93257b83db9ad689ebcd90ad

10 years agoam 764c798b: Merge "Fix LoadValueWide to not call MarkLive for high reg that is equal...
Bill Buzbee [Fri, 4 Apr 2014 14:11:58 +0000 (14:11 +0000)]
am 764c798b: Merge "Fix LoadValueWide to not call MarkLive for high reg that is equal to low reg"

* commit '764c798b57b7baa04885fcdf5eba5708a01b9edc':
  Fix LoadValueWide to not call MarkLive for high reg that is equal to low reg

10 years agoMerge "Fix LoadValueWide to not call MarkLive for high reg that is equal to low reg"
Bill Buzbee [Fri, 4 Apr 2014 14:00:12 +0000 (14:00 +0000)]
Merge "Fix LoadValueWide to not call MarkLive for high reg that is equal to low reg"

10 years agoam 09dfce73: Merge "Clean up special method inlining."
Vladimir Marko [Fri, 4 Apr 2014 13:25:40 +0000 (13:25 +0000)]
am 09dfce73: Merge "Clean up special method inlining."

* commit '09dfce73c4e849afda37035146dd2932220708d3':
  Clean up special method inlining.

10 years agoMerge "Clean up special method inlining."
Vladimir Marko [Fri, 4 Apr 2014 13:18:51 +0000 (13:18 +0000)]
Merge "Clean up special method inlining."

10 years agoClean up special method inlining.
Vladimir Marko [Fri, 4 Apr 2014 11:37:07 +0000 (12:37 +0100)]
Clean up special method inlining.

Mark inlined getter/setter INVOKEs as NOP to allow implicit
null checks (SIGSEGV-based) rather than the explicit checks
in GenInvoke().

Avoid inlining wide setter and returning wide argument if
the wide source is not in consecutive dalvik registers in
INVOKE. This is valid dalvik bytecode and we should treat it
correctly even if we're currently unaware of any tools that
would generate such INVOKEs.

Remove bogus MIR_INLINED checks from LVN.

Change-Id: I7e75a832fcf9bd0550e21b1c8b3813c6166197dd

10 years agoam 3734bffd: Merge "Use target-specific word instead of runtime word."
Nicolas Geoffray [Fri, 4 Apr 2014 10:26:15 +0000 (10:26 +0000)]
am 3734bffd: Merge "Use target-specific word instead of runtime word."

* commit '3734bffdf77e2bc293eb9722f9bd4389fbaa0d92':
  Use target-specific word instead of runtime word.

10 years agoMerge "Use target-specific word instead of runtime word."
Nicolas Geoffray [Fri, 4 Apr 2014 10:13:53 +0000 (10:13 +0000)]
Merge "Use target-specific word instead of runtime word."

10 years agoUse target-specific word instead of runtime word.
Nicolas Geoffray [Fri, 4 Apr 2014 09:50:14 +0000 (10:50 +0100)]
Use target-specific word instead of runtime word.

Change-Id: Ia11dc3cc520a1a5c7bd017013e5699af9570ce91

10 years agoam 7efad5d3: Merge "Disassemble Thumb2 shifts and more VFP instructions."
Vladimir Marko [Fri, 4 Apr 2014 09:25:49 +0000 (09:25 +0000)]
am 7efad5d3: Merge "Disassemble Thumb2 shifts and more VFP instructions."

* commit '7efad5d3a806a15166109837439f2e149031feef':
  Disassemble Thumb2 shifts and more VFP instructions.

10 years agoam 885e813e: Merge "Add support for new-instance and invoke-direct."
Nicolas Geoffray [Fri, 4 Apr 2014 09:25:49 +0000 (09:25 +0000)]
am 885e813e: Merge "Add support for new-instance and invoke-direct."

* commit '885e813edc121cd8392eb066981522424480253c':
  Add support for new-instance and invoke-direct.

10 years agoam 6f31ce38: Merge "Please clang by making explicit instantiations non-static."
Nicolas Geoffray [Fri, 4 Apr 2014 09:25:48 +0000 (09:25 +0000)]
am 6f31ce38: Merge "Please clang by making explicit instantiations non-static."

* commit '6f31ce382777d82952d019908866ff28ef3bbc76':
  Please clang by making explicit instantiations non-static.

10 years agoam 839f43a4: Merge "Explicitly instantiate artInvokeCommon to please analysis tool."
Nicolas Geoffray [Fri, 4 Apr 2014 09:20:50 +0000 (09:20 +0000)]
am 839f43a4: Merge "Explicitly instantiate artInvokeCommon to please analysis tool."

* commit '839f43a40c9fe170266f42a9726c02195c73d043':
  Explicitly instantiate artInvokeCommon to please analysis tool.

10 years agoam 541dd231: Merge "Insert an empty read barrier call."
Hiroshi Yamauchi [Fri, 4 Apr 2014 09:20:48 +0000 (09:20 +0000)]
am 541dd231: Merge "Insert an empty read barrier call."

* commit '541dd231f9a7282f7fd1092349a322dc67bafaf2':
  Insert an empty read barrier call.

10 years agoMerge "Disassemble Thumb2 shifts and more VFP instructions."
Vladimir Marko [Fri, 4 Apr 2014 09:14:00 +0000 (09:14 +0000)]
Merge "Disassemble Thumb2 shifts and more VFP instructions."

10 years agoMerge "Add support for new-instance and invoke-direct."
Nicolas Geoffray [Fri, 4 Apr 2014 09:07:17 +0000 (09:07 +0000)]
Merge "Add support for new-instance and invoke-direct."

10 years agoMerge "Please clang by making explicit instantiations non-static."
Nicolas Geoffray [Fri, 4 Apr 2014 09:06:06 +0000 (09:06 +0000)]
Merge "Please clang by making explicit instantiations non-static."

10 years agoPlease clang by making explicit instantiations non-static.
Nicolas Geoffray [Fri, 4 Apr 2014 08:55:27 +0000 (09:55 +0100)]
Please clang by making explicit instantiations non-static.

Change-Id: I4112bf62c69b4f28ca369c4bf3c626be43692afd

10 years agoAdd support for new-instance and invoke-direct.
Nicolas Geoffray [Thu, 3 Apr 2014 17:49:58 +0000 (18:49 +0100)]
Add support for new-instance and invoke-direct.

Change-Id: I2daed646904f7711972a7da15d88be7573426932

10 years agoMerge "Explicitly instantiate artInvokeCommon to please analysis tool."
Nicolas Geoffray [Fri, 4 Apr 2014 08:35:57 +0000 (08:35 +0000)]
Merge "Explicitly instantiate artInvokeCommon to please analysis tool."

10 years agoExplicitly instantiate artInvokeCommon to please analysis tool.
Nicolas Geoffray [Fri, 4 Apr 2014 08:26:24 +0000 (09:26 +0100)]
Explicitly instantiate artInvokeCommon to please analysis tool.

Change-Id: I5c078a197c5026e9bd886d0ba1e188054b5ffa75

10 years agoMerge "Insert an empty read barrier call."
Hiroshi Yamauchi [Fri, 4 Apr 2014 04:34:09 +0000 (04:34 +0000)]
Merge "Insert an empty read barrier call."

10 years agoInsert an empty read barrier call.
Hiroshi Yamauchi [Thu, 3 Apr 2014 00:32:54 +0000 (17:32 -0700)]
Insert an empty read barrier call.

Bug: 12687968
Change-Id: Ie1d28658e16e09f6a983cb5c1f0d5b375b7ae069

10 years agoam e9236f03: Merge "Fix Object::Clone()\'s pre-fence barrier."
Hiroshi Yamauchi [Fri, 4 Apr 2014 03:06:48 +0000 (03:06 +0000)]
am e9236f03: Merge "Fix Object::Clone()\'s pre-fence barrier."

* commit 'e9236f03d8c4348a8f1a8767baa1aea60ecdc1f5':
  Fix Object::Clone()'s pre-fence barrier.

10 years agoMerge "Fix Object::Clone()'s pre-fence barrier."
Hiroshi Yamauchi [Fri, 4 Apr 2014 02:54:16 +0000 (02:54 +0000)]
Merge "Fix Object::Clone()'s pre-fence barrier."

10 years agoart_quick_lock_object uses registers incorrectly
Serguei Katkov [Thu, 3 Apr 2014 08:17:26 +0000 (15:17 +0700)]
art_quick_lock_object uses registers incorrectly

x86 implementation of art_quick_lock_object uses registers
incorrectly in the case of .Lalready_thin. eax points to object
while it is used as holding the lock word.

The patch fixes this.

Change-Id: Iacf1a40c6570fae78a5504ca3b2f1218631f7a8f
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>