OSDN Git Service

android-x86/art.git
9 years agoam 623f0882: am dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips...
Andreas Gampe [Fri, 8 May 2015 23:55:40 +0000 (23:55 +0000)]
am 623f0882: am dc5b620f: am 591d8e4e: Merge "Add stub_test implementation for mips & mips64"

* commit '623f0882c0f0f756512aa010060960e571751bdf':
  Add stub_test implementation for mips & mips64

9 years agoam 11f663fc: am 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"
Andreas Gampe [Fri, 8 May 2015 23:55:39 +0000 (23:55 +0000)]
am 11f663fc: am 05c67f03: am e20df2a6: Merge "Fix stub_test for Mips64"

* commit '11f663fc3c7737cb99399b2de2ea219de9b22034':
  Fix stub_test for Mips64

9 years agoam 74388c53: am 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"
Mathieu Chartier [Fri, 8 May 2015 23:55:38 +0000 (23:55 +0000)]
am 74388c53: am 8515f6a5: am 0172c5b0: Merge "Check IsReferenceVReg during deopt"

* commit '74388c530621556f93530d7b0e334bd5ae904f3b':
  Check IsReferenceVReg during deopt

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

* commit 'dc5b620fa1ad60b81c8fdcf81bff058fc1e0aab6':
  Add stub_test implementation for mips & mips64

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

* commit '05c67f03fe14cbc8cff58353fd35984b84225df5':
  Fix stub_test for Mips64

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

* commit '8515f6a55c7f010cde743c8ace5c218173c0dc9b':
  Check IsReferenceVReg during deopt

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 agoam e4102105: am b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev
Mathieu Chartier [Fri, 8 May 2015 23:00:21 +0000 (23:00 +0000)]
am e4102105: am b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev

* commit 'e4102105b0293662ec4a9b1abd1fcd955e588e30':
  Check IsReferenceVReg during deopt

9 years agoam b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev
Mathieu Chartier [Fri, 8 May 2015 22:46:27 +0000 (22:46 +0000)]
am b39cc9d6: Merge "Check IsReferenceVReg during deopt" into mnc-dev

* commit 'b39cc9d64b255921b7cf3f9bcf526c29e9cd7c9d':
  Check IsReferenceVReg during deopt

9 years agoMerge "Check IsReferenceVReg during deopt" into mnc-dev
Mathieu Chartier [Fri, 8 May 2015 22:22:07 +0000 (22:22 +0000)]
Merge "Check IsReferenceVReg during deopt" into mnc-dev

9 years agoam e129b631: am dd5a4d0a: ART: Merge entries with same name and protect in MemMap...
Vladimir Marko [Fri, 8 May 2015 22:13:18 +0000 (22:13 +0000)]
am e129b631: am dd5a4d0a: ART: Merge entries with same name and protect in MemMap dump.

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

9 years agoam e786a7ba: am 2619371b: am 2c68641c: Merge "ART: Merge entries with same name and...
Vladimir Marko [Fri, 8 May 2015 22:13:17 +0000 (22:13 +0000)]
am e786a7ba: am 2619371b: am 2c68641c: Merge "ART: Merge entries with same name and protect in MemMap dump."

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

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 dd5a4d0a: ART: Merge entries with same name and protect in MemMap dump.
Vladimir Marko [Fri, 8 May 2015 21:56:30 +0000 (21:56 +0000)]
am dd5a4d0a: ART: Merge entries with same name and protect in MemMap dump.

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

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

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

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

Bug: 20736048
Change-Id: I7783c8a8ee45cf601b08b4c38f1dec7f7d11380c

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

(cherry picked from commit 17a924abde2b0f1f37f6008b451a0a75190c71ff)

Change-Id: I1748f57a1f149a5498b42ee246f13d2bf1e8c2f7

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 00dcbc36: am 8ee43e3c: ART: Fix debug output for bad reused MemMap.
Vladimir Marko [Fri, 8 May 2015 16:58:56 +0000 (16:58 +0000)]
am 00dcbc36: am 8ee43e3c: ART: Fix debug output for bad reused MemMap.

* commit '00dcbc3651b53a930e9003b3f2e6d052e4624aa2':
  ART: Fix debug output for bad reused MemMap.

