OSDN Git Service

android-x86/art.git
9 years agoam 3f43b5f4: Merge "ART: Ensure order of field gaps"
Andreas Gampe [Thu, 19 Feb 2015 18:43:48 +0000 (18:43 +0000)]
am 3f43b5f4: Merge "ART: Ensure order of field gaps"

* commit '3f43b5f4881db5a1f7bd13a095f720b7c1ddba6a':
  ART: Ensure order of field gaps

9 years agoMerge "ART: Ensure order of field gaps"
Andreas Gampe [Thu, 19 Feb 2015 18:36:59 +0000 (18:36 +0000)]
Merge "ART: Ensure order of field gaps"

9 years agoART: Ensure order of field gaps
Andreas Gampe [Wed, 18 Feb 2015 23:38:57 +0000 (15:38 -0800)]
ART: Ensure order of field gaps

Disambiguate field gaps of same size by starting offset. That will
make the priority queue stable.

Bug: 19413180
Change-Id: I6302a8bbdc590af7e9ec4f332c386c375fa8d8cd

9 years agoam 6561551f: Merge "Move arenas into runtime"
Mathieu Chartier [Thu, 19 Feb 2015 18:03:56 +0000 (18:03 +0000)]
am 6561551f: Merge "Move arenas into runtime"

* commit '6561551f094f79ce569160b29131b07be7aa3363':
  Move arenas into runtime

9 years agoMerge "Move arenas into runtime"
Mathieu Chartier [Thu, 19 Feb 2015 18:00:29 +0000 (18:00 +0000)]
Merge "Move arenas into runtime"

9 years agoMove arenas into runtime
Mathieu Chartier [Wed, 18 Feb 2015 22:33:14 +0000 (14:33 -0800)]
Move arenas into runtime

Moved arena pool into the runtime.

Motivation:
Allow GC to use arena allocators, recycle arena pool for linear alloc.

Bug: 19264997
Change-Id: I8ddbb6d55ee923a980b28fb656c758c5d7697c2f

9 years agoam 8fb13085: Merge "Add suspend checks to special methods."
Vladimir Marko [Thu, 19 Feb 2015 17:49:08 +0000 (17:49 +0000)]
am 8fb13085: Merge "Add suspend checks to special methods."

* commit '8fb1308578cfea07ebe6c55312821480c9cc1e80':
  Add suspend checks to special methods.

9 years agoMerge "Add suspend checks to special methods."
Vladimir Marko [Thu, 19 Feb 2015 17:42:06 +0000 (17:42 +0000)]
Merge "Add suspend checks to special methods."

9 years agoAdd suspend checks to special methods.
Vladimir Marko [Mon, 16 Feb 2015 13:05:59 +0000 (13:05 +0000)]
Add suspend checks to special methods.

Generate suspend checks at the beginning of special methods.
If we need to call to runtime, go to the slow path where we
create a simplified but valid frame, spill all arguments,
call art_quick_test_suspend, restore necessary arguments and
return back to the fast path. This keeps the fast path
overhead to a minimum.

Bug: 19245639
Change-Id: I3de5aee783943941322a49c4cf2c4c94411dbaa2

9 years agoam 39109a06: Merge "Ensure the graph is correctly typed."
Nicolas Geoffray [Thu, 19 Feb 2015 14:05:30 +0000 (14:05 +0000)]
am 39109a06: Merge "Ensure the graph is correctly typed."

* commit '39109a06015c91188232e59fa9e60e0915d24cd7':
  Ensure the graph is correctly typed.

9 years agoMerge "Ensure the graph is correctly typed."
Nicolas Geoffray [Thu, 19 Feb 2015 14:01:59 +0000 (14:01 +0000)]
Merge "Ensure the graph is correctly typed."

9 years agoEnsure the graph is correctly typed.
Nicolas Geoffray [Wed, 18 Feb 2015 14:48:53 +0000 (14:48 +0000)]
Ensure the graph is correctly typed.

We used to be forgiving because of HIntConstant(0) also being
used for null. We now create a special HNullConstant for such uses.

Also, we need to run the dead phi elimination twice during ssa
building to ensure the correctness.

Change-Id: If479efa3680d3358800aebb1cca692fa2d94f6e5

9 years agoam 92095533: Merge "Have the opt. compiler set the size of "empty" frames to zero."
Roland Levillain [Thu, 19 Feb 2015 12:20:04 +0000 (12:20 +0000)]
am 92095533: Merge "Have the opt. compiler set the size of "empty" frames to zero."

