OSDN Git Service

android-x86/art.git
9 years agoam 1e642b5e: Merge "Have HInstruction::StrictlyDominates compute strict dominance."
Roland Levillain [Mon, 20 Oct 2014 09:46:19 +0000 (09:46 +0000)]
am 1e642b5e: Merge "Have HInstruction::StrictlyDominates compute strict dominance."

* commit '1e642b5e5b2958ffc1653f5f42f2d091bbd8549e':
  Have HInstruction::StrictlyDominates compute strict dominance.

9 years agoam 570d5dd1: Merge "Revert "Revert "Introduce a class to implement optimization passe...
Roland Levillain [Mon, 20 Oct 2014 09:41:33 +0000 (09:41 +0000)]
am 570d5dd1: Merge "Revert "Revert "Introduce a class to implement optimization passes."""

* commit '570d5dd11b4dbf003e628d3f1890649a02365c02':
  Revert "Revert "Introduce a class to implement optimization passes.""

9 years agoMerge "Have HInstruction::StrictlyDominates compute strict dominance."
Roland Levillain [Mon, 20 Oct 2014 09:37:45 +0000 (09:37 +0000)]
Merge "Have HInstruction::StrictlyDominates compute strict dominance."

9 years agoMerge "Revert "Revert "Introduce a class to implement optimization passes."""
Roland Levillain [Mon, 20 Oct 2014 09:34:08 +0000 (09:34 +0000)]
Merge "Revert "Revert "Introduce a class to implement optimization passes."""

9 years agoam 8946e41d: Merge "Just depend on TARGET_CORE_DEX_FILES."
Nicolas Geoffray [Fri, 17 Oct 2014 17:12:19 +0000 (17:12 +0000)]
am 8946e41d: Merge "Just depend on TARGET_CORE_DEX_FILES."

* commit '8946e41dcce414dc3359c23d93e001f91d186612':
  Just depend on TARGET_CORE_DEX_FILES.

9 years agoam e09c0fc7: Merge "Rename arm64 `Register` to `XRegister`."
Nicolas Geoffray [Fri, 17 Oct 2014 17:12:18 +0000 (17:12 +0000)]
am e09c0fc7: Merge "Rename arm64 `Register` to `XRegister`."

* commit 'e09c0fc7ce4b522f8b3e981572d6fa4954b95878':
  Rename arm64 `Register` to `XRegister`.

9 years agoMerge "Just depend on TARGET_CORE_DEX_FILES."
Nicolas Geoffray [Fri, 17 Oct 2014 17:04:42 +0000 (17:04 +0000)]
Merge "Just depend on TARGET_CORE_DEX_FILES."

9 years agoMerge "Rename arm64 `Register` to `XRegister`."
Nicolas Geoffray [Fri, 17 Oct 2014 17:03:56 +0000 (17:03 +0000)]
Merge "Rename arm64 `Register` to `XRegister`."

9 years agoam c6b5c6ce: Merge "Rework arm64 register codes and fix Arm64ManagedRegister tests."
Nicolas Geoffray [Fri, 17 Oct 2014 16:58:45 +0000 (16:58 +0000)]
am c6b5c6ce: Merge "Rework arm64 register codes and fix Arm64ManagedRegister tests."

* commit 'c6b5c6ce846257b86a49ee4bb78eeada0143c9f3':
  Rework arm64 register codes and fix Arm64ManagedRegister tests.

9 years agoMerge "Rework arm64 register codes and fix Arm64ManagedRegister tests."
Nicolas Geoffray [Fri, 17 Oct 2014 16:53:05 +0000 (16:53 +0000)]
Merge "Rework arm64 register codes and fix Arm64ManagedRegister tests."

9 years agoam 0008a6fa: Merge "Quick: In GVN, apply modifications early if outside loop."
Vladimir Marko [Fri, 17 Oct 2014 16:51:43 +0000 (16:51 +0000)]
am 0008a6fa: Merge "Quick: In GVN, apply modifications early if outside loop."

* commit '0008a6fac0843bf8b86cfed76872d4a935bc7a9b':
  Quick: In GVN, apply modifications early if outside loop.

9 years agoMerge "Quick: In GVN, apply modifications early if outside loop."
Vladimir Marko [Fri, 17 Oct 2014 16:41:24 +0000 (16:41 +0000)]
Merge "Quick: In GVN, apply modifications early if outside loop."

