OSDN Git Service

android-x86/art.git
9 years agoam b6c37c99: Merge "Update test expectations."
Nicolas Geoffray [Tue, 12 May 2015 08:49:52 +0000 (08:49 +0000)]
am b6c37c99: Merge "Update test expectations."

* commit 'b6c37c99b1f8b4a6b047076d71036af08f5d2fd1':
  Update test expectations.

9 years agoMerge "Update test expectations."
Nicolas Geoffray [Tue, 12 May 2015 08:28:33 +0000 (08:28 +0000)]
Merge "Update test expectations."

9 years agoUpdate test expectations.
Nicolas Geoffray [Tue, 12 May 2015 08:27:19 +0000 (09:27 +0100)]
Update test expectations.

Change-Id: Ic0eb5e656fb81e3e8754131296715c75a6faf358

9 years agoam bdd9f2d8: Merge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 19:08:27 +0000 (19:08 +0000)]
am bdd9f2d8: Merge "Remove unused StackHandleScope"

* commit 'bdd9f2d870099e326a281ac90993b37b999c35ea':
  Remove unused StackHandleScope

9 years agoMerge "Remove unused StackHandleScope"
Sebastien Hertz [Mon, 11 May 2015 18:58:31 +0000 (18:58 +0000)]
Merge "Remove unused StackHandleScope"

9 years agoam 1d316ada: Merge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:13:39 +0000 (18:13 +0000)]
am 1d316ada: Merge "Insert a read barrier in the JNI bridge."

* commit '1d316adafda81cb2f30e210d3d108b97c7c11f15':
  Insert a read barrier in the JNI bridge.

9 years agoMerge "Insert a read barrier in the JNI bridge."
Hiroshi Yamauchi [Mon, 11 May 2015 18:04:09 +0000 (18:04 +0000)]
Merge "Insert a read barrier in the JNI bridge."

9 years agoam bd0cfef5: Merge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 17:52:44 +0000 (17:52 +0000)]
am bd0cfef5: Merge "Fix typo in VLOG message."

* commit 'bd0cfef567012fa6c75243d9157ddceaab7cdaac':
  Fix typo in VLOG message.

9 years agoam c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."
Richard Uhler [Mon, 11 May 2015 17:52:42 +0000 (17:52 +0000)]
am c55efc73: Merge "Add more diagnostics info to flaky oat file assistant test."

* commit 'c55efc7335e35f6731b04afc3a1db838c086beb3':
  Add more diagnostics info to flaky oat file assistant test.

9 years agoam 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"
Andreas Gampe [Mon, 11 May 2015 17:52:40 +0000 (17:52 +0000)]
am 9dfba720: Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

* commit '9dfba7202b3777a14792759f097fe4da37264988':
  ART: x86 indexOf intrinsics for the optimizing compiler

9 years agoMerge "Fix typo in VLOG message."
Richard Uhler [Mon, 11 May 2015 17:46:44 +0000 (17:46 +0000)]
Merge "Fix typo in VLOG message."

9 years agoMerge "Add more diagnostics info to flaky oat file assistant test."
Richard Uhler [Mon, 11 May 2015 17:46:06 +0000 (17:46 +0000)]
Merge "Add more diagnostics info to flaky oat file assistant test."

9 years agoMerge "ART: x86 indexOf intrinsics for the optimizing compiler"
Andreas Gampe [Mon, 11 May 2015 17:42:21 +0000 (17:42 +0000)]
Merge "ART: x86 indexOf intrinsics for the optimizing compiler"

9 years agoART: x86 indexOf intrinsics for the optimizing compiler
Andreas Gampe [Thu, 7 May 2015 21:46:15 +0000 (14:46 -0700)]
ART: x86 indexOf intrinsics for the optimizing compiler

Add intrinsics implementations for indexOf in the optimizing
compiler. These are mostly ported from Quick. Add instruction
support to assemblers where necessary.

Change-Id: Ife90ed0245532a5c436a26fe84715dc357f353c8

9 years agoRemove unused StackHandleScope
Sebastien Hertz [Mon, 11 May 2015 15:53:27 +0000 (17:53 +0200)]
Remove unused StackHandleScope