* commit '92095533ac28879ddd8b44b559d700527ca12b8a':
  Have the opt. compiler set the size of "empty" frames to zero.

9 years agoMerge "Have the opt. compiler set the size of "empty" frames to zero."
Roland Levillain [Thu, 19 Feb 2015 12:15:55 +0000 (12:15 +0000)]
Merge "Have the opt. compiler set the size of "empty" frames to zero."

9 years agoHave the opt. compiler set the size of "empty" frames to zero.
Roland Levillain [Tue, 17 Feb 2015 15:40:09 +0000 (15:40 +0000)]
Have the opt. compiler set the size of "empty" frames to zero.

This is to mimic Quick's behavior and honor stack frame
alignment constraints after changes introduced by Change-Id
I0fdb31e8c631e99091b818874a558c9aa04b1628.

This issue use to make oatdump crash on oat files produced by
the optimized compiler (e.g.
out/host/linux-x86/framework/x86_64/core-optimizing.oat).

Change-Id: I8ba52601edb0a0993eaf8923eba55aafdce5043e

9 years agoam cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"
Sebastien Hertz [Thu, 19 Feb 2015 10:17:22 +0000 (10:17 +0000)]
am cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"

* commit 'cf3fb94a90d74361b13e7bae5aa6e0e4ae58479d':
  Fix art_quick_instrumentation_entry for x86

9 years agoMerge "Fix art_quick_instrumentation_entry for x86"
Sebastien Hertz [Thu, 19 Feb 2015 09:59:54 +0000 (09:59 +0000)]
Merge "Fix art_quick_instrumentation_entry for x86"

9 years agoFix art_quick_instrumentation_entry for x86
Sebastien Hertz [Thu, 19 Feb 2015 09:30:48 +0000 (10:30 +0100)]
Fix art_quick_instrumentation_entry for x86

Fixes the stack offset used to restore edx.

Bug: 19402798
Change-Id: Ic3636cd362684564196997c4a3b3bebdc1be9a4e

9 years agoam 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"
Andreas Gampe [Thu, 19 Feb 2015 05:02:35 +0000 (05:02 +0000)]
am 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"

* commit '1b472546657d31d38883373d8340d1441281a6a5':
  ART: Fix run-test 099-vmdebug for device

9 years agoMerge "ART: Fix run-test 099-vmdebug for device"
Andreas Gampe [Thu, 19 Feb 2015 04:54:59 +0000 (04:54 +0000)]
Merge "ART: Fix run-test 099-vmdebug for device"

9 years agoART: Fix run-test 099-vmdebug for device
Andreas Gampe [Thu, 19 Feb 2015 02:30:05 +0000 (18:30 -0800)]
ART: Fix run-test 099-vmdebug for device

We can't expect logcat errors on device. So just swallow them whole.

Bug: 18713034
Change-Id: I58d8595e86f112442a5a1c4c6ef0d614871d890f

9 years agoam 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"
Andreas Gampe [Thu, 19 Feb 2015 01:23:48 +0000 (01:23 +0000)]
am 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"

* commit '627fbe3137995904c2d67822d79201e17225e797':
  ART: Blacklist run-test 802 for tracing

9 years agoam 2ee8837c: Merge "ART: Templatize IsInt & IsUint"
Andreas Gampe [Thu, 19 Feb 2015 01:23:47 +0000 (01:23 +0000)]
am 2ee8837c: Merge "ART: Templatize IsInt & IsUint"

* commit '2ee8837c49680fa0c928fb5d5fc6ef7ae6532eea':
  ART: Templatize IsInt & IsUint

9 years agoMerge "ART: Blacklist run-test 802 for tracing"
Andreas Gampe [Thu, 19 Feb 2015 01:20:33 +0000 (01:20 +0000)]
Merge "ART: Blacklist run-test 802 for tracing"

9 years agoMerge "ART: Templatize IsInt & IsUint"
Andreas Gampe [Thu, 19 Feb 2015 01:18:01 +0000 (01:18 +0000)]
Merge "ART: Templatize IsInt & IsUint"

9 years agoART: Blacklist run-test 802 for tracing
Andreas Gampe [Thu, 19 Feb 2015 01:08:27 +0000 (17:08 -0800)]
ART: Blacklist run-test 802 for tracing

When in tracing mode, the test is meaningless as it won't force
deoptimization.

Bug: 18713034
Change-Id: I8bf2861c2937c5da73e3d7642e638818d2544fa8