9 years agoam ffb078ee: Merge "Add -no-integrated-as at local level."
Chih-Hung Hsieh [Fri, 17 Oct 2014 16:28:27 +0000 (16:28 +0000)]
am ffb078ee: Merge "Add -no-integrated-as at local level."

* commit 'ffb078ee815a38123581e706099a3bed65a6cb24':
  Add -no-integrated-as at local level.

9 years agoJust depend on TARGET_CORE_DEX_FILES.
Nicolas Geoffray [Fri, 17 Oct 2014 16:27:47 +0000 (17:27 +0100)]
Just depend on TARGET_CORE_DEX_FILES.

There is no such thing as a 2NDTARGET_CORE_DEX_FILES.

Change-Id: Idccf31a7b9d7f2329678352805b260a48851d568

9 years agoHave HInstruction::StrictlyDominates compute strict dominance.
Roland Levillain [Mon, 13 Oct 2014 15:10:27 +0000 (16:10 +0100)]
Have HInstruction::StrictlyDominates compute strict dominance.

Change-Id: I3a4fa133268615fb4ce54a0bcb43e0c2458cc865

9 years agoRevert "Revert "Introduce a class to implement optimization passes.""
Roland Levillain [Fri, 17 Oct 2014 16:02:00 +0000 (17:02 +0100)]
Revert "Revert "Introduce a class to implement optimization passes.""

This reverts commit 1ddbf6d4b37979a9f11a203c12befd5ae8b65df4.

Change-Id: I110a14668d1564ee0604dc958b91394b40da89fc

9 years agoMerge "Add -no-integrated-as at local level."
Chih-Hung Hsieh [Fri, 17 Oct 2014 15:48:06 +0000 (15:48 +0000)]
Merge "Add -no-integrated-as at local level."

9 years agoQuick: In GVN, apply modifications early if outside loop.
Vladimir Marko [Tue, 30 Sep 2014 17:09:14 +0000 (18:09 +0100)]
Quick: In GVN, apply modifications early if outside loop.

To improve GVN performance, apply modifications to blocks
outside loops during the initial convergence phase. During
the post processing phase, apply modifications only to the
blocks belonging to loops.

Also clean up the check whether to run the LVN and add the
capability to limit the maximum number of nested loops we
allow the GVN to process.

Change-Id: Ie7f1254f91a442397c06a325d5d314d8f58e5012

9 years agoRename arm64 `Register` to `XRegister`.
Alexandre Rames [Fri, 17 Oct 2014 13:35:27 +0000 (14:35 +0100)]
Rename arm64 `Register` to `XRegister`.

This will avoid naming conflicts in the arm64 port of
the optimizing compiler.

Change-Id: Ie736ddd2ddbd2e299058256de28bad5d41c57d6f

9 years agoRework arm64 register codes and fix Arm64ManagedRegister tests.
Alexandre Rames [Fri, 17 Oct 2014 13:35:27 +0000 (14:35 +0100)]
Rework arm64 register codes and fix Arm64ManagedRegister tests.

Change-Id: I81ce3bc8a212c9c35be3a41b182ada87b32391ec

9 years agoam 02e7d4e8: Merge "Fix error message to match the code."
Piotr Jastrzebski [Fri, 17 Oct 2014 12:21:59 +0000 (12:21 +0000)]
am 02e7d4e8: Merge "Fix error message to match the code."

* commit '02e7d4e802248574cee7224fea3352b6e558e4ee':
  Fix error message to match the code.

9 years agoMerge "Fix error message to match the code."
Piotr Jastrzebski [Fri, 17 Oct 2014 12:14:13 +0000 (12:14 +0000)]
Merge "Fix error message to match the code."

9 years agoFix error message to match the code.
Piotr Jastrzebski [Fri, 17 Oct 2014 11:40:38 +0000 (12:40 +0100)]
Fix error message to match the code.

The code checks that curr_opt > option_count
but error message says that curr_opt >= option_count.

Change-Id: I19cd077e2383ad9a368e324a1e35cc98170a40a4

9 years agoam e974c704: Merge "Add multiplication for integral types"
Calin Juravle [Fri, 17 Oct 2014 10:54:07 +0000 (10:54 +0000)]
am e974c704: Merge "Add multiplication for integral types"

* commit 'e974c704991378162e68a67f5e63607984e38567':
  Add multiplication for integral types

9 years agoMerge "Add multiplication for integral types"
Calin Juravle [Fri, 17 Oct 2014 10:48:06 +0000 (10:48 +0000)]
Merge "Add multiplication for integral types"

