OSDN Git Service

android-x86/art.git
9 years agoam 0b87c470: Merge "Fix thumb2 assembler\'s ShifterOperandCanHold."
Nicolas Geoffray [Tue, 3 Feb 2015 14:32:40 +0000 (14:32 +0000)]
am 0b87c470: Merge "Fix thumb2 assembler\'s ShifterOperandCanHold."

* commit '0b87c47033081d4b86e6611d947d49926df6b577':
  Fix thumb2 assembler's ShifterOperandCanHold.

9 years agoMerge "Fix thumb2 assembler's ShifterOperandCanHold."
Nicolas Geoffray [Tue, 3 Feb 2015 14:26:59 +0000 (14:26 +0000)]
Merge "Fix thumb2 assembler's ShifterOperandCanHold."

9 years agoFix thumb2 assembler's ShifterOperandCanHold.
Nicolas Geoffray [Tue, 3 Feb 2015 13:59:52 +0000 (13:59 +0000)]
Fix thumb2 assembler's ShifterOperandCanHold.

Change-Id: Ica3c5f39d52722950725ba622fc67bd7f634918a

9 years agoam 08029544: Merge "ART: Fix to X86Mir2Lir::GenReduceVector"
Vladimir Marko [Tue, 3 Feb 2015 12:25:47 +0000 (12:25 +0000)]
am 08029544: Merge "ART: Fix to X86Mir2Lir::GenReduceVector"

* commit '08029544d72bd9bec162956978afcb59204ea97b':
  ART: Fix to X86Mir2Lir::GenReduceVector

9 years agoMerge "ART: Fix to X86Mir2Lir::GenReduceVector"
Vladimir Marko [Tue, 3 Feb 2015 12:20:44 +0000 (12:20 +0000)]
Merge "ART: Fix to X86Mir2Lir::GenReduceVector"

9 years agoam 09fbde3b: Merge "Allow nested inlining."
Nicolas Geoffray [Tue, 3 Feb 2015 12:11:13 +0000 (12:11 +0000)]
am 09fbde3b: Merge "Allow nested inlining."

* commit '09fbde3b2b4cad32059b0fd36524c11a808b2885':
  Allow nested inlining.

9 years agoam 515d828f: Merge "Go back to -O2."
Nicolas Geoffray [Tue, 3 Feb 2015 12:11:13 +0000 (12:11 +0000)]
am 515d828f: Merge "Go back to -O2."

* commit '515d828fd51f55bc71a6bcd268a7311f614d28b0':
  Go back to -O2.

9 years agoam d82b172b: Merge "Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant"""
Nicolas Geoffray [Tue, 3 Feb 2015 12:11:12 +0000 (12:11 +0000)]
am d82b172b: Merge "Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant"""

* commit 'd82b172b2b5f68f224ead383d35200123fa71119':
  Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant""

9 years agoam 63aa9aec: Merge "Revert "ART: Make 074-gc-thrash more OOME tolerant""
Nicolas Geoffray [Tue, 3 Feb 2015 12:11:11 +0000 (12:11 +0000)]
am 63aa9aec: Merge "Revert "ART: Make 074-gc-thrash more OOME tolerant""

* commit '63aa9aec310dd0d49e66a6bba7777e56d544de01':
  Revert "ART: Make 074-gc-thrash more OOME tolerant"

9 years agoMerge "Allow nested inlining."
Nicolas Geoffray [Tue, 3 Feb 2015 11:22:35 +0000 (11:22 +0000)]
Merge "Allow nested inlining."

9 years agoAllow nested inlining.
Nicolas Geoffray [Fri, 30 Jan 2015 12:41:14 +0000 (12:41 +0000)]
Allow nested inlining.

Also run optimizations before iterating over
the instructions to get rid of, e.g., null checks.

Change-Id: I6e52e61ce4d0ccb63d687afea09bb4722453bb6a

9 years agoMerge "Go back to -O2."
Nicolas Geoffray [Tue, 3 Feb 2015 10:14:54 +0000 (10:14 +0000)]
Merge "Go back to -O2."

9 years agoGo back to -O2.
Nicolas Geoffray [Tue, 3 Feb 2015 10:13:27 +0000 (10:13 +0000)]
Go back to -O2.

Stack space suffers otherwise.

Change-Id: I890a9714acd8500981c3d41df0f5f7fd63d48f8f