9 years agoART: Templatize IsInt & IsUint
Andreas Gampe [Sat, 14 Feb 2015 03:23:55 +0000 (19:23 -0800)]
ART: Templatize IsInt & IsUint

Ensure that things are used correctly.

Change-Id: I76f082b32dcee28bbfb4c519daa401ac595873b3

9 years agoam 887653c2: Merge "Default to 64-bit for tests of methods with varying ISAs for...
Jeff Hao [Wed, 18 Feb 2015 22:50:56 +0000 (22:50 +0000)]
am 887653c2: Merge "Default to 64-bit for tests of methods with varying ISAs for valgrind."

* commit '887653c253e9d049d0817867db02392a9a3db40e':
  Default to 64-bit for tests of methods with varying ISAs for valgrind.

9 years agoam a56f1195: Merge "ART: Make run-tests more verbose"
Andreas Gampe [Wed, 18 Feb 2015 22:50:55 +0000 (22:50 +0000)]
am a56f1195: Merge "ART: Make run-tests more verbose"

* commit 'a56f11956c3ee2c18e98078737549494638e08aa':
  ART: Make run-tests more verbose

9 years agoam 698e4a89: Merge "Distinguish FP and integral constants in LVN."
Vladimir Marko [Wed, 18 Feb 2015 22:50:37 +0000 (22:50 +0000)]
am 698e4a89: Merge "Distinguish FP and integral constants in LVN."

* commit '698e4a8942b6f6005dd247a73347f8086c8e7e6e':
  Distinguish FP and integral constants in LVN.

9 years agoam a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir always"
Bill Buzbee [Wed, 18 Feb 2015 22:50:31 +0000 (22:50 +0000)]
am a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir always"

* commit 'a5c81189a5075c53d649135e0417fc075eeead5a':
  ART: Fix InsertCaseLabel to return boundary_lir always

9 years agoam 3dbce6f8: Merge "ART: Promoted register may be wrong after the load of zero fp...
Bill Buzbee [Wed, 18 Feb 2015 22:50:30 +0000 (22:50 +0000)]
am 3dbce6f8: Merge "ART: Promoted register may be wrong after the load of zero fp constant"

* commit '3dbce6f822cc9fa49505adde0a556fd67996268e':
  ART: Promoted register may be wrong after the load of zero fp constant

9 years agoMerge "Default to 64-bit for tests of methods with varying ISAs for valgrind."
Jeff Hao [Wed, 18 Feb 2015 21:41:11 +0000 (21:41 +0000)]
Merge "Default to 64-bit for tests of methods with varying ISAs for valgrind."

9 years agoMerge "ART: Make run-tests more verbose"
Andreas Gampe [Wed, 18 Feb 2015 21:41:10 +0000 (21:41 +0000)]
Merge "ART: Make run-tests more verbose"

9 years agoMerge "Distinguish FP and integral constants in LVN."
Vladimir Marko [Wed, 18 Feb 2015 18:54:15 +0000 (18:54 +0000)]
Merge "Distinguish FP and integral constants in LVN."

9 years agoMerge "ART: Fix InsertCaseLabel to return boundary_lir always"
Bill Buzbee [Wed, 18 Feb 2015 17:54:10 +0000 (17:54 +0000)]
Merge "ART: Fix InsertCaseLabel to return boundary_lir always"

9 years agoMerge "ART: Promoted register may be wrong after the load of zero fp constant"
Bill Buzbee [Wed, 18 Feb 2015 17:54:00 +0000 (17:54 +0000)]
Merge "ART: Promoted register may be wrong after the load of zero fp constant"

9 years agoDistinguish FP and integral constants in LVN.
Vladimir Marko [Wed, 18 Feb 2015 17:52:39 +0000 (17:52 +0000)]
Distinguish FP and integral constants in LVN.

Change-Id: I31a58ff19fb95a2f56420359e50332c1dce6cbc7

9 years agoam ca47c2ec: Merge "Quick: Disable DCE until we fix FP/Core reg mismatches."
Vladimir Marko [Wed, 18 Feb 2015 14:41:59 +0000 (14:41 +0000)]
am ca47c2ec: Merge "Quick: Disable DCE until we fix FP/Core reg mismatches."

* commit 'ca47c2ece95c9ea511864c51c5c3923e087d4499':
  Quick: Disable DCE until we fix FP/Core reg mismatches.