9 years agoAdd multiplication for integral types
Calin Juravle [Tue, 7 Oct 2014 19:23:36 +0000 (20:23 +0100)]
Add multiplication for integral types

This also fixes an issue where we could allocate a pair register even if
one of its parts was already blocked.

Change-Id: I4869175933409add2a56f1ccfb369c3d3dd3cb01

9 years agoam 7f758228: Merge "Fix dex2oat cross-compilation."
Nicolas Geoffray [Fri, 17 Oct 2014 10:03:19 +0000 (10:03 +0000)]
am 7f758228: Merge "Fix dex2oat cross-compilation."

* commit '7f758228f7904d2f65f06bfbd2b8ecbb8e8c6a9d':
  Fix dex2oat cross-compilation.

9 years agoMerge "Fix dex2oat cross-compilation."
Nicolas Geoffray [Fri, 17 Oct 2014 09:53:38 +0000 (09:53 +0000)]
Merge "Fix dex2oat cross-compilation."

9 years agoam 350584c2: Merge "Disable some instruction set tests due to Linux kernel bugs."
Nicolas Geoffray [Fri, 17 Oct 2014 09:42:08 +0000 (09:42 +0000)]
am 350584c2: Merge "Disable some instruction set tests due to Linux kernel bugs."

* commit '350584c254153c345983ce5d07bbfb84c7585ea0':
  Disable some instruction set tests due to Linux kernel bugs.

9 years agoMerge "Disable some instruction set tests due to Linux kernel bugs."
Nicolas Geoffray [Fri, 17 Oct 2014 09:35:00 +0000 (09:35 +0000)]
Merge "Disable some instruction set tests due to Linux kernel bugs."

9 years agoFix dex2oat cross-compilation.
Nicolas Geoffray [Fri, 17 Oct 2014 09:32:58 +0000 (10:32 +0100)]
Fix dex2oat cross-compilation.

The instruction set features was not correctly set when it was not
given in the command line.

Change-Id: I649cc077e7bbc830d281ae59af43e59fd0541c1b

9 years agoam 9cb3708f: Merge "x86 build fix."
Ian Rogers [Fri, 17 Oct 2014 09:22:15 +0000 (09:22 +0000)]
am 9cb3708f: Merge "x86 build fix."

* commit '9cb3708f62dad3f32a1ff2fa3f0a745d8d524a32':
  x86 build fix.

9 years agoDisable some instruction set tests due to Linux kernel bugs.
Ian Rogers [Fri, 17 Oct 2014 09:07:35 +0000 (02:07 -0700)]
Disable some instruction set tests due to Linux kernel bugs.

Linux kernels are misreporting CPU features via /proc/cpuinfo and AT_HWCAP.

Change-Id: I422ae0bb674517897bfe9b069d37d4d24736f1d1

9 years agoam 8dcb9afc: Merge "Tracking change to make Class.getDeclaredFields/Methods public"
Brian Carlstrom [Fri, 17 Oct 2014 09:02:40 +0000 (09:02 +0000)]
am 8dcb9afc: Merge "Tracking change to make Class.getDeclaredFields/Methods public"

* commit '8dcb9afc60972fddf1c6ee06cf7b272269d12766':
  Tracking change to make Class.getDeclaredFields/Methods public

9 years agoam 36f32f68: Merge "Stop using |instance_| in Runtime::InitNativeMethods."
Piotr Jastrzebski [Fri, 17 Oct 2014 09:02:38 +0000 (09:02 +0000)]
am 36f32f68: Merge "Stop using |instance_| in Runtime::InitNativeMethods."

* commit '36f32f6836b08ba41ac8799cbca8e7db209899b8':
  Stop using |instance_| in Runtime::InitNativeMethods.

9 years agoam 2ce8e605: Merge "Fix Mac build."
Ian Rogers [Fri, 17 Oct 2014 09:02:36 +0000 (09:02 +0000)]
am 2ce8e605: Merge "Fix Mac build."

* commit '2ce8e60513cab4fc95448af709a2232984815c7b':
  Fix Mac build.

9 years agoam fb0566b2: Merge "Some additional verbose logging for DexFile_defineClassNative"
Brian Carlstrom [Fri, 17 Oct 2014 09:02:35 +0000 (09:02 +0000)]
am fb0566b2: Merge "Some additional verbose logging for DexFile_defineClassNative"

* commit 'fb0566b28a0453bc5605db8abd521c22038c6a7f':
  Some additional verbose logging for DexFile_defineClassNative