9 years agoMerge "Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant"""
Nicolas Geoffray [Tue, 3 Feb 2015 10:11:09 +0000 (10:11 +0000)]
Merge "Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant"""

9 years agoRevert "Revert "ART: Make 074-gc-thrash more OOME tolerant""
Nicolas Geoffray [Tue, 3 Feb 2015 10:10:52 +0000 (10:10 +0000)]
Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant""

This reverts commit ed8b53d679d46891d8d405b0ce4a48c282d872f7.

This wasn't the reason for breakage. Instead, it was the Makefile change in:
https://android-review.googlesource.com/#/c/128250/

Change-Id: Ib94870c1eccbe821e3b4945ea92ca35ca0a8a9b9

9 years agoMerge "Revert "ART: Make 074-gc-thrash more OOME tolerant""
Nicolas Geoffray [Tue, 3 Feb 2015 08:48:43 +0000 (08:48 +0000)]
Merge "Revert "ART: Make 074-gc-thrash more OOME tolerant""

9 years agoRevert "ART: Make 074-gc-thrash more OOME tolerant"
Nicolas Geoffray [Tue, 3 Feb 2015 08:48:27 +0000 (08:48 +0000)]
Revert "ART: Make 074-gc-thrash more OOME tolerant"

Redness on the boards.

This reverts commit 2f6046edd7da9bb67e30b377955ff6faa8bff67e.

Change-Id: I8e169c537aaa76e34a7027460e3e9bff6f75a581

9 years agoam 5a7c6344: Merge "ART: Make 074-gc-thrash more OOME tolerant"
Andreas Gampe [Tue, 3 Feb 2015 03:41:00 +0000 (03:41 +0000)]
am 5a7c6344: Merge "ART: Make 074-gc-thrash more OOME tolerant"

* commit '5a7c634406b2acc4917009b43dcc7def2178a79b':
  ART: Make 074-gc-thrash more OOME tolerant

9 years agoam c398b058: Merge "ART: Fix assembler_thumb_test"
Andreas Gampe [Tue, 3 Feb 2015 03:40:59 +0000 (03:40 +0000)]
am c398b058: Merge "ART: Fix assembler_thumb_test"

* commit 'c398b0580fc7a7be768dcd6786d5ab6e7a892c9e':
  ART: Fix assembler_thumb_test

9 years agoMerge "ART: Make 074-gc-thrash more OOME tolerant"
Andreas Gampe [Tue, 3 Feb 2015 03:36:14 +0000 (03:36 +0000)]
Merge "ART: Make 074-gc-thrash more OOME tolerant"

9 years agoMerge "ART: Fix assembler_thumb_test"
Andreas Gampe [Tue, 3 Feb 2015 03:35:31 +0000 (03:35 +0000)]
Merge "ART: Fix assembler_thumb_test"

9 years agoART: Fix assembler_thumb_test
Andreas Gampe [Tue, 3 Feb 2015 03:17:11 +0000 (19:17 -0800)]
ART: Fix assembler_thumb_test

Fix the inconsistent calls. This was bad practice, requiring that
shape meant arm32 and thumb were not interchangeable.

Also fix an error in the assembler itself for tst and teq.

Change-Id: I50242801002aa81cc17bfaa53eb8b7c1d9488fbc

9 years agoART: Make 074-gc-thrash more OOME tolerant
Andreas Gampe [Tue, 3 Feb 2015 01:44:31 +0000 (17:44 -0800)]
ART: Make 074-gc-thrash more OOME tolerant

The strong and weak array need to stay in sync. Don't set the
strong reference when the weak reference can't be allocated.

Change-Id: I6c8f245627d206d89a378099cea97e4f1cd1d9fa

9 years agoam a1a0ffb7: Merge "ART: Fix thumb2 utils assembler"
Andreas Gampe [Tue, 3 Feb 2015 01:31:03 +0000 (01:31 +0000)]
am a1a0ffb7: Merge "ART: Fix thumb2 utils assembler"

* commit 'a1a0ffb72c4d7170dee9d46f055ca56932eedbae':
  ART: Fix thumb2 utils assembler

9 years agoMerge "ART: Fix thumb2 utils assembler"
Andreas Gampe [Tue, 3 Feb 2015 01:26:14 +0000 (01:26 +0000)]
Merge "ART: Fix thumb2 utils assembler"