9 years agoMerge "Quick: Disable DCE until we fix FP/Core reg mismatches."
Vladimir Marko [Wed, 18 Feb 2015 14:36:59 +0000 (14:36 +0000)]
Merge "Quick: Disable DCE until we fix FP/Core reg mismatches."

9 years agoQuick: Disable DCE until we fix FP/Core reg mismatches.
Vladimir Marko [Wed, 18 Feb 2015 14:06:43 +0000 (14:06 +0000)]
Quick: Disable DCE until we fix FP/Core reg mismatches.

GVN and TypeInference can miss some FP/Core register
mismatch:
    const v0, #X     ; marked as float
    invoke-virtual v0, void foo(float)
    const v0, #X     ; marked as core
    aput v0, v1, v2  ; float[] not used
The second const is eliminated by the DCE because it writes
the same value to the same dalvik reg. We replace the SSA
register name defined by the first const and used by the
invoke-virtual with the one defined by the second const.
When we generate code for the invoke-virtual, we get a core
location and may need a temporary to set up the FP argument
and we may not have an available temporary.

This may affect the bug below (more investigation needed).

Bug: 19419671
Change-Id: I44abd390706b980c346b36c9828a3bcb4e96726d

9 years agoam 35757740: Merge "Avoid generating jmp +0."
Nicolas Geoffray [Wed, 18 Feb 2015 10:14:00 +0000 (10:14 +0000)]
am 35757740: Merge "Avoid generating jmp +0."

* commit '35757740da77220dc51d5cff3bc3a779f2eea9ef':
  Avoid generating jmp +0.

9 years agoMerge "Avoid generating jmp +0."
Nicolas Geoffray [Wed, 18 Feb 2015 09:54:39 +0000 (09:54 +0000)]
Merge "Avoid generating jmp +0."

9 years agoAvoid generating jmp +0.
Nicolas Geoffray [Mon, 16 Feb 2015 11:15:43 +0000 (11:15 +0000)]
Avoid generating jmp +0.

When a block branches to a non-following block, but blocks
in-between do branch to it, we can avoid doing the branch.

Change-Id: I9b343f662a4efc718cd4b58168f93162a24e1219

9 years agoam de740218: Merge "Follow up 129144"
Sebastien Hertz [Wed, 18 Feb 2015 08:34:36 +0000 (08:34 +0000)]
am de740218: Merge "Follow up 129144"

* commit 'de7402182c1b020dec43aa38d62fa369a4ef52b8':
  Follow up 129144

9 years agoMerge "Follow up 129144"
Sebastien Hertz [Wed, 18 Feb 2015 08:28:34 +0000 (08:28 +0000)]
Merge "Follow up 129144"

9 years agoART: Promoted register may be wrong after the load of zero fp constant
Vladimir [Wed, 11 Feb 2015 08:11:19 +0000 (14:11 +0600)]
ART: Promoted register may be wrong after the load of zero fp constant

Because of Dalvik byte code's lack of immediate typing,
the same vreg may be used in core, ref and fp operations.
To properly support GC, we must ensure that if a constant zero is loaded
into a fp view of a vreg, it must also be loaded into the core/ref view.
The code that was responsible for ensuring this failed to handle the case
of a vreg having a non-promoted fp view and a promoted core/ref view.

Change-Id: If77295aa93317e749ceacc8c1dd9e582122c368f
Signed-off-by: Vladimir <vladimir.a.ivanov@intel.com>
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoART: Make run-tests more verbose
Andreas Gampe [Wed, 18 Feb 2015 03:25:29 +0000 (19:25 -0800)]
ART: Make run-tests more verbose

Make run-tests log ERROR level on host. Adjust some internal LOG(ERROR)
to LOG(WARNING). Add check scripts to adjust for other LOG(ERROR)
messages.

Bug: 18713034
Change-Id: I2a3e055baa6a0e31f106364c300c20963a59ed94

9 years agoDefault to 64-bit for tests of methods with varying ISAs for valgrind.
Jeff Hao [Wed, 18 Feb 2015 02:01:00 +0000 (18:01 -0800)]
Default to 64-bit for tests of methods with varying ISAs for valgrind.

The size of the created methods will technically not be correct, but
they will be larger than necessary when the target is changed to 32-bit,
so valgrind will not complain.

Bug: 19368740
Change-Id: Ic78867b4700248ec6d70f5d7f6d87ce9447ac448