9 years agoam 08a81351: Merge "Renumber 122-missing-classes to 124-missing-classes"
Brian Carlstrom [Fri, 17 Oct 2014 09:02:34 +0000 (09:02 +0000)]
am 08a81351: Merge "Renumber 122-missing-classes to 124-missing-classes"

* commit '08a81351a7446e10deee1f312adb99e3c2c0b659':
  Renumber 122-missing-classes to 124-missing-classes

9 years agoam 0b5d8511: Merge "Some code clean-up."
Ian Rogers [Fri, 17 Oct 2014 09:02:33 +0000 (09:02 +0000)]
am 0b5d8511: Merge "Some code clean-up."

* commit '0b5d8511993145a9eeb978172944704dc621dbe9':
  Some code clean-up.

9 years agoam dddb8d89: Merge "dex2oat: Add a --compile-pic option"
Igor Murashkin [Fri, 17 Oct 2014 09:02:32 +0000 (09:02 +0000)]
am dddb8d89: Merge "dex2oat: Add a --compile-pic option"

* commit 'dddb8d891adad3f55308a725658134b6c9f5559b':
  dex2oat: Add a --compile-pic option

9 years agoam b3f18cf7: Merge "Make ART compile with GCC -O0 again."
Ian Rogers [Fri, 17 Oct 2014 09:02:31 +0000 (09:02 +0000)]
am b3f18cf7: Merge "Make ART compile with GCC -O0 again."

* commit 'b3f18cf7466f85e15c6b7f005f544867a4d6847a':
  Make ART compile with GCC -O0 again.

9 years agoam cb142101: Merge "Add way to ensure we are at the front of the sigaction chain"
Mathieu Chartier [Fri, 17 Oct 2014 09:02:30 +0000 (09:02 +0000)]
am cb142101: Merge "Add way to ensure we are at the front of the sigaction chain"

* commit 'cb142101f29a4f1e097f03a220db3da6d4bd679f':
  Add way to ensure we are at the front of the sigaction chain

9 years agoam d866c761: Merge "Add OOME try catch around gc-thrash dive logic"
Mathieu Chartier [Fri, 17 Oct 2014 09:02:29 +0000 (09:02 +0000)]
am d866c761: Merge "Add OOME try catch around gc-thrash dive logic"

* commit 'd866c7616cb3426c431b635ae69964ce69c2ecb5':
  Add OOME try catch around gc-thrash dive logic

9 years agoMerge "x86 build fix."
Ian Rogers [Fri, 17 Oct 2014 08:59:02 +0000 (08:59 +0000)]
Merge "x86 build fix."

9 years agox86 build fix.
Ian Rogers [Fri, 17 Oct 2014 08:18:08 +0000 (01:18 -0700)]
x86 build fix.

Remove -fkeep-inline-functions from debug builds, having it there causes
missing dependencies when we include system/core headers for the target on x86.

Change-Id: Ice5c6f0469f604efb58dfacf2ab6bb3183429850

9 years agoam 1f24296c: (-s ours) Add way to ensure we are at the front of the sigaction chain
Mathieu Chartier [Fri, 17 Oct 2014 07:50:06 +0000 (07:50 +0000)]
am 1f24296c: (-s ours) Add way to ensure we are at the front of the sigaction chain

* commit '1f24296c7c8a6501ee2388c0d20b48f471b48660':
  Add way to ensure we are at the front of the sigaction chain

9 years agoMerge "Tracking change to make Class.getDeclaredFields/Methods public"
Brian Carlstrom [Fri, 17 Oct 2014 07:37:06 +0000 (07:37 +0000)]
Merge "Tracking change to make Class.getDeclaredFields/Methods public"

9 years agoMerge "Stop using |instance_| in Runtime::InitNativeMethods."
Piotr Jastrzebski [Fri, 17 Oct 2014 07:36:44 +0000 (07:36 +0000)]
Merge "Stop using |instance_| in Runtime::InitNativeMethods."

9 years agoMerge "Fix Mac build."
Ian Rogers [Fri, 17 Oct 2014 06:44:37 +0000 (06:44 +0000)]
Merge "Fix Mac build."

9 years agoFix Mac build.
Ian Rogers [Fri, 17 Oct 2014 06:05:10 +0000 (23:05 -0700)]
Fix Mac build.

Not sure how this built on Linux, the correct type is siginfo_t and
we use that correctly elsewhere.

Change-Id: I44ddc77e11558337342c1448553a16c7db231a66