9 years agoART: Fix thumb2 utils assembler
Andreas Gampe [Mon, 2 Feb 2015 21:17:52 +0000 (13:17 -0800)]
ART: Fix thumb2 utils assembler

It didn't correctly put down the 16b variants, as it was not
checking the ShifterOperand correctly.

Add one simple test. TODO: exhaustive testing.

Change-Id: Ied08da115f8417a3ca92bd9967c6dcdc102e7510

9 years agoam 7687b250: Merge "ART: Fix run-tests for emulator"
Andreas Gampe [Tue, 3 Feb 2015 01:17:36 +0000 (01:17 +0000)]
am 7687b250: Merge "ART: Fix run-tests for emulator"

* commit '7687b250a565f465e3222c8b5adda1427f10c5f6':
  ART: Fix run-tests for emulator

9 years agoMerge "ART: Fix run-tests for emulator"
Andreas Gampe [Tue, 3 Feb 2015 01:12:55 +0000 (01:12 +0000)]
Merge "ART: Fix run-tests for emulator"

9 years agoART: Fix to X86Mir2Lir::GenReduceVector
Mark Mendell [Tue, 27 Jan 2015 14:51:26 +0000 (09:51 -0500)]
ART: Fix to X86Mir2Lir::GenReduceVector

When generating the result to memory, the existing code didn't set the
aliasing correctly.

Mark the result as going to a Dalvik VR, and mark it as only a write.

Change-Id: I12f3156b7f84548b320a4fc142ff5a87a14e73d1
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoam 4336b97f: Merge "Fix broken gtests after SuspendCheck optimization"
David Brazdil [Mon, 2 Feb 2015 19:25:06 +0000 (19:25 +0000)]
am 4336b97f: Merge "Fix broken gtests after SuspendCheck optimization"

* commit '4336b97fc291d28f883607c88feaff202a684a59':
  Fix broken gtests after SuspendCheck optimization

9 years agoMerge "Fix broken gtests after SuspendCheck optimization"
David Brazdil [Mon, 2 Feb 2015 19:11:29 +0000 (19:11 +0000)]
Merge "Fix broken gtests after SuspendCheck optimization"

9 years agoFix broken gtests after SuspendCheck optimization
David Brazdil [Mon, 2 Feb 2015 18:58:27 +0000 (18:58 +0000)]
Fix broken gtests after SuspendCheck optimization

Fixes hardcoded graph dumps in pretty printer tests and an assumption
that non-zero branch offset in dex implies presence of HInstructions.

Change-Id: Iee273c06b7b36410b4621107bef2f3592ece2f5b

9 years agoART: Fix run-tests for emulator
Andreas Gampe [Wed, 28 Jan 2015 00:12:08 +0000 (16:12 -0800)]
ART: Fix run-tests for emulator

On a standard emulator, there is no sdcard emulation, so trying to
create a temp file in /sdcard will fail - it will try to create in
the root file system, which is read-only.

Change-Id: If7d1ad82db156177a5be58c2f79ed730cf7ab6b9

9 years agoam ec57f287: Merge "No SuspendChecks when branching to return block"
David Brazdil [Mon, 2 Feb 2015 18:06:47 +0000 (18:06 +0000)]
am ec57f287: Merge "No SuspendChecks when branching to return block"

* commit 'ec57f287ba0475e9f9e6dad749b67625d0c0d92e':
  No SuspendChecks when branching to return block

9 years agoMerge "No SuspendChecks when branching to return block"
David Brazdil [Mon, 2 Feb 2015 18:01:39 +0000 (18:01 +0000)]
Merge "No SuspendChecks when branching to return block"

9 years agoNo SuspendChecks when branching to return block
David Brazdil [Mon, 2 Feb 2015 15:23:05 +0000 (15:23 +0000)]
No SuspendChecks when branching to return block

The return basic block is usually placed at the beginning of the DEX
file, making the branches to it back edges where the Optimizing's
graph builder places SuspendCheck instructions, only to be removed
later by the instruction_simplifier pass. Since huge auto-generated
methods tend to contain hundreds/thousands of these, this patch
recognizes the pattern and prevents builder from generating the
redundant check in the first place.

Change-Id: I065a3c2f71964b8fc2e53dc20730ba42938b78a1