9 years agoam afba6968: Merge "Dead code elimination based on GVN results."
Vladimir Marko [Tue, 17 Feb 2015 22:31:30 +0000 (22:31 +0000)]
am afba6968: Merge "Dead code elimination based on GVN results."

* commit 'afba696823ec7c019de72f17cd198e91edd3bf4f':
  Dead code elimination based on GVN results.

9 years agoMerge "Dead code elimination based on GVN results."
Vladimir Marko [Tue, 17 Feb 2015 22:25:06 +0000 (22:25 +0000)]
Merge "Dead code elimination based on GVN results."

9 years agoFollow up 129144
Sebastien Hertz [Fri, 6 Feb 2015 08:16:32 +0000 (09:16 +0100)]
Follow up 129144

Passes JDWP options to debugger on runtime init so we no longer need
to keep them on the heap.

Updates ParseJdwpOption to return Result for consistency.

Bug: 19275792
Change-Id: I68b7e58908164d3e4cf9e3fbcc3dfab6ce0579a5

9 years agoDead code elimination based on GVN results.
Vladimir Marko [Fri, 2 Jan 2015 17:00:44 +0000 (17:00 +0000)]
Dead code elimination based on GVN results.

Change-Id: I5b77411a8f088f0b561da14b123cf6b0501c9db5

9 years agoam 17609db4: Merge "art: Fix bug in VariantMap::Set"
Igor Murashkin [Tue, 17 Feb 2015 19:09:10 +0000 (19:09 +0000)]
am 17609db4: Merge "art: Fix bug in VariantMap::Set"

* commit '17609db47537ea6da03db1be530ad13e67cf24db':
  art: Fix bug in VariantMap::Set

9 years agoMerge "art: Fix bug in VariantMap::Set"
Igor Murashkin [Tue, 17 Feb 2015 19:05:04 +0000 (19:05 +0000)]
Merge "art: Fix bug in VariantMap::Set"

9 years agoart: Fix bug in VariantMap::Set
Igor Murashkin [Sat, 7 Feb 2015 01:59:39 +0000 (17:59 -0800)]
art: Fix bug in VariantMap::Set

Bug: 19295410
Change-Id: I7827583846d710698c0e7bc0ec1a2c3bf901bd50

9 years agoam 6e27f821: Merge "Opt compiler: ARM64: Fix blocking fp registers."
Nicolas Geoffray [Mon, 16 Feb 2015 11:39:45 +0000 (11:39 +0000)]
am 6e27f821: Merge "Opt compiler: ARM64: Fix blocking fp registers."

* commit '6e27f82193a8f54cd8ecdc8fb2c4c1adadafbaf4':
  Opt compiler: ARM64: Fix blocking fp registers.

9 years agoMerge "Opt compiler: ARM64: Fix blocking fp registers."
Nicolas Geoffray [Mon, 16 Feb 2015 11:32:47 +0000 (11:32 +0000)]
Merge "Opt compiler: ARM64: Fix blocking fp registers."

9 years agoOpt compiler: ARM64: Fix blocking fp registers.
Zheng Xu [Sun, 15 Feb 2015 10:39:46 +0000 (18:39 +0800)]
Opt compiler: ARM64: Fix blocking fp registers.

VIXL reserved float point registers has not been blocked correctly.

Change-Id: Ie7131d86bbaff48c431e3e26abd2fa26389ac687

9 years agoam e5f5953e: Merge "ART: Rewrite ThreadStress for easier extensibility"
Andreas Gampe [Fri, 13 Feb 2015 23:44:19 +0000 (23:44 +0000)]
am e5f5953e: Merge "ART: Rewrite ThreadStress for easier extensibility"

* commit 'e5f5953e744060fde3b4489cea4d934d529e3e32':
  ART: Rewrite ThreadStress for easier extensibility

9 years agoMerge "ART: Rewrite ThreadStress for easier extensibility"
Andreas Gampe [Fri, 13 Feb 2015 23:38:25 +0000 (23:38 +0000)]
Merge "ART: Rewrite ThreadStress for easier extensibility"

9 years agoam 6bf6ce19: Merge "ART: Add more details to LinkageError"
Andreas Gampe [Fri, 13 Feb 2015 23:34:42 +0000 (23:34 +0000)]
am 6bf6ce19: Merge "ART: Add more details to LinkageError"

* commit '6bf6ce19df0b165122d5e9a593943e3bfb97ad4d':
  ART: Add more details to LinkageError