It is causing crashes when there is no current thread (because it has
been detached from the runtime). It happens when we sanity check the
stack during runtime shutdown after stopping method tracing.

Bug: 20993343
Change-Id: I549664932f513a01339e5b1c34b3ddc5744888c3

9 years agoFix typo in VLOG message.
Richard Uhler [Mon, 11 May 2015 16:36:57 +0000 (09:36 -0700)]
Fix typo in VLOG message.

Change-Id: Iaf4ce1787816afce947c6e963df19d20ef5f5e1b

9 years agoAdd more diagnostics info to flaky oat file assistant test.
Richard Uhler [Mon, 11 May 2015 16:32:47 +0000 (09:32 -0700)]
Add more diagnostics info to flaky oat file assistant test.

Change-Id: Ifd0029d389ba7585a819c01fc9cc846681d0a349

9 years agoam 6108ed86: Merge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:39:50 +0000 (15:39 +0000)]
am 6108ed86: Merge "Add a flag to StackVisitor for inlining."

* commit '6108ed86bb2663e73262e290463f014e2698abc1':
  Add a flag to StackVisitor for inlining.

9 years agoMerge "Add a flag to StackVisitor for inlining."
Nicolas Geoffray [Mon, 11 May 2015 15:29:41 +0000 (15:29 +0000)]
Merge "Add a flag to StackVisitor for inlining."

9 years agoAdd a flag to StackVisitor for inlining.
Nicolas Geoffray [Wed, 6 May 2015 10:34:34 +0000 (11:34 +0100)]
Add a flag to StackVisitor for inlining.

The flag tells whether the stack walk needs to include inlined
Java frames.

This does not do anything just yet, as we're not inlining anyways.

Change-Id: I716e25094fe56fa335ca1f9a398c1bcdba478e73

9 years agoam 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."
Roland Levillain [Mon, 11 May 2015 13:46:34 +0000 (13:46 +0000)]
am 119b21a6: Merge "[optimizing] Improve 32 bit long shift by 1."

* commit '119b21a6dfdb09d983a9e56a837fbf5c98e57096':
  [optimizing] Improve 32 bit long shift by 1.

9 years agoMerge "[optimizing] Improve 32 bit long shift by 1."
Roland Levillain [Mon, 11 May 2015 13:37:09 +0000 (13:37 +0000)]
Merge "[optimizing] Improve 32 bit long shift by 1."

9 years agoam 0e4c27e5: Merge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:26:40 +0000 (13:26 +0000)]
am 0e4c27e5: Merge "Add a parent environment to HEnvironment."

* commit '0e4c27e555d854f00185603138a6434358d07757':
  Add a parent environment to HEnvironment.

9 years agoMerge "Add a parent environment to HEnvironment."
Nicolas Geoffray [Mon, 11 May 2015 13:18:05 +0000 (13:18 +0000)]
Merge "Add a parent environment to HEnvironment."

9 years agoAdd a parent environment to HEnvironment.
Nicolas Geoffray [Thu, 7 May 2015 10:57:35 +0000 (11:57 +0100)]
Add a parent environment to HEnvironment.

This code has no functionality change. It adds a placeholder
for chaining inlined frames.

Change-Id: I5ec57335af76ee406052345b947aad98a6a4423a

9 years ago[optimizing] Improve 32 bit long shift by 1.
Mark Mendell [Wed, 6 May 2015 01:34:03 +0000 (21:34 -0400)]
[optimizing] Improve 32 bit long shift by 1.

Also change FOO << 1 to FOO+FOO in the instruction simplifier.  This is
an architecture independent simplification, which helps 'long << 1' for
32 bit architectures.

Generate an add/adc for long << 1 in x86, in case something is generated
after the simplifier.

Add test cases for the simplification.

Change-Id: I0d512331ef13cc4ccf10c80f11c370a10ed02294
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoam cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:25:48 +0000 (14:25 +0000)]
am cdeb0b5f: Merge "[optimizing] Tune some x86_64 moves"

* commit 'cdeb0b5fede4c06488f43a212591e661d946bc78':
  [optimizing] Tune some x86_64 moves