9 years agoTracking change to make Class.getDeclaredFields/Methods public
Brian Carlstrom [Fri, 17 Oct 2014 05:02:23 +0000 (22:02 -0700)]
Tracking change to make Class.getDeclaredFields/Methods public

(cherry picked from commit d8bef73723ea2d101b36e857968bc15d0887dcee)

Bug: 17375269
Change-Id: I8a810b4f21eb5a94883415cf7ecc4df273d72688

9 years agoMerge "Some additional verbose logging for DexFile_defineClassNative"
Brian Carlstrom [Fri, 17 Oct 2014 04:45:00 +0000 (04:45 +0000)]
Merge "Some additional verbose logging for DexFile_defineClassNative"

9 years agoMerge "Renumber 122-missing-classes to 124-missing-classes"
Brian Carlstrom [Fri, 17 Oct 2014 04:44:57 +0000 (04:44 +0000)]
Merge "Renumber 122-missing-classes to 124-missing-classes"

9 years agoMerge "Some code clean-up."
Ian Rogers [Fri, 17 Oct 2014 04:37:54 +0000 (04:37 +0000)]
Merge "Some code clean-up."

9 years agoSome code clean-up.
Ian Rogers [Fri, 17 Oct 2014 03:31:53 +0000 (20:31 -0700)]
Some code clean-up.

Change-Id: I4b745fd5298cd61c793e3b57514b48347bd66c0e

9 years agoSome additional verbose logging for DexFile_defineClassNative
Brian Carlstrom [Fri, 17 Oct 2014 02:12:28 +0000 (19:12 -0700)]
Some additional verbose logging for DexFile_defineClassNative

Change-Id: I6a86352e9eecf4cc5b529feb784e6cd5e8ec0a45

9 years agoMerge "dex2oat: Add a --compile-pic option"
Igor Murashkin [Fri, 17 Oct 2014 03:13:06 +0000 (03:13 +0000)]
Merge "dex2oat: Add a --compile-pic option"

9 years agoMerge "Make ART compile with GCC -O0 again."
Ian Rogers [Fri, 17 Oct 2014 02:29:32 +0000 (02:29 +0000)]
Merge "Make ART compile with GCC -O0 again."

9 years agoMake ART compile with GCC -O0 again.
Ian Rogers [Wed, 15 Oct 2014 00:41:57 +0000 (17:41 -0700)]
Make ART compile with GCC -O0 again.

Tidy up InstructionSetFeatures so that it has a type hierarchy dependent on
architecture.
Add to instruction_set_test to warn when InstructionSetFeatures don't agree
with ones from system properties, AT_HWCAP and /proc/cpuinfo.
Clean-up class linker entry point logic to not return entry points but to
test whether the passed code is the particular entrypoint. This works around
image trampolines that replicate entrypoints.
Bug: 17993736

Change-Id: I5f4b49e88c3b02a79f9bee04f83395146ed7be23

9 years agoMerge "Add way to ensure we are at the front of the sigaction chain"
Mathieu Chartier [Fri, 17 Oct 2014 02:17:11 +0000 (02:17 +0000)]
Merge "Add way to ensure we are at the front of the sigaction chain"

9 years agoAdd way to ensure we are at the front of the sigaction chain
Mathieu Chartier [Wed, 15 Oct 2014 23:59:47 +0000 (16:59 -0700)]
Add way to ensure we are at the front of the sigaction chain

Calling this after jni_on_load fixes the unity apps. This is
not exactly correct since we may already have the following chain.

Start up:
Us -> debuggerd

After app goes in front:
App -> us -> debuggerd

After we put ourself back at the front:
Us -> app -> us -> app -> .... stack overflow.

Bug: 17620677
Change-Id: I9183997e3d5ebd51c320b5d51425be5142e938f3

(cherry picked from commit 1f24296c7c8a6501ee2388c0d20b48f471b48660)

9 years agoRenumber 122-missing-classes to 124-missing-classes
Brian Carlstrom [Fri, 17 Oct 2014 01:58:56 +0000 (18:58 -0700)]
Renumber 122-missing-classes to 124-missing-classes

Change-Id: I733bdb455c5453d03784ba25a691f2a4e48bda6a

9 years agodex2oat: Add a --compile-pic option
Igor Murashkin [Fri, 17 Oct 2014 01:36:16 +0000 (18:36 -0700)]
dex2oat: Add a --compile-pic option

Change-Id: I80e03613e3b6ac079bcbc7e068bbaae760c364c9

