OSDN Git Service

android-x86/art.git
9 years agoam 203c13f7: am ca47c2ec: Merge "Quick: Disable DCE until we fix FP/Core reg mismatches."
Vladimir Marko [Wed, 18 Feb 2015 14:47:58 +0000 (14:47 +0000)]
am 203c13f7: am ca47c2ec: Merge "Quick: Disable DCE until we fix FP/Core reg mismatches."

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

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 0a42770b: am 35757740: Merge "Avoid generating jmp +0."
Nicolas Geoffray [Wed, 18 Feb 2015 10:21:55 +0000 (10:21 +0000)]
am 0a42770b: am 35757740: Merge "Avoid generating jmp +0."

* commit '0a42770bbbdb22688512d3ad45c01e503889dd72':
  Avoid generating jmp +0.

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 9b717aab: am de740218: Merge "Follow up 129144"
Sebastien Hertz [Wed, 18 Feb 2015 08:40:38 +0000 (08:40 +0000)]
am 9b717aab: am de740218: Merge "Follow up 129144"

* commit '9b717aabe20cf4de8f9c6f6ac35ebc1b9542def9':
  Follow up 129144

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 agoam 0b474276: am afba6968: Merge "Dead code elimination based on GVN results."
Vladimir Marko [Tue, 17 Feb 2015 22:41:31 +0000 (22:41 +0000)]
am 0b474276: am afba6968: Merge "Dead code elimination based on GVN results."

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

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 911ad672: am 17609db4: Merge "art: Fix bug in VariantMap::Set"
Igor Murashkin [Tue, 17 Feb 2015 19:12:43 +0000 (19:12 +0000)]
am 911ad672: am 17609db4: Merge "art: Fix bug in VariantMap::Set"

* commit '911ad67266aacea8a273dc3898b962f26aea0da6':
  art: Fix bug in VariantMap::Set

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 e431951e: am 6e27f821: Merge "Opt compiler: ARM64: Fix blocking fp registers."
Nicolas Geoffray [Mon, 16 Feb 2015 11:45:00 +0000 (11:45 +0000)]
am e431951e: am 6e27f821: Merge "Opt compiler: ARM64: Fix blocking fp registers."

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

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 199c461a: am e5f5953e: Merge "ART: Rewrite ThreadStress for easier extensibility"
Andreas Gampe [Fri, 13 Feb 2015 23:50:07 +0000 (23:50 +0000)]
am 199c461a: am e5f5953e: Merge "ART: Rewrite ThreadStress for easier extensibility"

* commit '199c461a81e6aa861a2b728497992d4898fd38e2':
  ART: Rewrite ThreadStress for easier extensibility

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 agoam 0d7e11bd: am 6bf6ce19: Merge "ART: Add more details to LinkageError"
Andreas Gampe [Fri, 13 Feb 2015 23:40:47 +0000 (23:40 +0000)]
am 0d7e11bd: am 6bf6ce19: Merge "ART: Add more details to LinkageError"

* commit '0d7e11bd7ee4e2c0b18b7927d9326e5defaface4':
  ART: Add more details to LinkageError

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 4d56b61a: am 5b2c6ec4: Merge "ART: Allow class-loading during deopt"
Andreas Gampe [Fri, 13 Feb 2015 22:18:54 +0000 (22:18 +0000)]
am 4d56b61a: am 5b2c6ec4: Merge "ART: Allow class-loading during deopt"