9 years agoMerge "[optimizing] Tune some x86_64 moves"
Nicolas Geoffray [Sat, 9 May 2015 14:17:51 +0000 (14:17 +0000)]
Merge "[optimizing] Tune some x86_64 moves"

9 years agoam 775b7b88: Merge "Don\'t allow JIT to compile native methods"
Mathieu Chartier [Sat, 9 May 2015 00:17:33 +0000 (00:17 +0000)]
am 775b7b88: Merge "Don\'t allow JIT to compile native methods"

* commit '775b7b888a13315b8b7722564c2824baabb98221':
  Don't allow JIT to compile native methods

9 years agoMerge "Don't allow JIT to compile native methods"
Mathieu Chartier [Sat, 9 May 2015 00:07:34 +0000 (00:07 +0000)]
Merge "Don't allow JIT to compile native methods"

9 years agoDon't allow JIT to compile native methods
Mathieu Chartier [Sat, 9 May 2015 00:05:01 +0000 (17:05 -0700)]
Don't allow JIT to compile native methods

Change-Id: I12722309ba52c430e23ab862b29f7a48383f00d2

9 years agoam 591d8e4e: Merge "Add stub_test implementation for mips & mips64"
Andreas Gampe [Fri, 8 May 2015 23:31:20 +0000 (23:31 +0000)]
am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"

* commit '591d8e4e6a171c2cc7417bec55f48858ffc1e677':
  Add stub_test implementation for mips & mips64

9 years agoam e20df2a6: Merge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:31:19 +0000 (23:31 +0000)]
am e20df2a6: Merge "Fix stub_test for Mips64"

* commit 'e20df2a6a48ca4e35289459354dc25247aad7406':
  Fix stub_test for Mips64

9 years agoam 0172c5b0: Merge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:31:18 +0000 (23:31 +0000)]
am 0172c5b0: Merge "Check IsReferenceVReg during deopt"

* commit '0172c5b0a4baae0c1eb05555dabf56bc4c08f5b0':
  Check IsReferenceVReg during deopt

9 years agoMerge "Add stub_test implementation for mips & mips64"
Andreas Gampe [Fri, 8 May 2015 23:22:24 +0000 (23:22 +0000)]
Merge "Add stub_test implementation for mips & mips64"

9 years agoMerge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:21:03 +0000 (23:21 +0000)]
Merge "Fix stub_test for Mips64"

9 years agoFix stub_test for Mips64
Goran Jakovljevic [Thu, 23 Apr 2015 13:27:23 +0000 (15:27 +0200)]
Fix stub_test for Mips64

Force ENTRY macro to load GP. Instead .cpload (used for o32 abi,
not working for n64) use .cpsetup to set up GP and save previous
GP value.

Fix expectations in GetSet32Static.

Change-Id: Ie97e32fa2fee7a6e8bae6bc36e78976b8be62b79

9 years agoMerge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:19:41 +0000 (23:19 +0000)]
Merge "Check IsReferenceVReg during deopt"

9 years agoCheck IsReferenceVReg during deopt
Mathieu Chartier [Fri, 8 May 2015 21:19:26 +0000 (14:19 -0700)]
Check IsReferenceVReg during deopt

Required since the quick GC maps may not agree with the verifier
ones. Without this check we may copy stale object references into
the shadow frame.

(cherry picked from commit f00baf56ef647684888a407dbb6adadd704a2039)

Bug: 20736048
Change-Id: I7783c8a8ee45cf601b08b4c38f1dec7f7d11380c

9 years agoam 2c68641c: Merge "ART: Merge entries with same name and protect in MemMap dump."
Vladimir Marko [Fri, 8 May 2015 21:42:46 +0000 (21:42 +0000)]
am 2c68641c: Merge "ART: Merge entries with same name and protect in MemMap dump."

* commit '2c68641c0f0d8fb410cf73182acb4e498c0e558f':
  ART: Merge entries with same name and protect in MemMap dump.

9 years agoMerge "ART: Merge entries with same name and protect in MemMap dump."
Vladimir Marko [Fri, 8 May 2015 21:26:37 +0000 (21:26 +0000)]
Merge "ART: Merge entries with same name and protect in MemMap dump."