9 years agoam 13e70acc: Merge "Clean up enums in RegionSpace."
Hiroshi Yamauchi [Mon, 2 Feb 2015 17:52:16 +0000 (17:52 +0000)]
am 13e70acc: Merge "Clean up enums in RegionSpace."

* commit '13e70accc46659dcfc7727528c04f47074366d83':
  Clean up enums in RegionSpace.

9 years agoMerge "Clean up enums in RegionSpace."
Hiroshi Yamauchi [Mon, 2 Feb 2015 17:45:21 +0000 (17:45 +0000)]
Merge "Clean up enums in RegionSpace."

9 years agoam cc6bb730: Merge "AdvanceMIR does not know how to passthrough the empty block"
Vladimir Marko [Mon, 2 Feb 2015 17:12:07 +0000 (17:12 +0000)]
am cc6bb730: Merge "AdvanceMIR does not know how to passthrough the empty block"

* commit 'cc6bb730e9bed0ca2d2f4999d73b9bfccf0fe961':
  AdvanceMIR does not know how to passthrough the empty block

9 years agoMerge "AdvanceMIR does not know how to passthrough the empty block"
Vladimir Marko [Mon, 2 Feb 2015 16:57:36 +0000 (16:57 +0000)]
Merge "AdvanceMIR does not know how to passthrough the empty block"

9 years agoam 5d718dcd: Merge "ART: Fix x86 disassembler"
Andreas Gampe [Mon, 2 Feb 2015 16:05:07 +0000 (16:05 +0000)]
am 5d718dcd: Merge "ART: Fix x86 disassembler"

* commit '5d718dcd46a0a3c65b3635449d80947f342b1d2f':
  ART: Fix x86 disassembler

9 years agoMerge "ART: Fix x86 disassembler"
Andreas Gampe [Mon, 2 Feb 2015 15:57:09 +0000 (15:57 +0000)]
Merge "ART: Fix x86 disassembler"

9 years agoAdvanceMIR does not know how to passthrough the empty block
Serguei Katkov [Thu, 29 Jan 2015 11:08:05 +0000 (17:08 +0600)]
AdvanceMIR does not know how to passthrough the empty block

AdvanceMIR utility function could easily traverse the empty
blocks to find the next bytecode.

Change-Id: I037710b567275799f940b5b9766bcafec570b70e
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoam e5deafe9: Merge "Check for null class of class"
Brian Carlstrom [Sun, 1 Feb 2015 06:25:56 +0000 (06:25 +0000)]
am e5deafe9: Merge "Check for null class of class"

* commit 'e5deafe9cdd81238c3916b04301ea884c93f46b5':
  Check for null class of class

9 years agoMerge "Check for null class of class"
Brian Carlstrom [Sun, 1 Feb 2015 06:19:39 +0000 (06:19 +0000)]
Merge "Check for null class of class"

9 years agoam f2eb160e: Merge "Revert "Allow preopted apps to have sharpened calls for non-x86...
Brian Carlstrom [Sun, 1 Feb 2015 06:06:32 +0000 (06:06 +0000)]
am f2eb160e: Merge "Revert "Allow preopted apps to have sharpened calls for non-x86 architectures.""

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

9 years agoCheck for null class of class
Mathieu Chartier [Thu, 29 Jan 2015 18:47:10 +0000 (10:47 -0800)]
Check for null class of class

Experimental fix.

Bug: 19193521

(cherry picked from commit 65370e37b3fd9e53e3c1bce5757912e8309cd305)

Change-Id: If59fe9a7bd16f3578ed036a5dbb2787862b33766

9 years agoMerge "Revert "Allow preopted apps to have sharpened calls for non-x86 architectures.""
Brian Carlstrom [Sun, 1 Feb 2015 05:58:57 +0000 (05:58 +0000)]
Merge "Revert "Allow preopted apps to have sharpened calls for non-x86 architectures.""

9 years agoRevert "Allow preopted apps to have sharpened calls for non-x86 architectures."
Brian Carlstrom [Sun, 1 Feb 2015 05:35:32 +0000 (21:35 -0800)]
Revert "Allow preopted apps to have sharpened calls for non-x86 architectures."

This reverts commit 1e3dfff2b73e142c568625a0310c1764658218c4.

9 years agoam f50b0760: Merge "Add Mips64 art_quick_proxy_invoke_handler assembly."
Andreas Gampe [Sat, 31 Jan 2015 06:30:59 +0000 (06:30 +0000)]
am f50b0760: Merge "Add Mips64 art_quick_proxy_invoke_handler assembly."