* commit '4d56b61a3e41eed613e3cf2bce5658dd09793db4':
  ART: Allow class-loading during deopt

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 e915b7ab: am e032d5d4: Merge "Add tests for wide constants in LVN."
Vladimir Marko [Fri, 13 Feb 2015 20:36:53 +0000 (20:36 +0000)]
am e915b7ab: am e032d5d4: Merge "Add tests for wide constants in LVN."

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

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 8762b64b: am bce88994: Merge "Clean up Scoped-/ArenaAlocator array allocations."
Vladimir Marko [Fri, 13 Feb 2015 18:19:59 +0000 (18:19 +0000)]
am 8762b64b: am bce88994: Merge "Clean up Scoped-/ArenaAlocator array allocations."

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

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 b50a0ba7: am 58e42c6e: Merge "Optimize double/float immediate loading on arm."
Nicolas Geoffray [Fri, 13 Feb 2015 15:55:55 +0000 (15:55 +0000)]
am b50a0ba7: am 58e42c6e: Merge "Optimize double/float immediate loading on arm."

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

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 cfc3c213: am 94246d41: Merge "LVN handles const-wide/32 incorrectly"
Vladimir Marko [Fri, 13 Feb 2015 12:04:44 +0000 (12:04 +0000)]
am cfc3c213: am 94246d41: Merge "LVN handles const-wide/32 incorrectly"

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

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 280d1d54: am 8240a8af: Merge "Support hints for register pairs."
Nicolas Geoffray [Fri, 13 Feb 2015 05:56:46 +0000 (05:56 +0000)]
am 280d1d54: am 8240a8af: Merge "Support hints for register pairs."

* commit '280d1d54954068502adf38e8b5fd6dc51b085f5d':
  Support hints for register pairs.

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 agoam 91f67606: am 54097016: Merge "Be more lenient with 4 byte UTF-8 sequences."
Narayan Kamath [Thu, 12 Feb 2015 17:42:51 +0000 (17:42 +0000)]
am 91f67606: am 54097016: Merge "Be more lenient with 4 byte UTF-8 sequences."

* commit '91f67606509d26b95e5837c32cd3dbdb4c2f4620':
  Be more lenient with 4 byte UTF-8 sequences.

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 9605c8e7: am afc4ef58: am 227dfb0a: Fix false alarm on thread suspend timeout
tony.ys_liu [Wed, 11 Feb 2015 19:20:55 +0000 (19:20 +0000)]
am 9605c8e7: am afc4ef58: am 227dfb0a: Fix false alarm on thread suspend timeout

* commit '9605c8e7f3362a54bca4d1e89b53bcbc9489c04b':
  Fix false alarm on thread suspend timeout

9 years agoam afc4ef58: am 227dfb0a: Fix false alarm on thread suspend timeout
tony.ys_liu [Wed, 11 Feb 2015 17:31:00 +0000 (17:31 +0000)]
am afc4ef58: am 227dfb0a: Fix false alarm on thread suspend timeout

* commit 'afc4ef58d1c153a7f08ef5522f0d108b370c5515':
  Fix false alarm on thread suspend timeout

9 years agoam 227dfb0a: Fix false alarm on thread suspend timeout
tony.ys_liu [Wed, 11 Feb 2015 17:24:56 +0000 (17:24 +0000)]
am 227dfb0a: Fix false alarm on thread suspend timeout

* commit '227dfb0a25d020f0571eb194b98eca350bd6d036':
  Fix false alarm on thread suspend timeout

9 years agoFix false alarm on thread suspend timeout
tony.ys_liu [Wed, 14 Jan 2015 10:28:03 +0000 (18:28 +0800)]
Fix false alarm on thread suspend timeout

Root cause:
  CLOCK_REALTIME will jump backward/forward when system time-of-day clock is changed.
  It implies now_abs_ts will jump a lot across end_abs_ts.
  Then, it makes a false alarm (process crash) on thread suspend timeout when doing ComputeRelativeTimeSpec.

      if (ComputeRelativeTimeSpec(&rel_ts, end_abs_ts, now_abs_ts)) {
        return false;  // Timed out.
      }

Solution:
  Use CLOCK_MONOTONIC instead

Bug: 19296054
Bug: 19268145

(cherry picked from commit 071e48ecfc95b1c67b07c975190d51f646ac4276)

Change-Id: I68fa5afda75e53373e836dd7779821aeb6f1bd46
(cherry picked from commit 7d9ad8bb71df2b1dc957121ef2ebee69d96f8e0c)

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