9 years agoART: Merge entries with same name and protect in MemMap dump.
Vladimir Marko [Fri, 8 May 2015 14:17:32 +0000 (15:17 +0100)]
ART: Merge entries with same name and protect in MemMap dump.

This should make the MemMap dump less chatty and allow the
logger to keep more relevant output.

Bug: 20873174
Change-Id: I09058798faa8f79d154cee5008017b03700df8db

9 years agoam 6727a481: Merge "Skip compilation when falling-through out of method code."
Calin Juravle [Fri, 8 May 2015 16:00:40 +0000 (16:00 +0000)]
am 6727a481: Merge "Skip compilation when falling-through out of method code."

* commit '6727a48193db2a0cf01af971cccffe1a6518c247':
  Skip compilation when falling-through out of method code.

9 years agoMerge "Skip compilation when falling-through out of method code."
Calin Juravle [Fri, 8 May 2015 15:52:48 +0000 (15:52 +0000)]
Merge "Skip compilation when falling-through out of method code."

9 years agoam add1d9ba: Merge "Fix typo in comments."
Richard Uhler [Fri, 8 May 2015 15:33:28 +0000 (15:33 +0000)]
am add1d9ba: Merge "Fix typo in comments."

* commit 'add1d9ba61b6ddd52f2161587baf3ae4bc8717af':
  Fix typo in comments.

9 years agoMerge "Fix typo in comments."
Richard Uhler [Fri, 8 May 2015 15:24:25 +0000 (15:24 +0000)]
Merge "Fix typo in comments."

9 years agoam 2e8da8ec: Merge "ART: Fix debug output for bad reused MemMap."
Vladimir Marko [Fri, 8 May 2015 10:42:39 +0000 (10:42 +0000)]
am 2e8da8ec: Merge "ART: Fix debug output for bad reused MemMap."

* commit '2e8da8ecb94134081c3ea18a217294db367888a3':
  ART: Fix debug output for bad reused MemMap.

9 years agoMerge "ART: Fix debug output for bad reused MemMap."
Vladimir Marko [Fri, 8 May 2015 10:31:05 +0000 (10:31 +0000)]
Merge "ART: Fix debug output for bad reused MemMap."

9 years agoART: Fix debug output for bad reused MemMap.
Vladimir Marko [Fri, 8 May 2015 10:10:16 +0000 (11:10 +0100)]
ART: Fix debug output for bad reused MemMap.

Log the error_msg instead of a pointer to it.
Raise the log level to ERROR for the process maps.

Change-Id: I95f82f013d1c6360f40e6315652d1a2dda0f39e2

9 years agoam 659f4c14: Merge "ART: Refactor 082-inline-execute"
Andreas Gampe [Fri, 8 May 2015 00:25:47 +0000 (00:25 +0000)]
am 659f4c14: Merge "ART: Refactor 082-inline-execute"

* commit '659f4c14e8e044f8efe5405ba0da50aa894dd25f':
  ART: Refactor 082-inline-execute

9 years agoMerge "ART: Refactor 082-inline-execute"
Andreas Gampe [Fri, 8 May 2015 00:17:56 +0000 (00:17 +0000)]
Merge "ART: Refactor 082-inline-execute"

9 years agoART: Refactor 082-inline-execute
Andreas Gampe [Thu, 7 May 2015 23:44:58 +0000 (16:44 -0700)]
ART: Refactor 082-inline-execute

Refactor the indexOf intrinsics tests so that the optimizing
compiler would actually compile them.

Bug: 20889065
Change-Id: I69bfda7fa3eb4ce42c593203731e3ddd61f7e1ed

9 years agoInsert a read barrier in the JNI bridge.
Hiroshi Yamauchi [Thu, 7 May 2015 17:47:27 +0000 (10:47 -0700)]
Insert a read barrier in the JNI bridge.

Bug: 20720510
Bug: 12687968
Change-Id: Ia9edb614853bad45ec25d6e2142361a8bda1eccf

9 years agoFix typo in comments.
Richard Uhler [Thu, 7 May 2015 17:52:28 +0000 (10:52 -0700)]
Fix typo in comments.

Change-Id: I6569c0fdc878f797b37509432b59b0d5c9bc5533