* commit 'f50b07606f9e6ef75e0aa60b9f87a20d377c7884':
  Add Mips64 art_quick_proxy_invoke_handler assembly.

9 years agoMerge "Add Mips64 art_quick_proxy_invoke_handler assembly."
Andreas Gampe [Sat, 31 Jan 2015 03:14:59 +0000 (03:14 +0000)]
Merge "Add Mips64 art_quick_proxy_invoke_handler assembly."

9 years agoAdd Mips64 art_quick_proxy_invoke_handler assembly.
Douglas Leung [Sat, 31 Jan 2015 02:13:58 +0000 (18:13 -0800)]
Add Mips64 art_quick_proxy_invoke_handler assembly.

This fixes a crash during boot.

Change-Id: Ia69f3a38757355d1c33095ab59ce659a9b4ef737

9 years agoam e9777476: Merge "Disable clang optimization to boot up on arm64."
Chih-Hung Hsieh [Sat, 31 Jan 2015 01:59:59 +0000 (01:59 +0000)]
am e9777476: Merge "Disable clang optimization to boot up on arm64."

* commit 'e9777476b68c43fed1fffaf4a1a1fb93fcd24103':
  Disable clang optimization to boot up on arm64.

9 years agoam e550d230: Merge "ART: Add Mips64 resolution trampoline assembly"
Andreas Gampe [Sat, 31 Jan 2015 01:59:58 +0000 (01:59 +0000)]
am e550d230: Merge "ART: Add Mips64 resolution trampoline assembly"

* commit 'e550d2309b90b0842b77cff1f764b756bc2679e3':
  ART: Add Mips64 resolution trampoline assembly

9 years agoClean up enums in RegionSpace.
Hiroshi Yamauchi [Sat, 31 Jan 2015 00:25:12 +0000 (16:25 -0800)]
Clean up enums in RegionSpace.

Split enum RegionState into two enums, RegionState and
RegionType. Merge the latter with SubSpaceType.

Use RefToRegionUnlocked in RegionSpace::AddLiveBytes.

Turn some CHECKs into DCHECKs.

Improve the Ritz EAAC run time and the GC time by ~20%.

Bug: 12687968
Change-Id: Icdb8ab3e9ec2a1eefc8c9a2e4bb19befcf2562a6

9 years agoMerge "Disable clang optimization to boot up on arm64."
Chih-Hung Hsieh [Sat, 31 Jan 2015 01:24:50 +0000 (01:24 +0000)]
Merge "Disable clang optimization to boot up on arm64."

9 years agoMerge "ART: Add Mips64 resolution trampoline assembly"
Andreas Gampe [Sat, 31 Jan 2015 01:12:35 +0000 (01:12 +0000)]
Merge "ART: Add Mips64 resolution trampoline assembly"

9 years agoART: Add Mips64 resolution trampoline assembly
Andreas Gampe [Sat, 31 Jan 2015 01:04:45 +0000 (17:04 -0800)]
ART: Add Mips64 resolution trampoline assembly

Add the resolution trampoline assembly.

Change-Id: I45306f5913c6f57f46b97cb87fa321ae16642292

9 years agoDisable clang optimization to boot up on arm64.
Chih-Hung Hsieh [Fri, 30 Jan 2015 23:37:34 +0000 (15:37 -0800)]
Disable clang optimization to boot up on arm64.

On arm64 devices, clang compiled lib64/libart.so repeatedly
crashes during boot up stage. That prevents a stable adb connection.
When optimization of BitVector::NumSetBits is disabled,
we can boot up to Android home screen, although some Apps
are still unstable.
This is a temporary workaround only for clang/llvm arm64 target,
to enable concurrent debugging on other bugs.

BUG: 19180814
Change-Id: Id82497ce4be0b2c30d36679d15394848d826f50c

9 years agoam babecc48: Merge "Add options for building/testing with coverage."
Dan Albert [Fri, 30 Jan 2015 23:05:43 +0000 (23:05 +0000)]
am babecc48: Merge "Add options for building/testing with coverage."

* commit 'babecc483276b46d84cb83d4f01e577228827305':
  Add options for building/testing with coverage.

9 years agoMerge "Add options for building/testing with coverage."
Dan Albert [Fri, 30 Jan 2015 22:49:13 +0000 (22:49 +0000)]
Merge "Add options for building/testing with coverage."