* commit '3b98f4b15a0787a325b9a98d061692fd2ecd5df7':
  Fix ImageWriter::ComputeEagerResolvedStringsCallback().

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 b62d129c: (-s ours) am 44fb719e: ART: Allow class-loading during deopt
Andreas Gampe [Wed, 11 Feb 2015 06:28:21 +0000 (06:28 +0000)]
am b62d129c: (-s ours) am 44fb719e: ART: Allow class-loading during deopt

* commit 'b62d129c97632658ae77e58f78762fe3266b1ad2':
  ART: Allow class-loading during deopt

9 years agoam 44fb719e: ART: Allow class-loading during deopt
Andreas Gampe [Wed, 11 Feb 2015 02:10:25 +0000 (02:10 +0000)]
am 44fb719e: ART: Allow class-loading during deopt

* commit '44fb719e5f0f5ee7dcf4b1eae703593f1043a169':
  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
Change-Id: I5776f08ba366e9742336caba0d6af85f00629afc

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

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

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 7c4354fa: am 1d6957f0: Merge "Improve ParallelMoveResolver to work with pairs."
Nicolas Geoffray [Tue, 10 Feb 2015 19:45:10 +0000 (19:45 +0000)]
am 7c4354fa: am 1d6957f0: Merge "Improve ParallelMoveResolver to work with pairs."

* commit '7c4354fa9258b66f07a0153cd12269ebe459f951':
  Improve ParallelMoveResolver to work with pairs.

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 agoam e225a4a8: am 0525d6aa: Merge "Fix HasSameSignatureWithDifferentClassLoaders()."
Vladimir Marko [Tue, 10 Feb 2015 19:37:50 +0000 (19:37 +0000)]
am e225a4a8: am 0525d6aa: Merge "Fix HasSameSignatureWithDifferentClassLoaders()."

* commit 'e225a4a89199d1913324d81aa1eca2cb66ba99d4':
  Fix HasSameSignatureWithDifferentClassLoaders().

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 968cee57: am 53b36a26: Merge "Handle variable size of methods properly between...
Jeff Hao [Tue, 10 Feb 2015 19:02:58 +0000 (19:02 +0000)]
am 968cee57: am 53b36a26: Merge "Handle variable size of methods properly between 32 and 64 bit."

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

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

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

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."

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

9 years agoFix HasSameSignatureWithDifferentClassLoaders().
Vladimir Marko [Tue, 10 Feb 2015 18:22:57 +0000 (18:22 +0000)]
Fix HasSameSignatureWithDifferentClassLoaders().

Add a missing handle and make sure that the handle's
Get() is sequenced after the call that can cause GC.

Change-Id: I3c0479650c40ceb803bfbf658238aeea8e4b0a1a

9 years agoQuick: Rewrite Phi node insertion.
Vladimir Marko [Mon, 9 Feb 2015 12:35:05 +0000 (12:35 +0000)]
Quick: Rewrite Phi node insertion.

Delay Phi node insertion to the SSAConversion pass to allow
updating the vreg_to_ssa_map_ with INVALID_SREG when we omit
a Phi in the pruned SSA form.

Change-Id: I450dee21f7dc4353d25fc66f4d0ee01671de6e0e

9 years agoam 0b2d5c09: am 4ba86c42: Merge "ART: Remove MIRGraph::dex_pc_to_block_map_"
Vladimir Marko [Tue, 10 Feb 2015 16:54:23 +0000 (16:54 +0000)]
am 0b2d5c09: am 4ba86c42: Merge "ART: Remove MIRGraph::dex_pc_to_block_map_"

* commit '0b2d5c09b833c5ab38550cc2e869a0ca521bd5d4':
  ART: Remove MIRGraph::dex_pc_to_block_map_

9 years agoam 7cb386ab: am b276338f: Merge "Fix a compilation error for Mips64."
Nicolas Geoffray [Tue, 10 Feb 2015 16:53:55 +0000 (16:53 +0000)]
am 7cb386ab: am b276338f: Merge "Fix a compilation error for Mips64."