9 years agoam 7b4de07f: Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis."
Vladimir Marko [Thu, 7 May 2015 17:30:35 +0000 (17:30 +0000)]
am 7b4de07f: Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis."

* commit '7b4de07fffc6dbbbd986bb21b212fa0c4a2aec58':
  Quick: Fix DCE to rename SSA regs for degenerate Phis.

9 years agoam b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."
Vladimir Marko [Thu, 7 May 2015 17:30:33 +0000 (17:30 +0000)]
am b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."

* commit 'b5784d4703d8f99921d69b6b97542f2fbcac3a51':
  Quick: Abolish kMirOpCheckPart2.

9 years agoMerge "Quick: Fix DCE to rename SSA regs for degenerate Phis."
Vladimir Marko [Thu, 7 May 2015 17:21:51 +0000 (17:21 +0000)]
Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis."

9 years agoMerge "Quick: Abolish kMirOpCheckPart2."
Vladimir Marko [Thu, 7 May 2015 17:21:31 +0000 (17:21 +0000)]
Merge "Quick: Abolish kMirOpCheckPart2."

9 years ago[optimizing] Tune some x86_64 moves
Mark Mendell [Thu, 7 May 2015 15:25:03 +0000 (11:25 -0400)]
[optimizing] Tune some x86_64 moves

Generate Moves of constant FP values by loading from the constant table.

Use 'movl' to load a 64 bit register for positive 32-bit values, saving
a byte in the generated code by taking advantage of the implicit
zero extension.

Change a couple of xorq(reg, reg) to xorl to (potentially) save a byte
of code per xor.

Change-Id: I5b2a807f0d3b29294fd4e7b8ef6d654491fa0b01
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoam ba9ef537: Merge "Support multiple instrumentation clients"
Sebastien Hertz [Thu, 7 May 2015 16:20:41 +0000 (16:20 +0000)]
am ba9ef537: Merge "Support multiple instrumentation clients"

* commit 'ba9ef5377b21a627ec502da3e475b34e45d0c435':
  Support multiple instrumentation clients

9 years agoMerge "Support multiple instrumentation clients"
Sebastien Hertz [Thu, 7 May 2015 16:10:43 +0000 (16:10 +0000)]
Merge "Support multiple instrumentation clients"

9 years agoSupport multiple instrumentation clients
Sebastien Hertz [Wed, 1 Apr 2015 14:34:17 +0000 (16:34 +0200)]
Support multiple instrumentation clients

Changes Instrumentation::ConfigureStubs to support multiple clients
that need different levels of instrumenation. A client is identified
by a string key used to save the desired instrumentation level.

Also adds regression gtest instrumentation_test and some cleanup.

Bug: 19829329
Change-Id: I1fc24a86fcb7cb46d4be806895376c25cc0a0b3c

9 years agoam b882da74: Merge "Remove unused InvokeWithShadowFrame"
Sebastien Hertz [Thu, 7 May 2015 15:57:34 +0000 (15:57 +0000)]
am b882da74: Merge "Remove unused InvokeWithShadowFrame"

* commit 'b882da74db950246b5731aecad9737b63bdefef7':
  Remove unused InvokeWithShadowFrame

9 years agoMerge "Remove unused InvokeWithShadowFrame"
Sebastien Hertz [Thu, 7 May 2015 15:45:17 +0000 (15:45 +0000)]
Merge "Remove unused InvokeWithShadowFrame"

9 years agoRemove unused InvokeWithShadowFrame
Sebastien Hertz [Thu, 7 May 2015 15:23:16 +0000 (17:23 +0200)]
Remove unused InvokeWithShadowFrame

This is an artifact of the Portable compiler, probably left after its
removal https://android-review.googlesource.com/119049.

Change-Id: I7f6caa008e37e7a93792840c79713e90d0c7e1e1

9 years agoAdd stub_test implementation for mips & mips64
Goran Jakovljevic [Wed, 22 Apr 2015 12:10:53 +0000 (14:10 +0200)]
Add stub_test implementation for mips & mips64

Change-Id: I1c2f6633ff78f7d453ba90e96c26df5a79a5b207