9 years agoam 8b1a929b: Merge "Remove some unused cutils/properties.h references"
Brian Carlstrom [Fri, 30 Jan 2015 21:11:51 +0000 (21:11 +0000)]
am 8b1a929b: Merge "Remove some unused cutils/properties.h references"

* commit '8b1a929ba6461b83f9150090ee807c0274bd5ac5':
  Remove some unused cutils/properties.h references

9 years agoam 5442f8ba: Merge "Use the non access check entrypoint when possible."
Nicolas Geoffray [Fri, 30 Jan 2015 21:11:50 +0000 (21:11 +0000)]
am 5442f8ba: Merge "Use the non access check entrypoint when possible."

* commit '5442f8ba639dd1646191527b4eafde3af4939080':
  Use the non access check entrypoint when possible.

9 years agoam 95443686: Merge "Implement LICM in optimizing compiler."
Nicolas Geoffray [Fri, 30 Jan 2015 21:11:49 +0000 (21:11 +0000)]
am 95443686: Merge "Implement LICM in optimizing compiler."

* commit '9544368685b4aa65e746332e602491a3e8e5b247':
  Implement LICM in optimizing compiler.

9 years agoMerge "Remove some unused cutils/properties.h references"
Brian Carlstrom [Fri, 30 Jan 2015 19:14:50 +0000 (19:14 +0000)]
Merge "Remove some unused cutils/properties.h references"

9 years agoRemove some unused cutils/properties.h references
Brian Carlstrom [Fri, 30 Jan 2015 18:18:03 +0000 (10:18 -0800)]
Remove some unused cutils/properties.h references

Also remove an obsolete include workaround

Change-Id: Ie17387280285b969c4e9b5334bafde8239b9faf6

9 years agoMerge "Use the non access check entrypoint when possible."
Nicolas Geoffray [Fri, 30 Jan 2015 17:49:06 +0000 (17:49 +0000)]
Merge "Use the non access check entrypoint when possible."

9 years agoUse the non access check entrypoint when possible.
Nicolas Geoffray [Wed, 28 Jan 2015 14:50:01 +0000 (14:50 +0000)]
Use the non access check entrypoint when possible.

Change-Id: I0b53d63141395e26816d5d2ce3fa6a297bb39b54

9 years agoAdd options for building/testing with coverage.
Dan Albert [Wed, 1 Oct 2014 05:10:10 +0000 (22:10 -0700)]
Add options for building/testing with coverage.

    acov --clean
    mm -B NATIVE_COVERAGE=true ART_COVERAGE=true test-art-host
    acov --host

-B is needed because you need to be sure you rebuild *all* of ART with
coverage.

Change-Id: Ib94ef610bd1b44dc45624877710ed733051b7a50

9 years agoMerge "Implement LICM in optimizing compiler."
Nicolas Geoffray [Fri, 30 Jan 2015 09:54:25 +0000 (09:54 +0000)]
Merge "Implement LICM in optimizing compiler."

9 years agoImplement LICM in optimizing compiler.
Nicolas Geoffray [Mon, 26 Jan 2015 10:02:45 +0000 (10:02 +0000)]
Implement LICM in optimizing compiler.

Change-Id: I9c8afb0a58ef45e568576015473cbfd5f011c242

9 years agoam 28acb6fe: Merge "Remove libcxx.mk cruft."
Dan Albert [Thu, 29 Jan 2015 22:28:56 +0000 (22:28 +0000)]
am 28acb6fe: Merge "Remove libcxx.mk cruft."

* commit '28acb6feb50951645c37c077bd3897ea760ca322':
  Remove libcxx.mk cruft.

9 years agoMerge "Remove libcxx.mk cruft."
Dan Albert [Thu, 29 Jan 2015 22:19:40 +0000 (22:19 +0000)]
Merge "Remove libcxx.mk cruft."

9 years agoRemove libcxx.mk cruft.
Dan Albert [Thu, 29 Jan 2015 21:28:13 +0000 (13:28 -0800)]
Remove libcxx.mk cruft.

This is on by default now. No need to leave it in the makefiles.

Change-Id: I20eab7426da4bbbf8b70ffc5b9af7b97487d885d