9 years agoART: Rewrite ThreadStress for easier extensibility
Andreas Gampe [Wed, 11 Jun 2014 15:20:47 +0000 (08:20 -0700)]
ART: Rewrite ThreadStress for easier extensibility

Change-Id: Ie29918bef048e9ef44877c6c601de113ca38790e

9 years agoMerge "ART: Add more details to LinkageError"
Andreas Gampe [Fri, 13 Feb 2015 23:29:33 +0000 (23:29 +0000)]
Merge "ART: Add more details to LinkageError"

9 years agoART: Add more details to LinkageError
Andreas Gampe [Fri, 13 Feb 2015 23:23:18 +0000 (15:23 -0800)]
ART: Add more details to LinkageError

Add the classes or method details that fail during linking to enable
better diagnosis of problems.

Bug: 19294695
Change-Id: Ifab48bc182cd801d44d3aead2168028f27043be0

9 years agoam 5b2c6ec4: Merge "ART: Allow class-loading during deopt"
Andreas Gampe [Fri, 13 Feb 2015 22:12:35 +0000 (22:12 +0000)]
am 5b2c6ec4: Merge "ART: Allow class-loading during deopt"

* commit '5b2c6ec47cb8585c9e15b8baf74809a07b4387a1':
  ART: Allow class-loading during deopt

9 years agoMerge "ART: Allow class-loading during deopt"
Andreas Gampe [Fri, 13 Feb 2015 22:06:58 +0000 (22:06 +0000)]
Merge "ART: Allow class-loading during deopt"

9 years agoART: Allow class-loading during deopt
Andreas Gampe [Tue, 10 Feb 2015 23:37:27 +0000 (15:37 -0800)]
ART: Allow class-loading during deopt

When deoptimizing, we might touch code that uses unloaded classes.

Bug: 19290147

(cherry picked from commit 44fb719e5f0f5ee7dcf4b1eae703593f1043a169)

Change-Id: I5776f08ba366e9742336caba0d6af85f00629afc

9 years agoam e032d5d4: Merge "Add tests for wide constants in LVN."
Vladimir Marko [Fri, 13 Feb 2015 20:30:42 +0000 (20:30 +0000)]
am e032d5d4: Merge "Add tests for wide constants in LVN."

* commit 'e032d5d40b361066088f3855b1e76bc9a740a826':
  Add tests for wide constants in LVN.

9 years agoMerge "Add tests for wide constants in LVN."
Vladimir Marko [Fri, 13 Feb 2015 20:24:50 +0000 (20:24 +0000)]
Merge "Add tests for wide constants in LVN."

9 years agoAdd tests for wide constants in LVN.
Vladimir Marko [Fri, 13 Feb 2015 19:47:13 +0000 (19:47 +0000)]
Add tests for wide constants in LVN.

Follow up to
    https://android-review.googlesource.com/132210

Change-Id: I4e29483fb9931ae5670539954b69cdb078843e72

9 years agoam bce88994: Merge "Clean up Scoped-/ArenaAlocator array allocations."
Vladimir Marko [Fri, 13 Feb 2015 18:13:43 +0000 (18:13 +0000)]
am bce88994: Merge "Clean up Scoped-/ArenaAlocator array allocations."

* commit 'bce889940f10319bf67bdc5630c84dd7f6e5c246':
  Clean up Scoped-/ArenaAlocator array allocations.

9 years agoMerge "Clean up Scoped-/ArenaAlocator array allocations."
Vladimir Marko [Fri, 13 Feb 2015 18:09:07 +0000 (18:09 +0000)]
Merge "Clean up Scoped-/ArenaAlocator array allocations."

9 years agoam 58e42c6e: Merge "Optimize double/float immediate loading on arm."
Nicolas Geoffray [Fri, 13 Feb 2015 15:49:56 +0000 (15:49 +0000)]
am 58e42c6e: Merge "Optimize double/float immediate loading on arm."

* commit '58e42c6e5571b1d3940561399faf163b9c219b57':
  Optimize double/float immediate loading on arm.

9 years agoMerge "Optimize double/float immediate loading on arm."
Nicolas Geoffray [Fri, 13 Feb 2015 15:46:21 +0000 (15:46 +0000)]
Merge "Optimize double/float immediate loading on arm."

9 years agoOptimize double/float immediate loading on arm.
Nicolas Geoffray [Wed, 11 Feb 2015 01:10:39 +0000 (01:10 +0000)]
Optimize double/float immediate loading on arm.

Also reserve a D register for temp.