9 years agoam aa41220a: am 5eae4555: Support multiple instrumentation clients
Sebastien Hertz [Fri, 8 May 2015 16:58:55 +0000 (16:58 +0000)]
am aa41220a: am 5eae4555: Support multiple instrumentation clients

* commit 'aa41220a9ebdc149b2e8ef069a9f2bcb9f7cd7e5':
  Support multiple instrumentation clients

9 years agoam 8ee43e3c: ART: Fix debug output for bad reused MemMap.
Vladimir Marko [Fri, 8 May 2015 16:40:24 +0000 (16:40 +0000)]
am 8ee43e3c: ART: Fix debug output for bad reused MemMap.

* commit '8ee43e3ce18e90bfbf8cbeb05ff78ad281015d1a':
  ART: Fix debug output for bad reused MemMap.

9 years agoam 5eae4555: Support multiple instrumentation clients
Sebastien Hertz [Fri, 8 May 2015 16:40:11 +0000 (16:40 +0000)]
am 5eae4555: Support multiple instrumentation clients

* commit '5eae455507399286c845ba54796c47087a72b3e2':
  Support multiple instrumentation clients

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

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

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

* commit '7381073d52bb1598674e5eb3af483780b1848dcd':
  Skip compilation when falling-through out of method code.

9 years agoam 863fd4ae: am 1f927a86: am add1d9ba: Merge "Fix typo in comments."
Richard Uhler [Fri, 8 May 2015 16:04:10 +0000 (16:04 +0000)]
am 863fd4ae: am 1f927a86: am add1d9ba: Merge "Fix typo in comments."

* commit '863fd4aea0b4270e841ba867e0f7d1762e4613bb':
  Fix typo in comments.

9 years agoam 5c34846a: am 0b4408d5: am 2e8da8ec: Merge "ART: Fix debug output for bad reused...
Vladimir Marko [Fri, 8 May 2015 16:04:06 +0000 (16:04 +0000)]
am 5c34846a: am 0b4408d5: am 2e8da8ec: Merge "ART: Fix debug output for bad reused MemMap."

* commit '5c34846aec68e55dd7e5a77bb6f2fa8d9ab536bd':
  ART: Fix debug output for bad reused MemMap.

9 years agoam 7f951ac5: am e15eea0b: am 659f4c14: Merge "ART: Refactor 082-inline-execute"
Andreas Gampe [Fri, 8 May 2015 16:03:27 +0000 (16:03 +0000)]
am 7f951ac5: am e15eea0b: am 659f4c14: Merge "ART: Refactor 082-inline-execute"

* commit '7f951ac53315f8abc477f3c7fc18750d87e95dea':
  ART: Refactor 082-inline-execute

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 1f927a86: am add1d9ba: Merge "Fix typo in comments."
Richard Uhler [Fri, 8 May 2015 15:45:02 +0000 (15:45 +0000)]
am 1f927a86: am add1d9ba: Merge "Fix typo in comments."

* commit '1f927a86e3e70619a0005eb976c229c9dbfda9e3':
  Fix typo in comments.

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 0b4408d5: am 2e8da8ec: Merge "ART: Fix debug output for bad reused MemMap."
Vladimir Marko [Fri, 8 May 2015 10:53:33 +0000 (10:53 +0000)]
am 0b4408d5: am 2e8da8ec: Merge "ART: Fix debug output for bad reused MemMap."

* commit '0b4408d5587af57c76cd7f2af2d975f4eae20f8e':
  ART: Fix debug output for bad reused MemMap.

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

(cherry picked from commit b5505823ad3d0bab8fc9c15c266a3d8cd96ee59e)

Change-Id: Ib0c258961e2384125907aca4bae2108f36067d5f

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 e15eea0b: am 659f4c14: Merge "ART: Refactor 082-inline-execute"
Andreas Gampe [Fri, 8 May 2015 00:54:37 +0000 (00:54 +0000)]
am e15eea0b: am 659f4c14: Merge "ART: Refactor 082-inline-execute"