9 years agoam 6407d3c1: Merge "Allow preopted apps to have sharpened calls for non-x86 architect...
Jeff Hao [Thu, 29 Jan 2015 19:10:20 +0000 (19:10 +0000)]
am 6407d3c1: Merge "Allow preopted apps to have sharpened calls for non-x86 architectures."

* commit '6407d3c115a524986e0ef21182d0ee87039a9a17':
  Allow preopted apps to have sharpened calls for non-x86 architectures.

9 years agoMerge "Allow preopted apps to have sharpened calls for non-x86 architectures."
Jeff Hao [Thu, 29 Jan 2015 19:02:54 +0000 (19:02 +0000)]
Merge "Allow preopted apps to have sharpened calls for non-x86 architectures."

9 years agoam 69b56b2f: Merge "Introduce primitive type helpers."
Andreas Gampe [Thu, 29 Jan 2015 19:02:08 +0000 (19:02 +0000)]
am 69b56b2f: Merge "Introduce primitive type helpers."

* commit '69b56b2f747992028ea838377422327a2bec49d6':
  Introduce primitive type helpers.

9 years agoMerge "Introduce primitive type helpers."
Andreas Gampe [Thu, 29 Jan 2015 18:52:34 +0000 (18:52 +0000)]
Merge "Introduce primitive type helpers."

9 years agoIntroduce primitive type helpers.
Alexandre Rames [Thu, 29 Jan 2015 16:57:31 +0000 (16:57 +0000)]
Introduce primitive type helpers.

Change-Id: I81e909a185787f109c0afafa27b4335050a0dcdf

9 years agoam 193f785e: Merge "optimizing: NullCheck elimination"
Nicolas Geoffray [Thu, 29 Jan 2015 12:05:22 +0000 (12:05 +0000)]
am 193f785e: Merge "optimizing: NullCheck elimination"

* commit '193f785e471b38009f7406a030d741ae415c8bb0':
  optimizing: NullCheck elimination

9 years agoMerge "optimizing: NullCheck elimination"
Nicolas Geoffray [Thu, 29 Jan 2015 12:02:12 +0000 (12:02 +0000)]
Merge "optimizing: NullCheck elimination"

9 years agooptimizing: NullCheck elimination
Calin Juravle [Mon, 26 Jan 2015 18:54:32 +0000 (18:54 +0000)]
optimizing: NullCheck elimination

How it works:
- run a type analysis to propagate null information on instructions
- during the last instruction simplifier remove null checks for which
the input is known to be not null

The current type analysis is actually a nullability analysis but it will
be reused in follow up CLs to propagate type information: so it keeps
the more convenient name.

Change-Id: I54bb1d32ab24604b4d677d1ecdaf8d60a5ff5ce9

9 years agoam dff2d842: Merge "Fix bad rebase."
Nicolas Geoffray [Thu, 29 Jan 2015 11:45:32 +0000 (11:45 +0000)]
am dff2d842: Merge "Fix bad rebase."

* commit 'dff2d8422cee19d35d7eac467ac0fc2315c1c899':
  Fix bad rebase.

9 years agoMerge "Fix bad rebase."
Nicolas Geoffray [Thu, 29 Jan 2015 11:40:22 +0000 (11:40 +0000)]
Merge "Fix bad rebase."

9 years agoFix bad rebase.
Nicolas Geoffray [Thu, 29 Jan 2015 11:39:44 +0000 (11:39 +0000)]
Fix bad rebase.

Change-Id: Ia66c5ec4a612908b749b058d85f374d1f1b72a2a

9 years agoam c9ff6b11: Merge "[optimizing compiler] Support x86 hard float ABI"
Nicolas Geoffray [Thu, 29 Jan 2015 11:09:31 +0000 (11:09 +0000)]
am c9ff6b11: Merge "[optimizing compiler] Support x86 hard float ABI"

* commit 'c9ff6b112d25657128f9a7251e253b1382b0f1b9':
  [optimizing compiler] Support x86 hard float ABI

9 years agoMerge "[optimizing compiler] Support x86 hard float ABI"
Nicolas Geoffray [Thu, 29 Jan 2015 11:05:48 +0000 (11:05 +0000)]
Merge "[optimizing compiler] Support x86 hard float ABI"

9 years agoam 0d5917fe: Merge "Small optimization for recursive calls: avoid dex cache."
Nicolas Geoffray [Thu, 29 Jan 2015 11:00:35 +0000 (11:00 +0000)]
am 0d5917fe: Merge "Small optimization for recursive calls: avoid dex cache."