9 years agoAdd way to ensure we are at the front of the sigaction chain
Mathieu Chartier [Wed, 15 Oct 2014 23:59:47 +0000 (16:59 -0700)]
Add way to ensure we are at the front of the sigaction chain

Calling this after jni_on_load fixes the unity apps. This is
not exactly correct since we may already have the following chain.

Start up:
Us -> debuggerd

After app goes in front:
App -> us -> debuggerd

After we put ourself back at the front:
Us -> app -> us -> app -> .... stack overflow.

Bug: 17620677
Change-Id: I9183997e3d5ebd51c320b5d51425be5142e938f3

9 years agoAdd -no-integrated-as at local level.
Chih-Hung Hsieh [Thu, 16 Oct 2014 19:14:02 +0000 (12:14 -0700)]
Add -no-integrated-as at local level.

Later we will enable integrated-as as default at the global level.

BUG: 17820427
BUG: 17443165
Change-Id: Idbbeccb7f725a63530c65e33723d1328c80443b3

9 years agoMerge "Add OOME try catch around gc-thrash dive logic"
Mathieu Chartier [Thu, 16 Oct 2014 22:20:00 +0000 (22:20 +0000)]
Merge "Add OOME try catch around gc-thrash dive logic"

9 years agoam 2eb03e6f: Merge "Remove test dependencies on phony targets."
Ian Rogers [Thu, 16 Oct 2014 19:37:28 +0000 (19:37 +0000)]
am 2eb03e6f: Merge "Remove test dependencies on phony targets."

* commit '2eb03e6f2af292c8b8cd518a662a61d3fcb17449':
  Remove test dependencies on phony targets.

9 years agoMerge "Remove test dependencies on phony targets."
Ian Rogers [Thu, 16 Oct 2014 19:26:54 +0000 (19:26 +0000)]
Merge "Remove test dependencies on phony targets."

9 years agoam 4ffed256: Merge "Quick: Avoid node iteration for passes that don\'t need it."
Vladimir Marko [Thu, 16 Oct 2014 18:10:22 +0000 (18:10 +0000)]
am 4ffed256: Merge "Quick: Avoid node iteration for passes that don\'t need it."

* commit '4ffed256cfae742e36ee735f806137f0d4a2f4b6':
  Quick: Avoid node iteration for passes that don't need it.

9 years agoam 9ab7816a: Merge "Quick: Handle kMirOpNullCheck in LVN/GVN."
Vladimir Marko [Thu, 16 Oct 2014 18:10:17 +0000 (18:10 +0000)]
am 9ab7816a: Merge "Quick: Handle kMirOpNullCheck in LVN/GVN."

* commit '9ab7816aec7264d79750e93021ab8714822a038f':
  Quick: Handle kMirOpNullCheck in LVN/GVN.

9 years agoMerge "Quick: Avoid node iteration for passes that don't need it."
Vladimir Marko [Thu, 16 Oct 2014 18:02:25 +0000 (18:02 +0000)]
Merge "Quick: Avoid node iteration for passes that don't need it."

9 years agoMerge "Quick: Handle kMirOpNullCheck in LVN/GVN."
Vladimir Marko [Thu, 16 Oct 2014 18:01:00 +0000 (18:01 +0000)]
Merge "Quick: Handle kMirOpNullCheck in LVN/GVN."

9 years agoAdd OOME try catch around gc-thrash dive logic
Mathieu Chartier [Thu, 16 Oct 2014 17:01:39 +0000 (10:01 -0700)]
Add OOME try catch around gc-thrash dive logic

Bug: 17962200
Change-Id: I4ed1f7ac2b07795b5e30ccb5b322cbe47e237ba8

9 years agoam dc43794b: Merge "Don\'t use assembler classes in code_generator.h."
Nicolas Geoffray [Thu, 16 Oct 2014 14:27:58 +0000 (14:27 +0000)]
am dc43794b: Merge "Don\'t use assembler classes in code_generator.h."

* commit 'dc43794b146283b2ba588db83d1fac1f8a3af6d3':
  Don't use assembler classes in code_generator.h.

9 years agoMerge "Don't use assembler classes in code_generator.h."
Nicolas Geoffray [Thu, 16 Oct 2014 14:20:58 +0000 (14:20 +0000)]
Merge "Don't use assembler classes in code_generator.h."

9 years agoDon't use assembler classes in code_generator.h.
Nicolas Geoffray [Thu, 16 Oct 2014 10:12:52 +0000 (11:12 +0100)]
Don't use assembler classes in code_generator.h.