9 years agoam 6d2d4806: Merge "Fix broken checks in IsValidPartOfMemberNameUtf8Slow."
Narayan Kamath [Thu, 7 May 2015 15:02:42 +0000 (15:02 +0000)]
am 6d2d4806: Merge "Fix broken checks in IsValidPartOfMemberNameUtf8Slow."

* commit '6d2d48066f503c16aaf15661a22c75fde7ab76c2':
  Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

9 years agoQuick: Abolish kMirOpCheckPart2.
Vladimir Marko [Thu, 7 May 2015 11:25:40 +0000 (12:25 +0100)]
Quick: Abolish kMirOpCheckPart2.

The tricks played with kMirOpCheckPart2 are making the
native GC map generation unnecessarily complex. They have
caused problems in the past and now there is bad interaction
with the DCE. Rather than fixing it time and again, remove
the pseudo-insn.

(The whole purpose of those tricks seems to be to allow the
register tracking to be used for the throwing insn before
resetting the tracking for the next block. However, it's
questionable whether that's better than processing the
throwing insn with the subsequent instructions.)

Bug: 20736048
Change-Id: I4767e4609914d3b6990da4416e5093e4ca209780

9 years agoMerge "Fix broken checks in IsValidPartOfMemberNameUtf8Slow."
Narayan Kamath [Thu, 7 May 2015 14:54:45 +0000 (14:54 +0000)]
Merge "Fix broken checks in IsValidPartOfMemberNameUtf8Slow."

9 years agoQuick: Fix DCE to rename SSA regs for degenerate Phis.
Vladimir Marko [Thu, 7 May 2015 14:53:41 +0000 (15:53 +0100)]
Quick: Fix DCE to rename SSA regs for degenerate Phis.

If we're inserting a new Phi and all its inputs are the same
SSA reg (for example, we allow a single-input Phi), some
subsequent insn may actually refer to that reg, so we need
to rename it to keep the graph in a consistent state.

Change-Id: Ic6a1907c3138f4a7d3b13f9e58e9107ca2d92f17

9 years agoam eb7c5b19: Merge "JDWP: properly combine location events"
Sebastien Hertz [Thu, 7 May 2015 14:32:57 +0000 (14:32 +0000)]
am eb7c5b19: Merge "JDWP: properly combine location events"

* commit 'eb7c5b192257c92fc38a163c57e0a8bb771e476e':
  JDWP: properly combine location events

9 years agoMerge "JDWP: properly combine location events"
Sebastien Hertz [Thu, 7 May 2015 14:22:34 +0000 (14:22 +0000)]
Merge "JDWP: properly combine location events"

9 years agoFix broken checks in IsValidPartOfMemberNameUtf8Slow.
Narayan Kamath [Wed, 6 May 2015 13:55:43 +0000 (14:55 +0100)]
Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

GetUtf16FromUtf8 returns a surrogate pair only if it encounters
a 4-byte UTF sequence. Three byte UTF sequences will only return the
first or second half of a pair so we need to check for that
explicitly.

bug: 20844537

(cherry picked from commit 3ba8671d60061359fd833f60f7a9dca14878cc0b)

Change-Id: I2e2a4f9f736cd11050a2b634b3bb27b75a0ee0ba

9 years agoam f07f71f9: Merge "Use a growable array instead of an environment during SSA."
Nicolas Geoffray [Thu, 7 May 2015 11:07:53 +0000 (11:07 +0000)]
am f07f71f9: Merge "Use a growable array instead of an environment during SSA."

* commit 'f07f71f9af8f56e738ef0451c60734ec6022d08e':
  Use a growable array instead of an environment during SSA.

9 years agoMerge "Use a growable array instead of an environment during SSA."
Nicolas Geoffray [Thu, 7 May 2015 10:57:03 +0000 (10:57 +0000)]
Merge "Use a growable array instead of an environment during SSA."

9 years agoUse a growable array instead of an environment during SSA.
Nicolas Geoffray [Thu, 7 May 2015 10:46:05 +0000 (11:46 +0100)]
Use a growable array instead of an environment during SSA.

Using an environment was convenient because it contains
a growable array. But there's no need for the environment
abstraction when being used as a temporary holder for values
of locals.

Change-Id: Idf2883fe4b8f97a31ee70b3627c1bdd23ebfff0e

