OSDN Git Service

android-x86/art.git
9 years agoam 0501d194: am a6919983: Merge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:45 +0000 (15:49 +0000)]
am 0501d194: am a6919983: Merge "ART: Dump environment to cfg file."

* commit '0501d1944169d33a9cf741abe6ed51e51b42a92e':
  ART: Dump environment to cfg file.

9 years agoam b3b7b338: am c2024144: Merge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 15:49:44 +0000 (15:49 +0000)]
am b3b7b338: am c2024144: Merge "Create HGraph outside Builder, print timings"

* commit 'b3b7b33823f3633684a9ef6b5bed4422f4eb4a55':
  Create HGraph outside Builder, print timings

9 years agoam 80bfc59f: am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutput...
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:43 +0000 (15:49 +0000)]
am 80bfc59f: am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

* commit '80bfc59f04d0f5998554fbe321fdb8bc4ed79536':
  Fix a bug in combination of intrinsics and kNoOutputOverlap.

9 years agoam 719dab9e: am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:42 +0000 (15:49 +0000)]
am 719dab9e: am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

* commit '719dab9e864e749b0567c493046a7d01510d6753':
  ART: Change x86 long param ABI (Quick/JNI/Opt)

9 years agoam 58a91d5d: am 6bc17805: Merge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:41 +0000 (15:49 +0000)]
am 58a91d5d: am 6bc17805: Merge "Fix test after register allocator changes."

* commit '58a91d5d6dd7245e0e3ea266dc4680e345637c9d':
  Fix test after register allocator changes.

9 years agoam e558cb59: am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:49:40 +0000 (15:49 +0000)]
am e558cb59: am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."

* commit 'e558cb5903c393877f0269e921f0346cfb7382f6':
  Finally implement Location::kNoOutputOverlap.

9 years agoam a6919983: Merge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:38 +0000 (15:43 +0000)]
am a6919983: Merge "ART: Dump environment to cfg file."

* commit 'a6919983bfc7e2c1eb69a4408f940146a2b78d59':
  ART: Dump environment to cfg file.

9 years agoam c2024144: Merge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 15:43:37 +0000 (15:43 +0000)]
am c2024144: Merge "Create HGraph outside Builder, print timings"

* commit 'c2024144da54504d819869dc928ce4ac975634d4':
  Create HGraph outside Builder, print timings

9 years agoam 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:36 +0000 (15:43 +0000)]
am 53150eb4: Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

* commit '53150eb4fb5c3bbcb0138b8dccb481726299f6ab':
  Fix a bug in combination of intrinsics and kNoOutputOverlap.

9 years agoam f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:35 +0000 (15:43 +0000)]
am f4b24f7e: Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

* commit 'f4b24f7ea507ff41db39154a1e6a681a582e224a':
  ART: Change x86 long param ABI (Quick/JNI/Opt)

9 years agoam 6bc17805: Merge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:35 +0000 (15:43 +0000)]
am 6bc17805: Merge "Fix test after register allocator changes."

* commit '6bc17805d2df2678de186e3b4c3e2f959a48555f':
  Fix test after register allocator changes.

9 years agoam b73e4447: Merge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 15:43:33 +0000 (15:43 +0000)]
am b73e4447: Merge "Finally implement Location::kNoOutputOverlap."

* commit 'b73e4447736996f7cc8b193d7e3f5c38d5739d22':
  Finally implement Location::kNoOutputOverlap.

9 years agoMerge "ART: Dump environment to cfg file."
Nicolas Geoffray [Wed, 4 Feb 2015 14:02:24 +0000 (14:02 +0000)]
Merge "ART: Dump environment to cfg file."

9 years agoART: Dump environment to cfg file.
Zheng Xu [Fri, 9 Jan 2015 06:40:47 +0000 (14:40 +0800)]
ART: Dump environment to cfg file.

Environment shows additional dependency and instructions with environment
should usually be a safepoint as well.

Change-Id: I04606624e6ea212ab1dc7502cdb87b5d5d0e3ac2

9 years agoMerge "Create HGraph outside Builder, print timings"
David Brazdil [Wed, 4 Feb 2015 13:51:17 +0000 (13:51 +0000)]
Merge "Create HGraph outside Builder, print timings"

9 years agoCreate HGraph outside Builder, print timings
David Brazdil [Fri, 23 Jan 2015 14:39:08 +0000 (14:39 +0000)]
Create HGraph outside Builder, print timings

This patch refactors the way HGraph objects are created, moving the
instantiation out of the Builder class and creating the CodeGenerator
earlier. The patch uses this to build a single interface for printing
timings info and dumping the CFG.

Change-Id: I2eb63eabf28e2d0f5cdc7affaa690c3a4b1bdd21