* commit '7cb386ab19c5ab62de83ce97c057749bccea9c15':
  Fix a compilation error for Mips64.

9 years agoam ec2bd874: am 391b87ee: Merge "ART: Arm intrinsics for Optimizing compiler"
Andreas Gampe [Tue, 10 Feb 2015 16:52:34 +0000 (16:52 +0000)]
am ec2bd874: am 391b87ee: Merge "ART: Arm intrinsics for Optimizing compiler"

* commit 'ec2bd87475a561918e6762506f91b5e85c4071d2':
  ART: Arm intrinsics for Optimizing compiler

9 years agoam 07188ca1: am 0aac8671: Merge "Improve bce so that more bounds checks can be elimin...
Mingyao Yang [Tue, 10 Feb 2015 16:51:59 +0000 (16:51 +0000)]
am 07188ca1: am 0aac8671: Merge "Improve bce so that more bounds checks can be eliminated."

* commit '07188ca139295a1462f413a5b71ec62b25aeb5a0':
  Improve bce so that more bounds checks can be eliminated.

9 years agoam 9132bd12: am 2a3611fe: Merge "Fix null check tests"
Calin Juravle [Tue, 10 Feb 2015 16:51:12 +0000 (16:51 +0000)]
am 9132bd12: am 2a3611fe: Merge "Fix null check tests"

* commit '9132bd121ddfcd93272a0d00a9a9f83fee2abd3b':
  Fix null check tests

9 years agoam 4ba86c42: Merge "ART: Remove MIRGraph::dex_pc_to_block_map_"
Vladimir Marko [Tue, 10 Feb 2015 12:16:50 +0000 (12:16 +0000)]
am 4ba86c42: Merge "ART: Remove MIRGraph::dex_pc_to_block_map_"

* commit '4ba86c428f839cb75f5838b8327e893694377590':
  ART: Remove MIRGraph::dex_pc_to_block_map_

9 years agoMerge "ART: Remove MIRGraph::dex_pc_to_block_map_"
Vladimir Marko [Tue, 10 Feb 2015 12:09:55 +0000 (12:09 +0000)]
Merge "ART: Remove MIRGraph::dex_pc_to_block_map_"

9 years agoam b276338f: Merge "Fix a compilation error for Mips64."
Nicolas Geoffray [Tue, 10 Feb 2015 01:54:20 +0000 (01:54 +0000)]
am b276338f: Merge "Fix a compilation error for Mips64."

* commit 'b276338fa8b9c7a3a75bf0187308aa5b6c4c720c':
  Fix a compilation error for Mips64.

9 years agoMerge "Fix a compilation error for Mips64."
Nicolas Geoffray [Tue, 10 Feb 2015 01:48:25 +0000 (01:48 +0000)]
Merge "Fix a compilation error for Mips64."

9 years agoFix a compilation error for Mips64.
Douglas Leung [Mon, 9 Feb 2015 23:22:26 +0000 (15:22 -0800)]
Fix a compilation error for Mips64.

Change-Id: I4f35750c4b840fce18c467995787e92bc38a7812

9 years agoART: Remove MIRGraph::dex_pc_to_block_map_
Chao-ying Fu [Wed, 12 Nov 2014 00:48:40 +0000 (16:48 -0800)]
ART: Remove MIRGraph::dex_pc_to_block_map_

This patch removes MIRGraph::dex_pc_to_block_map_, adds a local
variable dex_pc_to_block_map inside MIRGraph::InlineMethod(), and
updates several functions to pass dex_pc_to_block_map.
The goal is to limit the scope of dex_pc_to_block_map and
the usage of FindBlock, so that various compiler optimizations
cannot rely on dex pc to look up basic blocks to avoid
duplicated dex pc issues.
Also, this patch changes quick targets to use successor blocks
for switch case target generation at Mir2Lir::InstallSwitchTables().

Change-Id: I9f571efebd2706b4e1606279bd61f3b406ecd1c4
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>