* commit '0d5917fedc6f62715759c24f14810733c409ebff':
  Small optimization for recursive calls: avoid dex cache.

9 years agoMerge "Small optimization for recursive calls: avoid dex cache."
Nicolas Geoffray [Thu, 29 Jan 2015 10:55:11 +0000 (10:55 +0000)]
Merge "Small optimization for recursive calls: avoid dex cache."

9 years agoSmall optimization for recursive calls: avoid dex cache.
Nicolas Geoffray [Fri, 12 Dec 2014 19:22:03 +0000 (19:22 +0000)]
Small optimization for recursive calls: avoid dex cache.

Change-Id: I044757a2f06e535cdc1480c4fc8182b89635baf6

9 years agoam 4a50662e: Merge "Clean up pass driver"
Mathieu Chartier [Thu, 29 Jan 2015 01:23:22 +0000 (01:23 +0000)]
am 4a50662e: Merge "Clean up pass driver"

* commit '4a50662eeaa0b1a26be66e7584fb765151dabc59':
  Clean up pass driver

9 years agoMerge "Clean up pass driver"
Mathieu Chartier [Thu, 29 Jan 2015 01:17:10 +0000 (01:17 +0000)]
Merge "Clean up pass driver"

9 years agoClean up pass driver
Mathieu Chartier [Tue, 27 Jan 2015 02:30:19 +0000 (18:30 -0800)]
Clean up pass driver

Added pass manager to hold the state which used to be in global
variables.

Static variables caused issues with Runtime.exit since they are
destroyed by the global destructors while threads are still
executing.

Bug: 17950037
Change-Id: Ie0e4546dc9e48909c8df996a5c135be682d50044

9 years agoam f08c6506: Merge "ART: Arm64 optimizing compiler intrinsics"
Andreas Gampe [Wed, 28 Jan 2015 23:41:11 +0000 (23:41 +0000)]
am f08c6506: Merge "ART: Arm64 optimizing compiler intrinsics"

* commit 'f08c6506858ff06d61c8f7ca2741409cd62142f5':
  ART: Arm64 optimizing compiler intrinsics

9 years agoMerge "ART: Arm64 optimizing compiler intrinsics"
Andreas Gampe [Wed, 28 Jan 2015 23:36:25 +0000 (23:36 +0000)]
Merge "ART: Arm64 optimizing compiler intrinsics"

9 years agoART: Arm64 optimizing compiler intrinsics
Andreas Gampe [Fri, 16 Jan 2015 07:24:00 +0000 (23:24 -0800)]
ART: Arm64 optimizing compiler intrinsics

Implement most intrinsics for the optimizing compiler for Arm64.

Change-Id: Idb459be09f0524cb9aeab7a5c7fccb1c6b65a707

9 years agoam f913ff3f: Merge "Force set resolved method for static invokes"
Mathieu Chartier [Wed, 28 Jan 2015 22:41:54 +0000 (22:41 +0000)]
am f913ff3f: Merge "Force set resolved method for static invokes"

* commit 'f913ff3f7e37c1b2c7f2fb96120c2b5b25d962a7':
  Force set resolved method for static invokes

9 years agoMerge "Force set resolved method for static invokes"
Mathieu Chartier [Wed, 28 Jan 2015 22:34:48 +0000 (22:34 +0000)]
Merge "Force set resolved method for static invokes"

9 years agoForce set resolved method for static invokes
Mathieu Chartier [Wed, 28 Jan 2015 21:11:44 +0000 (13:11 -0800)]
Force set resolved method for static invokes

For static invokes, we may dispatch to the static method in the
superclass but resolve using the subclass. To prevent getting slow
paths on each invoke, we force set the resolved method for the
super class dex method index if we are in the same dex file.

Added test.

Bug: 19175856
Change-Id: I26f8644a7f725f5c2dc2a94a8e9578f573792507

9 years agoam ab7f56d9: Merge "Print lock level in ExclusiveUnlock"
Mathieu Chartier [Wed, 28 Jan 2015 02:28:45 +0000 (02:28 +0000)]
am ab7f56d9: Merge "Print lock level in ExclusiveUnlock"

* commit 'ab7f56d9b9838811cb01773e45999e2cda4aa03a':
  Print lock level in ExclusiveUnlock