The arm64 backend uses its own assembler and does not share
the same classes as the other backends. To avoid conflicts
or unnecessary mappings, just don't use those classes in the
shared part of the code generator.

Change-Id: I9e5fa40c1021d2e83a4ef14c52cd1ccd03f2f73d

9 years agoam ec2ea6ff: Merge "Implement default traversals in CFG & SSA graph checkers."
Roland Levillain [Thu, 16 Oct 2014 13:33:40 +0000 (13:33 +0000)]
am ec2ea6ff: Merge "Implement default traversals in CFG & SSA graph checkers."

* commit 'ec2ea6ff6e3d7816df889454866a28b58ce6e6f5':
  Implement default traversals in CFG & SSA graph checkers.

9 years agoMerge "Implement default traversals in CFG & SSA graph checkers."
Roland Levillain [Thu, 16 Oct 2014 13:26:29 +0000 (13:26 +0000)]
Merge "Implement default traversals in CFG & SSA graph checkers."

9 years agoam c15c4066: Merge "Improve art::SSAChecker::VisitInstruction."
Roland Levillain [Thu, 16 Oct 2014 13:20:00 +0000 (13:20 +0000)]
am c15c4066: Merge "Improve art::SSAChecker::VisitInstruction."

* commit 'c15c4066233b644f3086eef80007a7cf878d4867':
  Improve art::SSAChecker::VisitInstruction.

9 years agoMerge "Improve art::SSAChecker::VisitInstruction."
Roland Levillain [Thu, 16 Oct 2014 13:12:56 +0000 (13:12 +0000)]
Merge "Improve art::SSAChecker::VisitInstruction."

9 years agoam dd36b428: Merge "Do not remove NullChecks & BoundsChecks in HDeadCodeElimination."
Roland Levillain [Thu, 16 Oct 2014 13:04:42 +0000 (13:04 +0000)]
am dd36b428: Merge "Do not remove NullChecks & BoundsChecks in HDeadCodeElimination."

* commit 'dd36b42837b78876eabe86b136474490e3d016cc':
  Do not remove NullChecks & BoundsChecks in HDeadCodeElimination.

9 years agoam 1604027a: Merge "Turn constant conditional jumps into unconditional jumps."
Roland Levillain [Thu, 16 Oct 2014 12:59:58 +0000 (12:59 +0000)]
am 1604027a: Merge "Turn constant conditional jumps into unconditional jumps."

* commit '1604027a8a87fc100aa3b8899ad710c2f313ca45':
  Turn constant conditional jumps into unconditional jumps.

9 years agoMerge "Do not remove NullChecks & BoundsChecks in HDeadCodeElimination."
Roland Levillain [Thu, 16 Oct 2014 12:59:34 +0000 (12:59 +0000)]
Merge "Do not remove NullChecks & BoundsChecks in HDeadCodeElimination."

9 years agoMerge "Turn constant conditional jumps into unconditional jumps."
Roland Levillain [Thu, 16 Oct 2014 12:51:34 +0000 (12:51 +0000)]
Merge "Turn constant conditional jumps into unconditional jumps."

9 years agoQuick: Handle kMirOpNullCheck in LVN/GVN.
Vladimir Marko [Thu, 16 Oct 2014 12:38:44 +0000 (13:38 +0100)]
Quick: Handle kMirOpNullCheck in LVN/GVN.

Change-Id: I0274e98cc61ccd1dbe0bd3e50deeb7d62bd1cb22

9 years agoam f1eb1002: Merge "Quick: Improve the BBCombine pass."
Vladimir Marko [Thu, 16 Oct 2014 11:38:37 +0000 (11:38 +0000)]
am f1eb1002: Merge "Quick: Improve the BBCombine pass."

* commit 'f1eb10024d616c15af3b0cd81acabe59131be918':
  Quick: Improve the BBCombine pass.

9 years agoMerge "Quick: Improve the BBCombine pass."
Vladimir Marko [Thu, 16 Oct 2014 11:29:59 +0000 (11:29 +0000)]
Merge "Quick: Improve the BBCombine pass."

9 years agoStop using |instance_| in Runtime::InitNativeMethods.
Piotr Jastrzebski [Thu, 16 Oct 2014 10:04:27 +0000 (11:04 +0100)]
Stop using |instance_| in Runtime::InitNativeMethods.

Runtime::InitNativeMethods is a member function so we
don't need to use |instance_| to call Runtime methods there.