9 years agoMerge "Fix a bug in combination of intrinsics and kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 10:58:28 +0000 (10:58 +0000)]
Merge "Fix a bug in combination of intrinsics and kNoOutputOverlap."

9 years agoFix a bug in combination of intrinsics and kNoOutputOverlap.
Nicolas Geoffray [Wed, 4 Feb 2015 10:44:23 +0000 (10:44 +0000)]
Fix a bug in combination of intrinsics and kNoOutputOverlap.

In case we need to go in the slow path for an intrinsic call,
we can't have the output be the same as the input: the current
liveness analysis considers the input to be live at the point of the call.

Change-Id: I5cbdc7f50dd06b4fefcbd3c213274fa645bd3fa0

9 years agoMerge "ART: Change x86 long param ABI (Quick/JNI/Opt)"
Nicolas Geoffray [Wed, 4 Feb 2015 09:45:14 +0000 (09:45 +0000)]
Merge "ART: Change x86 long param ABI (Quick/JNI/Opt)"

9 years agoMerge "Fix test after register allocator changes."
Nicolas Geoffray [Wed, 4 Feb 2015 09:39:31 +0000 (09:39 +0000)]
Merge "Fix test after register allocator changes."

9 years agoFix test after register allocator changes.
Nicolas Geoffray [Wed, 4 Feb 2015 09:38:49 +0000 (09:38 +0000)]
Fix test after register allocator changes.

Change-Id: I22b8faf7926d33ab19033deaba77001d164abd2a

9 years agoMerge "Finally implement Location::kNoOutputOverlap."
Nicolas Geoffray [Wed, 4 Feb 2015 09:13:32 +0000 (09:13 +0000)]
Merge "Finally implement Location::kNoOutputOverlap."

9 years agoFinally implement Location::kNoOutputOverlap.
Nicolas Geoffray [Wed, 28 Jan 2015 10:20:37 +0000 (10:20 +0000)]
Finally implement Location::kNoOutputOverlap.

The [i, i + 1) interval scheme we chose for representing
lifetime positions is not optimal for doing this optimization.
It however doesn't prevent recognizing a non-split interval
during the TryAllocateFreeReg phase, and try to re-use
its inputs' registers.

Change-Id: I80a2823b0048d3310becfc5f5fb7b1230dfd8201

9 years agoam 3d4b6bee: am 69d69ea4: Merge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:50:14 +0000 (23:50 +0000)]
am 3d4b6bee: am 69d69ea4: Merge "ART: checkpoint mechanism optimization"

* commit '3d4b6beec985e703e27763e3e75a8ee0b175e085':
  ART: checkpoint mechanism optimization

9 years agoam 69d69ea4: Merge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:43:21 +0000 (23:43 +0000)]
am 69d69ea4: Merge "ART: checkpoint mechanism optimization"

* commit '69d69ea40fe64ff2e70daffc365a2fffe5964fcc':
  ART: checkpoint mechanism optimization

9 years agoMerge "ART: checkpoint mechanism optimization"
Hiroshi Yamauchi [Tue, 3 Feb 2015 23:39:13 +0000 (23:39 +0000)]
Merge "ART: checkpoint mechanism optimization"

9 years agoam 6bd74ed9: am 900e7b36: Merge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:51:42 +0000 (18:51 +0000)]
am 6bd74ed9: am 900e7b36: Merge "ARM/ARM64: Dump thread offset."

* commit '6bd74ed95259b94b8adc515218352bf6a062f3bd':
  ARM/ARM64: Dump thread offset.

9 years agoam 7aafcce2: am f9af1941: Merge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:51:41 +0000 (18:51 +0000)]
am 7aafcce2: am f9af1941: Merge "Inline methods with multiple blocks."

* commit '7aafcce2334c59620ebbf487bf8fd4c4aa99722a':
  Inline methods with multiple blocks.

9 years agoam 900e7b36: Merge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:44:41 +0000 (18:44 +0000)]
am 900e7b36: Merge "ARM/ARM64: Dump thread offset."

* commit '900e7b36057410cb12cc3c1a066dca04db3c2d45':
  ARM/ARM64: Dump thread offset.

9 years agoam f9af1941: Merge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:44:40 +0000 (18:44 +0000)]
am f9af1941: Merge "Inline methods with multiple blocks."

* commit 'f9af19413333c271192c3b11425f865bd8054c0c':
  Inline methods with multiple blocks.

9 years agoMerge "ARM/ARM64: Dump thread offset."
Andreas Gampe [Tue, 3 Feb 2015 18:26:48 +0000 (18:26 +0000)]
Merge "ARM/ARM64: Dump thread offset."

9 years agoMerge "Inline methods with multiple blocks."
Nicolas Geoffray [Tue, 3 Feb 2015 18:12:44 +0000 (18:12 +0000)]
Merge "Inline methods with multiple blocks."