9 years agoam 46a4b268: Merge "Relax the only one back-edge restriction."
Nicolas Geoffray [Thu, 7 May 2015 09:27:26 +0000 (09:27 +0000)]
am 46a4b268: Merge "Relax the only one back-edge restriction."

* commit '46a4b26855ae9fcd14c6e4435f37f09ceb134f61':
  Relax the only one back-edge restriction.

9 years agoam bc3b93ea: Merge "No need to relocate the core image for the art script."
Nicolas Geoffray [Thu, 7 May 2015 09:27:24 +0000 (09:27 +0000)]
am bc3b93ea: Merge "No need to relocate the core image for the art script."

* commit 'bc3b93eadd155342b6124d2d5ef3806ecec5dfd6':
  No need to relocate the core image for the art script.

9 years agoMerge "Relax the only one back-edge restriction."
Nicolas Geoffray [Thu, 7 May 2015 08:57:23 +0000 (08:57 +0000)]
Merge "Relax the only one back-edge restriction."

9 years agoRelax the only one back-edge restriction.
Nicolas Geoffray [Tue, 5 May 2015 16:02:20 +0000 (17:02 +0100)]
Relax the only one back-edge restriction.

The rule is in the way for better register allocation, as
it creates an artificial join point between multiple paths.

Change-Id: Ia4392890f95bcea56d143138f28ddce6c572ad58

9 years agoMerge "No need to relocate the core image for the art script."
Nicolas Geoffray [Thu, 7 May 2015 08:15:41 +0000 (08:15 +0000)]
Merge "No need to relocate the core image for the art script."

9 years agoam a6591ef9: Merge "ART: Fix mips64 jni bugs."
Andreas Gampe [Thu, 7 May 2015 03:59:37 +0000 (03:59 +0000)]
am a6591ef9: Merge "ART: Fix mips64 jni bugs."

* commit 'a6591ef95afa6bc9d89c0c6044635ec7a13d4c55':
  ART: Fix mips64 jni bugs.

9 years agoMerge "ART: Fix mips64 jni bugs."
Andreas Gampe [Thu, 7 May 2015 03:50:01 +0000 (03:50 +0000)]
Merge "ART: Fix mips64 jni bugs."

9 years agoART: Fix mips64 jni bugs.
Douglas Leung [Fri, 1 May 2015 02:22:49 +0000 (19:22 -0700)]
ART: Fix mips64 jni bugs.

For mips64, 32-bits loads can be zero extended or sign extended to
64-bits. The extension type must match the data type to be loaded.

Also re-enable mips64 generic jni testing.

Change-Id: I9cabaf80b4fde63d9868fccd74593b36d1c324e8

9 years agoam 225f679f: Merge "In quick compiler, force string init invoke to be fast path."
Jeff Hao [Thu, 7 May 2015 01:36:39 +0000 (01:36 +0000)]
am 225f679f: Merge "In quick compiler, force string init invoke to be fast path."

* commit '225f679f1d276e16e95960fcbe9743f95012adfa':
  In quick compiler, force string init invoke to be fast path.

9 years agoMerge "In quick compiler, force string init invoke to be fast path."
Jeff Hao [Thu, 7 May 2015 01:29:19 +0000 (01:29 +0000)]
Merge "In quick compiler, force string init invoke to be fast path."

9 years agoIn quick compiler, force string init invoke to be fast path.
Jeff Hao [Thu, 7 May 2015 00:41:32 +0000 (17:41 -0700)]
In quick compiler, force string init invoke to be fast path.

Was running into an issue where a secondary dex file was falling back on
the quick compiler, and IsFastInvoke returned 0 because the
referrer_class was nullptr, causing the string init to be slow path. The
string init technically does not have to be fast path, but there's no
reason to duplicate the logic to call off a thread pointer on the slow
path.

Bug: 20870917

(cherry picked from commit I47e1524d939eb7e9b1da8186092fafc6e925009e)

Change-Id: Ieacd965943759de2b075c30e03cf0a71863f499e

9 years agoam 8771be9a: Merge "Fix mips64 bugs."
Andreas Gampe [Thu, 7 May 2015 00:08:29 +0000 (00:08 +0000)]
am 8771be9a: Merge "Fix mips64 bugs."