Change-Id: I6584d9005b0f5685c3afcd8e9153b4c87b56aa8e

9 years agoam 94246d41: Merge "LVN handles const-wide/32 incorrectly"
Vladimir Marko [Fri, 13 Feb 2015 11:57:53 +0000 (11:57 +0000)]
am 94246d41: Merge "LVN handles const-wide/32 incorrectly"

* commit '94246d41c941bb3b04896a5e5beb4458fe528acf':
  LVN handles const-wide/32 incorrectly

9 years agoMerge "LVN handles const-wide/32 incorrectly"
Vladimir Marko [Fri, 13 Feb 2015 11:53:08 +0000 (11:53 +0000)]
Merge "LVN handles const-wide/32 incorrectly"

9 years agoClean up Scoped-/ArenaAlocator array allocations.
Vladimir Marko [Fri, 13 Feb 2015 10:28:29 +0000 (10:28 +0000)]
Clean up Scoped-/ArenaAlocator array allocations.

Change-Id: Id718f8a4450adf1608306286fa4e6b9194022532

9 years agoLVN handles const-wide/32 incorrectly
Serguei Katkov [Fri, 6 Feb 2015 11:15:36 +0000 (17:15 +0600)]
LVN handles const-wide/32 incorrectly

Redundant shift to 16 bit should be eliminated otherwise any
32 bit shift of 32 bit constant will result in 0.

Change-Id: I4969b54357bc2d9a836e89dd7919199fff966684
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoam 8240a8af: Merge "Support hints for register pairs."
Nicolas Geoffray [Fri, 13 Feb 2015 05:51:01 +0000 (05:51 +0000)]
am 8240a8af: Merge "Support hints for register pairs."

* commit '8240a8af33aedea9a4fe5c3b394d7c025ad081fb':
  Support hints for register pairs.

9 years agoMerge "Support hints for register pairs."
Nicolas Geoffray [Fri, 13 Feb 2015 05:44:19 +0000 (05:44 +0000)]
Merge "Support hints for register pairs."

9 years agoSupport hints for register pairs.
Nicolas Geoffray [Wed, 11 Feb 2015 02:29:42 +0000 (02:29 +0000)]
Support hints for register pairs.

Change-Id: Ia49dc5bf3e9a2bd481425bfe7fbeea9feb66c8e6

9 years agoART: Fix InsertCaseLabel to return boundary_lir always
Chao-ying Fu [Thu, 12 Feb 2015 22:56:18 +0000 (14:56 -0800)]
ART: Fix InsertCaseLabel to return boundary_lir always

This patch doesn't return new_label when cu_->verbose, because
we will not assign offsets to new_label at this stage.

Change-Id: Ie7f625848b0cf7cabfbba694b5c20b0784bc8501
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
9 years agoam 54097016: Merge "Be more lenient with 4 byte UTF-8 sequences."
Narayan Kamath [Thu, 12 Feb 2015 13:45:27 +0000 (13:45 +0000)]
am 54097016: Merge "Be more lenient with 4 byte UTF-8 sequences."

* commit '5409701651407747e172d753f3fddeb6eb423927':
  Be more lenient with 4 byte UTF-8 sequences.

9 years agoMerge "Be more lenient with 4 byte UTF-8 sequences."
Narayan Kamath [Thu, 12 Feb 2015 13:39:05 +0000 (13:39 +0000)]
Merge "Be more lenient with 4 byte UTF-8 sequences."

9 years agoBe more lenient with 4 byte UTF-8 sequences.
Narayan Kamath [Thu, 29 Jan 2015 20:06:46 +0000 (20:06 +0000)]
Be more lenient with 4 byte UTF-8 sequences.

Accept 4 byte sequences and convert them into surrogate
pairs instead of expecting 2 separate 3 byte sequences
each encoding one half of a surrogate pair.

Note that in addition to supporting 4 byte sequences in
strings from JNI, we also tolerate them in dex files. This
is mainly for consistency, and there's no need to claim any
sort of official support.

bug: 18848397
bug: https://code.google.com/p/android/issues/detail?id=81341
Change-Id: Ibc98d29e59d98803e640f2489ea4c56912a59b29

9 years agoam 5a3399de: Merge "Fix ImageWriter::ComputeEagerResolvedStringsCallback()."
Vladimir Marko [Wed, 11 Feb 2015 10:11:13 +0000 (10:11 +0000)]
am 5a3399de: Merge "Fix ImageWriter::ComputeEagerResolvedStringsCallback()."