9 years agoInline methods with multiple blocks.
Nicolas Geoffray [Mon, 2 Feb 2015 18:24:11 +0000 (18:24 +0000)]
Inline methods with multiple blocks.

Change-Id: I3431af60e97fae230e0b6e98bcf0acc0ee9abf8c

9 years agoam 4edc7483: am bd17c3b4: Merge "Use a different block order when not compiling basel...
Nicolas Geoffray [Tue, 3 Feb 2015 17:29:24 +0000 (17:29 +0000)]
am 4edc7483: am bd17c3b4: Merge "Use a different block order when not compiling baseline."

* commit '4edc7483b9520e2d840e4754d19c0f0a8a235f56':
  Use a different block order when not compiling baseline.

9 years agoam bd17c3b4: Merge "Use a different block order when not compiling baseline."
Nicolas Geoffray [Tue, 3 Feb 2015 17:23:42 +0000 (17:23 +0000)]
am bd17c3b4: Merge "Use a different block order when not compiling baseline."

* commit 'bd17c3b46b035861ced434d6ed4d4fe183736e65':
  Use a different block order when not compiling baseline.

9 years agoMerge "Use a different block order when not compiling baseline."
Nicolas Geoffray [Tue, 3 Feb 2015 17:20:45 +0000 (17:20 +0000)]
Merge "Use a different block order when not compiling baseline."

9 years agoUse a different block order when not compiling baseline.
Nicolas Geoffray [Tue, 3 Feb 2015 15:12:35 +0000 (15:12 +0000)]
Use a different block order when not compiling baseline.

Use the linearized order instead, as it puts blocks logically
next to each other in a better way. Also, it does not contain
dead blocks.

Change-Id: Ie65b56041a093c8155e6c1e06351cb36a4053505

9 years agoam 33adb2f7: am bb2f65e6: Merge "Fix build by putting ATTRIBUTE_UNUSUED."
Nicolas Geoffray [Tue, 3 Feb 2015 14:38:46 +0000 (14:38 +0000)]
am 33adb2f7: am bb2f65e6: Merge "Fix build by putting ATTRIBUTE_UNUSUED."

* commit '33adb2f7931ddfcce05fb001646a6b91307354fb':
  Fix build by putting ATTRIBUTE_UNUSUED.

9 years agoam 936a2ce0: am 0b87c470: Merge "Fix thumb2 assembler\'s ShifterOperandCanHold."
Nicolas Geoffray [Tue, 3 Feb 2015 14:38:44 +0000 (14:38 +0000)]
am 936a2ce0: am 0b87c470: Merge "Fix thumb2 assembler\'s ShifterOperandCanHold."

* commit '936a2ce0aa12785c2042c39659d399140fcf8cf0':
  Fix thumb2 assembler's ShifterOperandCanHold.

9 years agoam bb2f65e6: Merge "Fix build by putting ATTRIBUTE_UNUSUED."
Nicolas Geoffray [Tue, 3 Feb 2015 14:36:32 +0000 (14:36 +0000)]
am bb2f65e6: Merge "Fix build by putting ATTRIBUTE_UNUSUED."

* commit 'bb2f65e64844bfca8d05d4c37991d858aa748648':
  Fix build by putting ATTRIBUTE_UNUSUED.

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 build by putting ATTRIBUTE_UNUSUED."
Nicolas Geoffray [Tue, 3 Feb 2015 14:31:47 +0000 (14:31 +0000)]
Merge "Fix build by putting ATTRIBUTE_UNUSUED."

9 years agoFix build by putting ATTRIBUTE_UNUSUED.
Nicolas Geoffray [Tue, 3 Feb 2015 13:59:52 +0000 (13:59 +0000)]
Fix build by putting ATTRIBUTE_UNUSUED.

Change-Id: If894fa1343a7c8a6456d707e815d803404a171d7

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 871fb964: am 08029544: Merge "ART: Fix to X86Mir2Lir::GenReduceVector"
Vladimir Marko [Tue, 3 Feb 2015 12:31:07 +0000 (12:31 +0000)]
am 871fb964: am 08029544: Merge "ART: Fix to X86Mir2Lir::GenReduceVector"

* commit '871fb96488f32cbe67bd61a3171ab45552bcd3a2':
  ART: Fix to X86Mir2Lir::GenReduceVector

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 1779a4bc: am 09fbde3b: Merge "Allow nested inlining."
Nicolas Geoffray [Tue, 3 Feb 2015 12:18:40 +0000 (12:18 +0000)]
am 1779a4bc: am 09fbde3b: Merge "Allow nested inlining."

* commit '1779a4bc0b6281f464b752f7a9c9c792b8169b77':
  Allow nested inlining.

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