* commit '8771be9a5826ebe12cea0c2feb0fa085df5d60a2':
  Fix mips64 bugs.

9 years agoMerge "Fix mips64 bugs."
Andreas Gampe [Wed, 6 May 2015 23:53:00 +0000 (23:53 +0000)]
Merge "Fix mips64 bugs."

9 years agoNo need to relocate the core image for the art script.
Nicolas Geoffray [Wed, 6 May 2015 17:38:19 +0000 (18:38 +0100)]
No need to relocate the core image for the art script.

Change-Id: Idd540175e197602e318eeb3764f552372aadce1f

9 years agoam 23d358b6: Merge "Quick: Inline synthetic accessors generated by jack."
Vladimir Marko [Wed, 6 May 2015 15:27:41 +0000 (15:27 +0000)]
am 23d358b6: Merge "Quick: Inline synthetic accessors generated by jack."

* commit '23d358b621dbe11d6da918ab310ed3f1a5fc0558':
  Quick: Inline synthetic accessors generated by jack.

9 years agoMerge "Quick: Inline synthetic accessors generated by jack."
Vladimir Marko [Wed, 6 May 2015 15:19:23 +0000 (15:19 +0000)]
Merge "Quick: Inline synthetic accessors generated by jack."

9 years agoQuick: Inline synthetic accessors generated by jack.
Vladimir Marko [Wed, 6 May 2015 13:09:04 +0000 (14:09 +0100)]
Quick: Inline synthetic accessors generated by jack.

While javac names synthetic accessors "access$nnn", jack
names them "-getN", "-putN" and "-wrapN". For simplicity,
treat all methods starting with "-" as synthetic accessors.

Bug: 20873367
Change-Id: I67990a6c2ef1d25dafe460ef70143a113bb5b7da

9 years agoam dceab011: Merge "Bump jdwp timeout to 12 minutes."
Nicolas Geoffray [Wed, 6 May 2015 14:08:42 +0000 (14:08 +0000)]
am dceab011: Merge "Bump jdwp timeout to 12 minutes."

* commit 'dceab011395333520959cf743d680bcf5dc78797':
  Bump jdwp timeout to 12 minutes.

9 years agoMerge "Bump jdwp timeout to 12 minutes."
Nicolas Geoffray [Wed, 6 May 2015 14:02:23 +0000 (14:02 +0000)]
Merge "Bump jdwp timeout to 12 minutes."

9 years agoBump jdwp timeout to 12 minutes.
Nicolas Geoffray [Wed, 6 May 2015 13:57:09 +0000 (14:57 +0100)]
Bump jdwp timeout to 12 minutes.

A run on volantis now is around 10 minutes.

Change-Id: I6e1f436d71da6eec55e984f7af99ba34438e49fb

9 years agoam 9cce14f5: Merge "Re-enable JDWP tests on volantis."
Nicolas Geoffray [Wed, 6 May 2015 08:47:43 +0000 (08:47 +0000)]
am 9cce14f5: Merge "Re-enable JDWP tests on volantis."

* commit '9cce14f56a59bbce52254ffc50ea6817fd94d8dd':
  Re-enable JDWP tests on volantis.

9 years agoam 644fa22a: Merge "Fix instrumentation exit stub for arm64"
Sebastien Hertz [Wed, 6 May 2015 08:47:42 +0000 (08:47 +0000)]
am 644fa22a: Merge "Fix instrumentation exit stub for arm64"

* commit '644fa22a432ad0f717878331e745d6c25cc57d5d':
  Fix instrumentation exit stub for arm64

9 years agoMerge "Re-enable JDWP tests on volantis."
Nicolas Geoffray [Wed, 6 May 2015 08:23:00 +0000 (08:23 +0000)]
Merge "Re-enable JDWP tests on volantis."

9 years agoRe-enable JDWP tests on volantis.
Nicolas Geoffray [Wed, 6 May 2015 08:19:32 +0000 (09:19 +0100)]
Re-enable JDWP tests on volantis.

Change-Id: Ibf1d16c9830155526cee38e242a4de9a3d5ed943