I believe that this call uses |instance_| instead of |this|
because it was originally in a static Runtime::Create method.
It was originally called 'instance_->InitLibraries();' and was
moved to Runtime::Start which is a member function here:
http://ag/#/c/133053/6/src/runtime.cc
and since then it was further moved and renamed but it kept using |instance_|
even though use of |this| seems more appropriate.

Change-Id: I79b9d23873272ba2f124e285602f1b2683c2f27f

9 years agoam 8fc5acfd: Merge "Rewrite null check elimination to work on dalvik regs."
Vladimir Marko [Thu, 16 Oct 2014 09:32:29 +0000 (09:32 +0000)]
am 8fc5acfd: Merge "Rewrite null check elimination to work on dalvik regs."

* commit '8fc5acfd382bdc0d7920e8a13439b64344a8988a':
  Rewrite null check elimination to work on dalvik regs.

9 years agoMerge "Rewrite null check elimination to work on dalvik regs."
Vladimir Marko [Thu, 16 Oct 2014 08:58:35 +0000 (08:58 +0000)]
Merge "Rewrite null check elimination to work on dalvik regs."

9 years agoam 16b842af: Merge "Store exiting thread ids and names while tracing to output later."
Jeff Hao [Thu, 16 Oct 2014 00:35:45 +0000 (00:35 +0000)]
am 16b842af: Merge "Store exiting thread ids and names while tracing to output later."

* commit '16b842af16286243baa5e1ad07ce25f14a730df3':
  Store exiting thread ids and names while tracing to output later.

9 years agoMerge "Store exiting thread ids and names while tracing to output later."
Jeff Hao [Thu, 16 Oct 2014 00:25:14 +0000 (00:25 +0000)]
Merge "Store exiting thread ids and names while tracing to output later."

9 years agoam 8fd9bc91: Merge "Add more logging to finalization test"
Mathieu Chartier [Wed, 15 Oct 2014 21:55:19 +0000 (21:55 +0000)]
am 8fd9bc91: Merge "Add more logging to finalization test"

* commit '8fd9bc91c0511c3d17618b1f33df0ee85ef429ab':
  Add more logging to finalization test

9 years agoMerge "Add more logging to finalization test"
Mathieu Chartier [Wed, 15 Oct 2014 21:46:25 +0000 (21:46 +0000)]
Merge "Add more logging to finalization test"

9 years agoRemove test dependencies on phony targets.
Ian Rogers [Wed, 15 Oct 2014 18:57:01 +0000 (11:57 -0700)]
Remove test dependencies on phony targets.

We already depend in the test on the presence of the executable, depending on
the phony causes make to complain about "don't know how to build".

Change-Id: I0db61d184106df6642791909d416666c3d4f370e

9 years agoam edfc4ca2: (-s ours) Fix oatdump for no image
Mathieu Chartier [Wed, 15 Oct 2014 18:10:43 +0000 (18:10 +0000)]
am edfc4ca2: (-s ours) Fix oatdump for no image

* commit 'edfc4ca2c8e1de6a1d42700cc0bc41d5b243ea04':
  Fix oatdump for no image

9 years agoQuick: Improve the BBCombine pass.
Vladimir Marko [Tue, 7 Oct 2014 14:01:57 +0000 (15:01 +0100)]
Quick: Improve the BBCombine pass.

Eliminate exception edges for insns that cannot throw even
when inside a try-block. Run the BBCombine pass before the
SSA transformation to reduce the compilation time.

Bug: 16398693
Change-Id: I8e91df593e316c994679b9d482b0ae20700b9499

9 years agoam e163a3a1: Merge "Fix oatdump for no image"
Mathieu Chartier [Wed, 15 Oct 2014 17:41:42 +0000 (17:41 +0000)]
am e163a3a1: Merge "Fix oatdump for no image"

* commit 'e163a3a150983943ea08d5c8487e3789875ffe7e':
  Fix oatdump for no image

9 years agoFix oatdump for no image
Mathieu Chartier [Wed, 15 Oct 2014 17:39:23 +0000 (10:39 -0700)]
Fix oatdump for no image

Added MemMap::Init if we dont initialize the runtime.

(cherry picked from commit d424d0856927a5d771644b0ef18cb48ef8c04817)
Bug: 18000219

Change-Id: Ice068edea04708551b3fb8b75eae4e97758a18f9

9 years agoMerge "Fix oatdump for no image"
Mathieu Chartier [Wed, 15 Oct 2014 17:33:37 +0000 (17:33 +0000)]
Merge "Fix oatdump for no image"