* commit 'e15eea0b6548fe933b5a22d5d9b2c97908399403':
  ART: Refactor 082-inline-execute

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 agoam 1df8987a: am c3cde2c0: JDWP: properly combine location events
Sebastien Hertz [Thu, 7 May 2015 22:12:28 +0000 (22:12 +0000)]
am 1df8987a: am c3cde2c0: JDWP: properly combine location events

* commit '1df8987ae5ac56eeaf50eaca9bf0dd284126b3dc':
  JDWP: properly combine location events

9 years agoam c3cde2c0: JDWP: properly combine location events
Sebastien Hertz [Thu, 7 May 2015 21:35:17 +0000 (21:35 +0000)]
am c3cde2c0: JDWP: properly combine location events

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

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

(cherry picked from commit 0462c4c87c39db6cfcd338f323844738109ac3c9)

Change-Id: I1fc24a86fcb7cb46d4be806895376c25cc0a0b3c

9 years agoJDWP: properly combine location events
Sebastien Hertz [Fri, 10 Apr 2015 10:12:33 +0000 (12:12 +0200)]
JDWP: properly combine location events

This CL properly groups JDWP events at the same location: Breakpoint,
Single-step, Method Entry and Method Exit. This is necessary if the
debugger is not the only instrumentation listener. This matches the
behavior of Dalvik, especially for methods with a single return
instruction.

The interpreter was tuned so the instrumentation callbacks were
called to satisfy the debugger with the idea the debugger was the
only instrumentation listener. This is not true when method tracing
is enabled at the same time.
When tracing is enabled, there is always a listener for MethodEntry
and MethodExit events (art::Trace class). However, if the debugger
is only listening to DexPcMoved event (to manage JDWP Breakpoint
event), it will not be notified of this event.

We now properly call all the instrumentation callbacks in the
interpreter and move the logic specific to debugging into the class
DebugInstrumentationListener. This allows to properly group JDWP
location events together depending on the sequence of instrumentation
callbacks.

We add Thread::tls_32bit_sized_values::debug_method_entry_ flag to
remember we just entered a method. It replaces the local variable
notified_method_entry_event in the interpreter and simplifies the
code.

Bump oat version to force recompilation because the layout of the
Thread class is modified.

Bug: 19829329
Bug: 20205350

(cherry picked from commit 9d6bf69ad3012a9d843268fdd5325b6719b6d5f2)

Change-Id: I204af9112e37d2eebc86661fb7c961a41c74e598

9 years agoam 3772670f: am 5260d145: Merge "Quick: Fix DCE to rename SSA regs for degenerate...
Vladimir Marko [Thu, 7 May 2015 19:21:27 +0000 (19:21 +0000)]
am 3772670f: am 5260d145: Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis." into mnc-dev

* commit '3772670f8120c602c87d039ea25cf075e8f4e343':
  Quick: Fix DCE to rename SSA regs for degenerate Phis.

9 years agoam d2775e09: am f80552b7: Quick: Abolish kMirOpCheckPart2.
Vladimir Marko [Thu, 7 May 2015 19:21:26 +0000 (19:21 +0000)]
am d2775e09: am f80552b7: Quick: Abolish kMirOpCheckPart2.

* commit 'd2775e092ce5cf62f51d2ec55478bf2b5e41d5e7':
  Quick: Abolish kMirOpCheckPart2.

9 years agoam 5260d145: Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis." into...
Vladimir Marko [Thu, 7 May 2015 19:11:30 +0000 (19:11 +0000)]
am 5260d145: Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis." into mnc-dev

* commit '5260d14566d13b1767ca63d2768d9b0e0a1bba33':
  Quick: Fix DCE to rename SSA regs for degenerate Phis.

9 years agoam f80552b7: Quick: Abolish kMirOpCheckPart2.
Vladimir Marko [Thu, 7 May 2015 19:11:29 +0000 (19:11 +0000)]
am f80552b7: Quick: Abolish kMirOpCheckPart2.

* commit 'f80552b7e5f627a5dd07af017b7d65dec010ca48':
  Quick: Abolish kMirOpCheckPart2.

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

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

9 years agoam 183b0dff: am 9888b444: am b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."
Vladimir Marko [Thu, 7 May 2015 18:38:58 +0000 (18:38 +0000)]
am 183b0dff: am 9888b444: am b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."