* commit '5a3399deaf448c8434d9ba0916ff799b1b791d95':
  Fix ImageWriter::ComputeEagerResolvedStringsCallback().

9 years agoMerge "Fix ImageWriter::ComputeEagerResolvedStringsCallback()."
Vladimir Marko [Wed, 11 Feb 2015 10:06:21 +0000 (10:06 +0000)]
Merge "Fix ImageWriter::ComputeEagerResolvedStringsCallback()."

9 years agoFix ImageWriter::ComputeEagerResolvedStringsCallback().
Vladimir Marko [Wed, 3 Dec 2014 17:53:53 +0000 (17:53 +0000)]
Fix ImageWriter::ComputeEagerResolvedStringsCallback().

Change-Id: I1a2abd6d78dd7067d9bdbadbd81dd2fd7711fbc5

9 years agoam aa874e0b: Merge "Quick: Rewrite Phi node insertion."
Vladimir Marko [Tue, 10 Feb 2015 20:24:57 +0000 (20:24 +0000)]
am aa874e0b: Merge "Quick: Rewrite Phi node insertion."

* commit 'aa874e0bbfb21aec0661b93cb1c2ce065bc20302':
  Quick: Rewrite Phi node insertion.

9 years agoMerge "Quick: Rewrite Phi node insertion."
Vladimir Marko [Tue, 10 Feb 2015 20:19:51 +0000 (20:19 +0000)]
Merge "Quick: Rewrite Phi node insertion."

9 years agoam 1d6957f0: Merge "Improve ParallelMoveResolver to work with pairs."
Nicolas Geoffray [Tue, 10 Feb 2015 19:37:52 +0000 (19:37 +0000)]
am 1d6957f0: Merge "Improve ParallelMoveResolver to work with pairs."

* commit '1d6957f0b9d560c75a1901a83a45b4f3510a1015':
  Improve ParallelMoveResolver to work with pairs.

9 years agoMerge "Improve ParallelMoveResolver to work with pairs."
Nicolas Geoffray [Tue, 10 Feb 2015 19:33:22 +0000 (19:33 +0000)]
Merge "Improve ParallelMoveResolver to work with pairs."

9 years agoam 0525d6aa: Merge "Fix HasSameSignatureWithDifferentClassLoaders()."
Vladimir Marko [Tue, 10 Feb 2015 19:31:23 +0000 (19:31 +0000)]
am 0525d6aa: Merge "Fix HasSameSignatureWithDifferentClassLoaders()."

* commit '0525d6aa15cb9db70e26c01f7e7a695bae377268':
  Fix HasSameSignatureWithDifferentClassLoaders().

9 years agoMerge "Fix HasSameSignatureWithDifferentClassLoaders()."
Vladimir Marko [Tue, 10 Feb 2015 19:25:13 +0000 (19:25 +0000)]
Merge "Fix HasSameSignatureWithDifferentClassLoaders()."

9 years agoImprove ParallelMoveResolver to work with pairs.
Nicolas Geoffray [Tue, 10 Feb 2015 17:08:47 +0000 (17:08 +0000)]
Improve ParallelMoveResolver to work with pairs.

Change-Id: Ie2a540ffdb78f7f15d69c16a08ca2d3e794f65b9

9 years agoam 53b36a26: Merge "Handle variable size of methods properly between 32 and 64 bit."
Jeff Hao [Tue, 10 Feb 2015 18:56:35 +0000 (18:56 +0000)]
am 53b36a26: Merge "Handle variable size of methods properly between 32 and 64 bit."

* commit '53b36a26925e898b5f7cd3fad1d6a133eda62b4b':
  Handle variable size of methods properly between 32 and 64 bit.

9 years agoam 69c37c3b: Merge "Revert "Revert "Allow preopted apps to have sharpened calls for...
Jeff Hao [Tue, 10 Feb 2015 18:56:32 +0000 (18:56 +0000)]
am 69c37c3b: Merge "Revert "Revert "Allow preopted apps to have sharpened calls for non-x86 architectures."""

* commit '69c37c3b5bc868003115898a3d1754604bb6db96':
  Revert "Revert "Allow preopted apps to have sharpened calls for non-x86 architectures.""

9 years agoMerge "Handle variable size of methods properly between 32 and 64 bit."
Jeff Hao [Tue, 10 Feb 2015 18:47:42 +0000 (18:47 +0000)]
Merge "Handle variable size of methods properly between 32 and 64 bit."