* commit '544f04402a31aa949fa873169f1bf94df69a996f':
  Go back to -O2.

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

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

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

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

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 agoARM/ARM64: Dump thread offset.
Zheng Xu [Tue, 3 Feb 2015 04:03:15 +0000 (12:03 +0800)]
ARM/ARM64: Dump thread offset.

Dump thread offset in compiler verbose log for arm32/arm64 and
oatdump for arm64.

Before patch :
0x4e: ldr      lr, [rSELF, #604]
After patch :
0x4e: ldr      lr, [rSELF, #604]  ; pTestSuspend

Change-Id: I514e69dc44b1cf4c8a8fa085b31f93cf6a1b7c91

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 agoART: checkpoint mechanism optimization
Lei Li [Mon, 2 Feb 2015 06:24:44 +0000 (14:24 +0800)]
ART: checkpoint mechanism optimization

GC thread and trim thread are both using checkpoint mechanism. GC thread
will request java threads to mark their thread roots by themselves. Trim
thread will request java threads to trim their jni local reference
tables by themselves.

The checkpint mechanism semantics is that the runnable java threads will
run checkpoint function itself at safepoint, and finally the java
threads and gc thread or trim thread is synchronized via barrier. If the
java threads are not runnable, gc thread or trim thread will suspend
them and then run their checkpoint functions one by one on behalf of
them. If all the java threads are not runnable, then gc thread or trim
thread will do all the work itself. In this case, there is no need
synchronization. This will save unnecessary synchronization and thread
state transitions.

Change-Id: If55940946cb3f8b1af42c7237c334f09c8ec7a9f

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 b0f46ad6: am 5a7c6344: Merge "ART: Make 074-gc-thrash more OOME tolerant"
Andreas Gampe [Tue, 3 Feb 2015 03:47:28 +0000 (03:47 +0000)]
am b0f46ad6: am 5a7c6344: Merge "ART: Make 074-gc-thrash more OOME tolerant"

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

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

* commit '64367019415286b11c7f3afada978462aefd8059':
  ART: Fix assembler_thumb_test

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 57d3dc7c: am a1a0ffb7: Merge "ART: Fix thumb2 utils assembler"
Andreas Gampe [Tue, 3 Feb 2015 01:34:48 +0000 (01:34 +0000)]
am 57d3dc7c: am a1a0ffb7: Merge "ART: Fix thumb2 utils assembler"

* commit '57d3dc7cbe561ddce34de35b6fc28e452676c04f':
  ART: Fix thumb2 utils assembler

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 agoam 86573e56: am 7687b250: Merge "ART: Fix run-tests for emulator"
Andreas Gampe [Tue, 3 Feb 2015 01:23:03 +0000 (01:23 +0000)]
am 86573e56: am 7687b250: Merge "ART: Fix run-tests for emulator"

* commit '86573e568b7ce356d15e4eb3b4af4cf290785c7f':
  ART: Fix run-tests for emulator

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 c5eb3c52: am 4336b97f: Merge "Fix broken gtests after SuspendCheck optimization"
David Brazdil [Mon, 2 Feb 2015 19:32:31 +0000 (19:32 +0000)]
am c5eb3c52: am 4336b97f: Merge "Fix broken gtests after SuspendCheck optimization"

* commit 'c5eb3c52409a494fac69f8280c3143228b72f863':
  Fix broken gtests after SuspendCheck optimization

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 42d2a092: am ec57f287: Merge "No SuspendChecks when branching to return block"
David Brazdil [Mon, 2 Feb 2015 18:13:33 +0000 (18:13 +0000)]
am 42d2a092: am ec57f287: Merge "No SuspendChecks when branching to return block"

* commit '42d2a092ab5c2e87621948ee042d52d7e238423d':
  No SuspendChecks when branching to return block

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 agoam ac8d2393: am 13e70acc: Merge "Clean up enums in RegionSpace."
Hiroshi Yamauchi [Mon, 2 Feb 2015 17:58:06 +0000 (17:58 +0000)]
am ac8d2393: am 13e70acc: Merge "Clean up enums in RegionSpace."

* commit 'ac8d23930a574ca7a958e544bf31e546e9032e6a':
  Clean up enums in RegionSpace.

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 b38a24d5: am cc6bb730: Merge "AdvanceMIR does not know how to passthrough the...
Vladimir Marko [Mon, 2 Feb 2015 17:24:45 +0000 (17:24 +0000)]
am b38a24d5: am cc6bb730: Merge "AdvanceMIR does not know how to passthrough the empty block"

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

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 d124ea3f: am 5d718dcd: Merge "ART: Fix x86 disassembler"
Andreas Gampe [Mon, 2 Feb 2015 16:09:51 +0000 (16:09 +0000)]
am d124ea3f: am 5d718dcd: Merge "ART: Fix x86 disassembler"

* commit 'd124ea3fbfdf30e79ea19d2de9e549cb937fe213':
  ART: Fix x86 disassembler

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"