* commit '183b0dff49c3432eb68557706d72ddebd1fe8416':
  Quick: Abolish kMirOpCheckPart2.

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

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

9 years agoam 9888b444: am b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."
Vladimir Marko [Thu, 7 May 2015 18:27:05 +0000 (18:27 +0000)]
am 9888b444: am b5784d47: Merge "Quick: Abolish kMirOpCheckPart2."

* commit '9888b44423953f71b4d29843d423663a56f5901d':
  Quick: Abolish kMirOpCheckPart2.

9 years agoMerge "Quick: Fix DCE to rename SSA regs for degenerate Phis." into mnc-dev
Vladimir Marko [Thu, 7 May 2015 18:23:00 +0000 (18:23 +0000)]
Merge "Quick: Fix DCE to rename SSA regs for degenerate Phis." into mnc-dev

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.

(cherry picked from commit f60715c2c0a2398822a143ffb6b75507bffca703)

Change-Id: I46822b0db21c187601b79d2ff1a650494558772a

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

(cherry picked from commit e299f167c9559401548eab71678d4b779e46c2fb)

Change-Id: I8a60d26c5e6b6b608d68b8bb6b66d411f9a28f90

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

(cherry picked from commit e299f167c9559401548eab71678d4b779e46c2fb)

Change-Id: Ifae6c5bd961a2619b50fd3440261762cb9151460

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 agoam d367191c: am 4a75e3c2: am ba9ef537: Merge "Support multiple instrumentation clients"
Sebastien Hertz [Thu, 7 May 2015 17:19:07 +0000 (17:19 +0000)]
am d367191c: am 4a75e3c2: am ba9ef537: Merge "Support multiple instrumentation clients"

* commit 'd367191c05d2f61ea836342f62dadc5745de27fc':
  Support multiple instrumentation clients

9 years agoam ccb11541: am a8b4dfcc: am b882da74: Merge "Remove unused InvokeWithShadowFrame"
Sebastien Hertz [Thu, 7 May 2015 17:18:38 +0000 (17:18 +0000)]
am ccb11541: am a8b4dfcc: am b882da74: Merge "Remove unused InvokeWithShadowFrame"

* commit 'ccb1154107a8f50c816f59bae765ac63d74297d4':
  Remove unused InvokeWithShadowFrame

9 years agoam 0c3c9c17: am f3a8c70a: am 6d2d4806: Merge "Fix broken checks in IsValidPartOfMembe...
Narayan Kamath [Thu, 7 May 2015 17:18:36 +0000 (17:18 +0000)]
am 0c3c9c17: am f3a8c70a: am 6d2d4806: Merge "Fix broken checks in IsValidPartOfMemberNameUtf8Slow."

* commit '0c3c9c1707ccc133f7904484c34893961db78acd':
  Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

9 years agoam 8b2f6e19: am c42bd509: am eb7c5b19: Merge "JDWP: properly combine location events"
Sebastien Hertz [Thu, 7 May 2015 17:18:35 +0000 (17:18 +0000)]
am 8b2f6e19: am c42bd509: am eb7c5b19: Merge "JDWP: properly combine location events"

* commit '8b2f6e1989ae4d6c9e13d3429c3e8145ec871dd5':
  JDWP: properly combine location events

9 years agoam 61ad25f7: am 205db690: am f07f71f9: Merge "Use a growable array instead of an...
Nicolas Geoffray [Thu, 7 May 2015 17:18:31 +0000 (17:18 +0000)]
am 61ad25f7: am 205db690: am f07f71f9: Merge "Use a growable array instead of an environment during SSA."

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

9 years agoam 90bc2a27: am 905a88d3: am 46a4b268: Merge "Relax the only one back-edge restriction."
Nicolas Geoffray [Thu, 7 May 2015 17:18:29 +0000 (17:18 +0000)]
am 90bc2a27: am 905a88d3: am 46a4b268: Merge "Relax the only one back-edge restriction."

* commit '90bc2a277dbfd042627014f187623d13f4643178':
  Relax the only one back-edge restriction.

9 years agoam 9b66b2ac: am 5199f914: am bc3b93ea: Merge "No need to relocate the core image...
Nicolas Geoffray [Thu, 7 May 2015 17:18:28 +0000 (17:18 +0000)]
am 9b66b2ac: am 5199f914: am bc3b93ea: Merge "No need to relocate the core image for the art script."

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

9 years agoam 71359ff3: am 9a950dec: am a6591ef9: Merge "ART: Fix mips64 jni bugs."
Andreas Gampe [Thu, 7 May 2015 17:18:26 +0000 (17:18 +0000)]
am 71359ff3: am 9a950dec: am a6591ef9: Merge "ART: Fix mips64 jni bugs."

* commit '71359ff31b41fabaa492abcae4bf55b89341c3d0':
  ART: Fix mips64 jni bugs.

9 years agoam 8e8aee7a: am 75b27b57: am 225f679f: Merge "In quick compiler, force string init...
Jeff Hao [Thu, 7 May 2015 17:18:24 +0000 (17:18 +0000)]
am 8e8aee7a: am 75b27b57: am 225f679f: Merge "In quick compiler, force string init invoke to be fast path."

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

9 years agoam bbbc7702: am 86b09d0f: am 8771be9a: Merge "Fix mips64 bugs."
Andreas Gampe [Thu, 7 May 2015 17:18:23 +0000 (17:18 +0000)]
am bbbc7702: am 86b09d0f: am 8771be9a: Merge "Fix mips64 bugs."

* commit 'bbbc7702dd86a46a86a7c9ff8bdcd2d2f16e05c2':
  Fix mips64 bugs.

9 years agoam f689ca39: am 3ba8671d: Fix broken checks in IsValidPartOfMemberNameUtf8Slow.
Narayan Kamath [Thu, 7 May 2015 17:17:10 +0000 (17:17 +0000)]
am f689ca39: am 3ba8671d: Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

* commit 'f689ca3917d995880d8eab72f0d8760bdea9ac6c':
  Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

9 years agoam 97ee6ec7: am 5c8fe302: In quick compiler, force string init invoke to be fast...
Jeff Hao [Thu, 7 May 2015 17:15:08 +0000 (17:15 +0000)]
am 97ee6ec7: am 5c8fe302: In quick compiler, force string init invoke to be fast path.

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

9 years agoam 4a75e3c2: am ba9ef537: Merge "Support multiple instrumentation clients"
Sebastien Hertz [Thu, 7 May 2015 16:34:02 +0000 (16:34 +0000)]
am 4a75e3c2: am ba9ef537: Merge "Support multiple instrumentation clients"

* commit '4a75e3c22ccd4680ff0416c1609dafad1130ede8':
  Support multiple instrumentation clients

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 agoam a8b4dfcc: am b882da74: Merge "Remove unused InvokeWithShadowFrame"
Sebastien Hertz [Thu, 7 May 2015 16:16:14 +0000 (16:16 +0000)]
am a8b4dfcc: am b882da74: Merge "Remove unused InvokeWithShadowFrame"

* commit 'a8b4dfcc22b0fdbdeeb87ce91368e88d46ab43e6':
  Remove unused InvokeWithShadowFrame

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

* commit 'f3a8c70aeb1ca2f4c1eb7a65a8f6df97698dc03a':
  Fix broken checks in IsValidPartOfMemberNameUtf8Slow.

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

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

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

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

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

* commit '905a88d309be4c41af4addd1ec2a821ecdcc9725':
  Relax the only one back-edge restriction.

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

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

9 years agoam 9a950dec: am a6591ef9: Merge "ART: Fix mips64 jni bugs."
Andreas Gampe [Thu, 7 May 2015 16:15:58 +0000 (16:15 +0000)]
am 9a950dec: am a6591ef9: Merge "ART: Fix mips64 jni bugs."

* commit '9a950decdf11303d47a450ff0d71ea64ae3d75ea':
  ART: Fix mips64 jni bugs.

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

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

9 years agoam 86b09d0f: am 8771be9a: Merge "Fix mips64 bugs."
Andreas Gampe [Thu, 7 May 2015 16:15:43 +0000 (16:15 +0000)]
am 86b09d0f: am 8771be9a: Merge "Fix mips64 bugs."

* commit '86b09d0fecd1d01819a8680ae7be087be90489aa':
  Fix mips64 bugs.

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.