OSDN Git Service

android-x86/art.git
8 years agoMerge \\"Reduce ImageSpace::Init frame size\\" am: edbcf54199
Mathieu Chartier [Wed, 15 Jun 2016 20:47:55 +0000 (20:47 +0000)]
Merge \\"Reduce ImageSpace::Init frame size\\" am: edbcf54199
am: e28954d0d0

Change-Id: I735eb3ba8642d28aa5d851fa6071cd3f2d7c5e0b

8 years agoMerge \"Reduce ImageSpace::Init frame size\"
Mathieu Chartier [Wed, 15 Jun 2016 20:43:29 +0000 (20:43 +0000)]
Merge \"Reduce ImageSpace::Init frame size\"
am: edbcf54199

Change-Id: Idb36f9ecbcd7cb29a5560502b952bf7db8621493

8 years agoMerge "Reduce ImageSpace::Init frame size"
Mathieu Chartier [Wed, 15 Jun 2016 20:28:21 +0000 (20:28 +0000)]
Merge "Reduce ImageSpace::Init frame size"

8 years agoReduce ImageSpace::Init frame size
Mathieu Chartier [Wed, 15 Jun 2016 20:11:40 +0000 (13:11 -0700)]
Reduce ImageSpace::Init frame size

Fixes x86_64 build.

Change-Id: Ib636a1274e255a60bda47607570fedbe92a5e2cd

8 years agoMerge \\"Optimize IMT\\" am: abdda2fb52
Mathieu Chartier [Wed, 15 Jun 2016 17:59:57 +0000 (17:59 +0000)]
Merge \\"Optimize IMT\\" am: abdda2fb52
am: 8b74c3ac03

Change-Id: I570e9038549a29e46f0c4035f3b97382de06141f

8 years agoMerge \"Optimize IMT\"
Nelli Kim [Wed, 15 Jun 2016 17:55:38 +0000 (17:55 +0000)]
Merge \"Optimize IMT\"
am: abdda2fb52

Change-Id: Ifac59a3c2f4a701bf6c856338973b691dd4216cd

8 years agoMerge "Optimize IMT"
Mathieu Chartier [Wed, 15 Jun 2016 17:44:14 +0000 (17:44 +0000)]
Merge "Optimize IMT"

8 years agoMerge \\"Also compile libnetd_client for target testing.\\" am: 2b87a47c09
Nicolas Geoffray [Wed, 15 Jun 2016 14:00:04 +0000 (14:00 +0000)]
Merge \\"Also compile libnetd_client for target testing.\\" am: 2b87a47c09
am: 19a8a949b3

Change-Id: I369c3f760740786e41097a0d2e93816ed78e7a0a

8 years agoMerge \"Also compile libnetd_client for target testing.\"
Nicolas Geoffray [Wed, 15 Jun 2016 13:57:28 +0000 (13:57 +0000)]
Merge \"Also compile libnetd_client for target testing.\"
am: 2b87a47c09

Change-Id: I8cde16e52f10769529ffee841a45d70c32b2e847

8 years agoMerge "Also compile libnetd_client for target testing."
Nicolas Geoffray [Wed, 15 Jun 2016 13:52:39 +0000 (13:52 +0000)]
Merge "Also compile libnetd_client for target testing."

8 years agoMerge \\"Revert \\"Revert \\"Disable 149-suspend-all-stress, its output is flaky...
Nicolas Geoffray [Wed, 15 Jun 2016 12:10:04 +0000 (12:10 +0000)]
Merge \\"Revert \\"Revert \\"Disable 149-suspend-all-stress, its output is flaky.\\"\\"\\" am: 06c0b5d93b
am: 539226fbda

Change-Id: I92d6a12f6d2e444ac216b0c38c72e2c959b188f7

8 years agoMerge \"Revert \"Revert \"Disable 149-suspend-all-stress, its output is flaky.\"\"\"
Nicolas Geoffray [Wed, 15 Jun 2016 12:06:52 +0000 (12:06 +0000)]
Merge \"Revert \"Revert \"Disable 149-suspend-all-stress, its output is flaky.\"\"\"
am: 06c0b5d93b

Change-Id: I4555a596f6c653fa3317681eb9dd60c623908f48

8 years agoMerge "Revert "Revert "Disable 149-suspend-all-stress, its output is flaky."""
Nicolas Geoffray [Wed, 15 Jun 2016 11:57:35 +0000 (11:57 +0000)]
Merge "Revert "Revert "Disable 149-suspend-all-stress, its output is flaky."""

8 years agoRevert "Revert "Disable 149-suspend-all-stress, its output is flaky.""
Nicolas Geoffray [Wed, 15 Jun 2016 11:57:22 +0000 (11:57 +0000)]
Revert "Revert "Disable 149-suspend-all-stress, its output is flaky.""

Still flaky.

bug:28988206

This reverts commit 06cb9b25e09c10530ba4f3659b54161b1c76c932.

Change-Id: I13626a8959db27fd566f6db56fab469312422e70

8 years agoMerge \\"ARM: Use GOT_PREL references for Runtime::Current().\\" am: 453134813e
Vladimir Marko [Wed, 15 Jun 2016 10:49:25 +0000 (10:49 +0000)]
Merge \\"ARM: Use GOT_PREL references for Runtime::Current().\\" am: 453134813e
am: ac3515ad2f

Change-Id: I1fb3dcdab6d412650ee878b3b6761cbe2383cf37

8 years agoMerge \"ARM: Use GOT_PREL references for Runtime::Current().\"
Vladimir Marko [Wed, 15 Jun 2016 10:46:42 +0000 (10:46 +0000)]
Merge \"ARM: Use GOT_PREL references for Runtime::Current().\"
am: 453134813e

Change-Id: I7d4e311834a3ca2b88571054e4293ad15b9b66b5

8 years agoMerge "ARM: Use GOT_PREL references for Runtime::Current()."
Vladimir Marko [Wed, 15 Jun 2016 10:38:23 +0000 (10:38 +0000)]
Merge "ARM: Use GOT_PREL references for Runtime::Current()."

8 years agoMerge \\"Visit invalid roots of only suspended threads\\" am: 93f26bed24
Mathieu Chartier [Wed, 15 Jun 2016 02:47:22 +0000 (02:47 +0000)]
Merge \\"Visit invalid roots of only suspended threads\\" am: 93f26bed24
am: 696bb07286

Change-Id: I452ba55cd9db99c122222a6d48868ff7324efe5e

8 years agoMerge \"Visit invalid roots of only suspended threads\"
Mathieu Chartier [Wed, 15 Jun 2016 02:44:42 +0000 (02:44 +0000)]
Merge \"Visit invalid roots of only suspended threads\"
am: 93f26bed24

Change-Id: Ibb58c2a33ea756b777229b1cc9d67d18d6c18e87

8 years agoMerge "Visit invalid roots of only suspended threads"
Mathieu Chartier [Wed, 15 Jun 2016 02:35:09 +0000 (02:35 +0000)]
Merge "Visit invalid roots of only suspended threads"

8 years agoMerge \\"ART: Empty out sa_mask in ArmInstructionSetFeatures\\" am: 98dd28e79d
Andreas Gampe [Wed, 15 Jun 2016 01:48:57 +0000 (01:48 +0000)]
Merge \\"ART: Empty out sa_mask in ArmInstructionSetFeatures\\" am: 98dd28e79d
am: 9a648c3db1

Change-Id: I976710643fbdf288ff7392f85aab133a1338b43c

8 years agoMerge \"ART: Empty out sa_mask in ArmInstructionSetFeatures\"
Andreas Gampe [Wed, 15 Jun 2016 01:46:15 +0000 (01:46 +0000)]
Merge \"ART: Empty out sa_mask in ArmInstructionSetFeatures\"
am: 98dd28e79d

Change-Id: I633ab79afeb3c44ccf0c5a0f7e2840f20f6e0a7b

8 years agoMerge "ART: Empty out sa_mask in ArmInstructionSetFeatures"
Treehugger Robot [Wed, 15 Jun 2016 01:29:25 +0000 (01:29 +0000)]
Merge "ART: Empty out sa_mask in ArmInstructionSetFeatures"

8 years agoVisit invalid roots of only suspended threads
Mathieu Chartier [Wed, 15 Jun 2016 00:08:47 +0000 (17:08 -0700)]
Visit invalid roots of only suspended threads

Since this always happens with suspended threads or self, you can
just visit these threads and do not require a suspend all. This
will not miss any roots if the caller was marking a thread root.

Fixes issues like transitioning to suspended and back blocking on a
thread suspension request from another thread. This could cause
deadlocks previously.

Bug: 29062271

Change-Id: I2fef149387aacf0cdc9a773d4f172c42fa53e4dc

8 years agoART: Empty out sa_mask in ArmInstructionSetFeatures
Andreas Gampe [Wed, 15 Jun 2016 00:24:51 +0000 (17:24 -0700)]
ART: Empty out sa_mask in ArmInstructionSetFeatures

For sdiv hardware detection by signal, empty out sa_mask.

Bug: 29282211
Change-Id: I7c85273f95089fcce75319843e5921842ea6df4d

8 years agoMerge \\"Change test 149 to run for 10 seconds\\" am: 336f697941
Mathieu Chartier [Tue, 14 Jun 2016 22:30:18 +0000 (22:30 +0000)]
Merge \\"Change test 149 to run for 10 seconds\\" am: 336f697941
am: 919aa5ff89

Change-Id: Id0fb553aca63a6bbdba82b887aa7059de56d1aee

8 years agoMerge \"Change test 149 to run for 10 seconds\"
Mathieu Chartier [Tue, 14 Jun 2016 22:27:42 +0000 (22:27 +0000)]
Merge \"Change test 149 to run for 10 seconds\"
am: 336f697941

Change-Id: Icf9d860e6656a2f51a29df66992b906fbe58cef8

8 years agoMerge "Change test 149 to run for 10 seconds"
Mathieu Chartier [Tue, 14 Jun 2016 22:19:58 +0000 (22:19 +0000)]
Merge "Change test 149 to run for 10 seconds"

8 years agoMerge \\"ART: Add setenv to Valgrind target suppressions\\" am: 4070f3fb51
Andreas Gampe [Tue, 14 Jun 2016 22:06:57 +0000 (22:06 +0000)]
Merge \\"ART: Add setenv to Valgrind target suppressions\\" am: 4070f3fb51
am: 6ac8461b45

Change-Id: Ibe0184679a5d624bf163153a939722b00d73a963

8 years agoMerge \"ART: Add setenv to Valgrind target suppressions\"
Andreas Gampe [Tue, 14 Jun 2016 21:46:09 +0000 (21:46 +0000)]
Merge \"ART: Add setenv to Valgrind target suppressions\"
am: 4070f3fb51

Change-Id: I7b5389ac3f2d3bd0ee6e302c2ff2cf3550068eca

8 years agoMerge "ART: Add setenv to Valgrind target suppressions"
Andreas Gampe [Tue, 14 Jun 2016 21:39:00 +0000 (21:39 +0000)]
Merge "ART: Add setenv to Valgrind target suppressions"

8 years agoART: Add setenv to Valgrind target suppressions
Andreas Gampe [Tue, 14 Jun 2016 21:36:09 +0000 (14:36 -0700)]
ART: Add setenv to Valgrind target suppressions

Setenv is known-leaking when overwriting existing keys. Ignore.

Bug: 29282211
Change-Id: I4af0bf4d33b9e3d8352f7219710882215def09f1

8 years agoMerge \\"ART: Workaround for ARM valgrind stack issues\\" am: 8807794592
Andreas Gampe [Tue, 14 Jun 2016 21:20:51 +0000 (21:20 +0000)]
Merge \\"ART: Workaround for ARM valgrind stack issues\\" am: 8807794592
am: 65c929e21d

Change-Id: Ie7d7ab287b05cc77b03c82ed7281075d9c9e00c2

8 years agoMerge \"ART: Workaround for ARM valgrind stack issues\"
Andreas Gampe [Tue, 14 Jun 2016 21:17:59 +0000 (21:17 +0000)]
Merge \"ART: Workaround for ARM valgrind stack issues\"
am: 8807794592

Change-Id: Ieab699461bd95ae08a1782b9637e94416649e1a1

8 years agoMerge "ART: Workaround for ARM valgrind stack issues"
Treehugger Robot [Tue, 14 Jun 2016 21:10:17 +0000 (21:10 +0000)]
Merge "ART: Workaround for ARM valgrind stack issues"

8 years agoMerge \\"Revert \\"Revert \\"Revert \\"Revert \\"Revert \\"Revert some flaky unloadin...
Alex Light [Tue, 14 Jun 2016 21:05:30 +0000 (21:05 +0000)]
Merge \\"Revert \\"Revert \\"Revert \\"Revert \\"Revert \\"Revert some flaky unloading\\"\\"\\"\\"\\"\\" am: 68d4ab385c
am: c316aadc52

Change-Id: Icb8fe94b2dea9f01d80c7a67d687d3bea5535b6f

8 years agoMerge \"Revert \"Revert \"Revert \"Revert \"Revert \"Revert some flaky unloading...
Alex Light [Tue, 14 Jun 2016 21:02:47 +0000 (21:02 +0000)]
Merge \"Revert \"Revert \"Revert \"Revert \"Revert \"Revert some flaky unloading\"\"\"\"\"\"
am: 68d4ab385c

Change-Id: I6745560c41460ab426096cec0b6523a8eef1069b

8 years agoMerge "Revert "Revert "Revert "Revert "Revert "Revert some flaky unloading""""""
Alex Light [Tue, 14 Jun 2016 20:56:07 +0000 (20:56 +0000)]
Merge "Revert "Revert "Revert "Revert "Revert "Revert some flaky unloading""""""

8 years agoMerge \\"Pass the right CFLAGS to libarttest(d).\\" am: e554eccb00
Alex Light [Tue, 14 Jun 2016 20:12:47 +0000 (20:12 +0000)]
Merge \\"Pass the right CFLAGS to libarttest(d).\\" am: e554eccb00
am: b9c5c771d5

Change-Id: I649ae8c2143f7ccbec0458bd2ff78c2aafe45178

8 years agoChange test 149 to run for 10 seconds
Mathieu Chartier [Tue, 14 Jun 2016 17:41:06 +0000 (10:41 -0700)]
Change test 149 to run for 10 seconds

Run for a fixed 10 seconds to prevent timeouts on overloaded
machines.

Bug: 28988206

Change-Id: Ia40b8e61445ca0a6331668dc605401d1f69e4d17

8 years agoMerge \"Pass the right CFLAGS to libarttest(d).\"
Nicolas Geoffray [Tue, 14 Jun 2016 20:04:02 +0000 (20:04 +0000)]
Merge \"Pass the right CFLAGS to libarttest(d).\"
am: e554eccb00

Change-Id: Ia50433df4a7bfee69217c75e470800f47dcee168

8 years agoARM: Use GOT_PREL references for Runtime::Current().
Vladimir Marko [Tue, 14 Jun 2016 16:43:17 +0000 (17:43 +0100)]
ARM: Use GOT_PREL references for Runtime::Current().

Bug: 29259539
Change-Id: I5039ff016403d438f496a55d4bb1775c3d67c09c

8 years agoART: Workaround for ARM valgrind stack issues
Andreas Gampe [Sat, 11 Jun 2016 03:38:55 +0000 (20:38 -0700)]
ART: Workaround for ARM valgrind stack issues

The reports from pthreads and the builtins don't match up (compiled
code and thus actual stack pointer values haven't been tested, yet).
As a temporary workaround, implicitly disable the checks by storing
0x0 as the stack base.

Bug: 19127663
Bug: 29282211
Change-Id: Ib4170e222ca7e2ef92bf125b0a7409770ded7822

8 years agoMerge "Pass the right CFLAGS to libarttest(d)."
Alex Light [Tue, 14 Jun 2016 17:30:26 +0000 (17:30 +0000)]
Merge "Pass the right CFLAGS to libarttest(d)."

8 years agoOptimize IMT
Nelli Kim [Fri, 13 May 2016 10:08:53 +0000 (13:08 +0300)]
Optimize IMT

* Remove IMT for classes which do not implement interfaces
* Remove IMT for array classes
* Share same IMT

Saved memory (measured on hammerhead):
boot.art:
Total number of classes: 3854
Number of affected classes: 1637
Saved memory: 409kB

Chrome (excluding classes in boot.art):
Total number of classes: 2409
Number of affected classes: 1259
Saved memory: 314kB

Google Maps (excluding classes in boot.art):
Total number of classes: 6988
Number of affected classes: 2574
Saved memory: 643kB

Performance regression on benchmarks/InvokeInterface.java benchmark
(measured timeCall10Interface)
1st launch: 9.6%
2nd launch: 6.8%

Change-Id: If07e45390014a6ee8f3c1c4ca095b43046f0871f

8 years agoMerge \\"ARM64: Improve String.getCharsNoCheck intrinsic.\\" am: 63e0a7d057
Vladimir Marko [Tue, 14 Jun 2016 09:44:12 +0000 (09:44 +0000)]
Merge \\"ARM64: Improve String.getCharsNoCheck intrinsic.\\" am: 63e0a7d057
am: e456500d36

Change-Id: I7cffe5a7d76438d20bee4d713678154944e7980b

8 years agoMerge \"ARM64: Improve String.getCharsNoCheck intrinsic.\"
Scott Wakeling [Tue, 14 Jun 2016 09:39:31 +0000 (09:39 +0000)]
Merge \"ARM64: Improve String.getCharsNoCheck intrinsic.\"
am: 63e0a7d057

Change-Id: Ic0eeef0ae695c9a2258dc2830932eaa99e9d6406

8 years agoMerge "ARM64: Improve String.getCharsNoCheck intrinsic."
Vladimir Marko [Tue, 14 Jun 2016 09:06:24 +0000 (09:06 +0000)]
Merge "ARM64: Improve String.getCharsNoCheck intrinsic."

8 years agoMerge \\"Revert \\"Disable 149-suspend-all-stress, its output is flaky.\\"\\" am...
Mathieu Chartier [Tue, 14 Jun 2016 01:47:48 +0000 (01:47 +0000)]
Merge \\"Revert \\"Disable 149-suspend-all-stress, its output is flaky.\\"\\" am: 294ce238cb
am: 65fd4db82f

Change-Id: I875c948cd02839ee248df1ac55c1f801477c2636

8 years agoMerge \\"Support unlimited pending checkpoints\\" am: f84bef9dd7
Mathieu Chartier [Tue, 14 Jun 2016 01:43:04 +0000 (01:43 +0000)]
Merge \\"Support unlimited pending checkpoints\\" am: f84bef9dd7
am: 1fb249f473

Change-Id: Ic501076ba01c8c95f665695c060f4851990c233b

8 years agoMerge \"Revert \"Disable 149-suspend-all-stress, its output is flaky.\"\"
Mathieu Chartier [Tue, 14 Jun 2016 01:43:02 +0000 (01:43 +0000)]
Merge \"Revert \"Disable 149-suspend-all-stress, its output is flaky.\"\"
am: 294ce238cb

Change-Id: If4f325ffe6b8fa0d139b9f29b8ef0cd8ed5c2a4d

8 years agoMerge \"Support unlimited pending checkpoints\"
Mathieu Chartier [Tue, 14 Jun 2016 01:38:40 +0000 (01:38 +0000)]
Merge \"Support unlimited pending checkpoints\"
am: f84bef9dd7

Change-Id: I5a5bf6688474fd7261e140fd7283ec1a93b0da2e

8 years agoMerge "Revert "Disable 149-suspend-all-stress, its output is flaky.""
Mathieu Chartier [Tue, 14 Jun 2016 01:33:17 +0000 (01:33 +0000)]
Merge "Revert "Disable 149-suspend-all-stress, its output is flaky.""

8 years agoMerge "Support unlimited pending checkpoints"
Mathieu Chartier [Tue, 14 Jun 2016 01:32:53 +0000 (01:32 +0000)]
Merge "Support unlimited pending checkpoints"

8 years agoSupport unlimited pending checkpoints
Mathieu Chartier [Mon, 13 Jun 2016 21:04:02 +0000 (14:04 -0700)]
Support unlimited pending checkpoints

Prevents the spinning that used to happen if RunCheckpoint was called
with 3 pending checkpoints. This spinning was done when holding
thread_list_lock_ and thread_suspend_count_lock_ and could deadlock
if any of the pending checkpoints required any of these locks.

The fix is to use an overflow list instead of having a fixed limit of
3.

Changed suspend stress test to have more threads and only compare last
line since there may be libbacktrace spam like:
"+E/libbacktrace(69891): void SignalHandler(int, siginfo_t *, void *):
Timed out waiting for unwind thread to indicate it completed."

Bug: 28988206

Change-Id: I2ae611506147d5199d59a08eee0395f7fa35d448

8 years agoART: Turn off unattached thread dumping
Andreas Gampe [Tue, 14 Jun 2016 00:55:46 +0000 (00:55 +0000)]
ART: Turn off unattached thread dumping
am: a3e8fc3aab

Change-Id: Ia9a47d46603b373cf8fc1b823de4edd2bcd55259

8 years agoMerge \\"Propagate the read barrier option to Class::VisitNativeRoots.\\" am: ece5386eeb
Hiroshi Yamauchi [Mon, 13 Jun 2016 23:25:13 +0000 (23:25 +0000)]
Merge \\"Propagate the read barrier option to Class::VisitNativeRoots.\\" am: ece5386eeb
am: 2bde11450f

Change-Id: I242646a7cefd7f98874eef81a41196db7f7082ef

8 years agoMerge \"Propagate the read barrier option to Class::VisitNativeRoots.\"
Hiroshi Yamauchi [Mon, 13 Jun 2016 23:20:28 +0000 (23:20 +0000)]
Merge \"Propagate the read barrier option to Class::VisitNativeRoots.\"
am: ece5386eeb

Change-Id: Ifae6fb92fcd94d29dd50c1ab51ea6db34a7c4465

8 years agoART: Turn off unattached thread dumping
Andreas Gampe [Mon, 13 Jun 2016 23:15:33 +0000 (16:15 -0700)]
ART: Turn off unattached thread dumping

May be responsible for lack of ANR dumps in some situations.

Bug: 29248079
Change-Id: Ib742c063b1d77216eddfbf4392d17d024e028bf8

8 years agoMerge "Propagate the read barrier option to Class::VisitNativeRoots."
Hiroshi Yamauchi [Mon, 13 Jun 2016 23:11:33 +0000 (23:11 +0000)]
Merge "Propagate the read barrier option to Class::VisitNativeRoots."

8 years agoPropagate the read barrier option to Class::VisitNativeRoots.
Hiroshi Yamauchi [Sat, 11 Jun 2016 00:22:48 +0000 (17:22 -0700)]
Propagate the read barrier option to Class::VisitNativeRoots.

Propagate the read barrier option from Object::VisitReferences to
Class::VisitNativeRoots.

This is a step toward the GC thread avoiding graying objects (and
reducing dirty pages) in the immune spaces.

Bug: 12687968

Change-Id: I29c4126a4ad4c40e63a934e62451fb3fb36aad43

8 years agoRevert "Disable 149-suspend-all-stress, its output is flaky."
Mathieu Chartier [Mon, 13 Jun 2016 20:04:23 +0000 (13:04 -0700)]
Revert "Disable 149-suspend-all-stress, its output is flaky."

This reverts commit e7aa9dd3c2f7156a4ad186dae93a3103f6eace81.

8 years agoMerge \\"MIPS32: Improve offset calculations in loads and stores\\" am: 6149681986
Alexey Frunze [Mon, 13 Jun 2016 18:57:57 +0000 (18:57 +0000)]
Merge \\"MIPS32: Improve offset calculations in loads and stores\\" am: 6149681986
am: 0ff6a477d7

Change-Id: I9987a95dc6e425126b0cc2a303e60fd4809485ad

8 years agoMerge \"MIPS32: Improve offset calculations in loads and stores\"
Alexey Frunze [Mon, 13 Jun 2016 18:53:50 +0000 (18:53 +0000)]
Merge \"MIPS32: Improve offset calculations in loads and stores\"
am: 6149681986

Change-Id: I2d409b764d109cf20165ed9668028f5a2e9e4d8c

8 years agoMerge "MIPS32: Improve offset calculations in loads and stores"
Treehugger Robot [Mon, 13 Jun 2016 18:47:31 +0000 (18:47 +0000)]
Merge "MIPS32: Improve offset calculations in loads and stores"

8 years agoMerge \\"ARM64: Use VIXL\\'s conditional select helper.\\" am: 5fe5bd9f17
Vladimir Marko [Mon, 13 Jun 2016 18:42:10 +0000 (18:42 +0000)]
Merge \\"ARM64: Use VIXL\\'s conditional select helper.\\" am: 5fe5bd9f17
am: 3e83c5b5ae

Change-Id: I2fb863871c371edbe6e5f3356a8f5a807c71eebc

8 years agoMerge \"ARM64: Use VIXL\'s conditional select helper.\"
Alexandre Rames [Mon, 13 Jun 2016 18:38:01 +0000 (18:38 +0000)]
Merge \"ARM64: Use VIXL\'s conditional select helper.\"
am: 5fe5bd9f17

Change-Id: Ib3570976070218e0391d7a438295df902dc9bd60

8 years agoMerge "ARM64: Use VIXL's conditional select helper."
Vladimir Marko [Mon, 13 Jun 2016 18:24:32 +0000 (18:24 +0000)]
Merge "ARM64: Use VIXL's conditional select helper."

8 years agoRevert "Revert "Revert "Revert "Revert "Revert some flaky unloading"""""
Alex Light [Mon, 13 Jun 2016 17:22:13 +0000 (17:22 +0000)]
Revert "Revert "Revert "Revert "Revert "Revert some flaky unloading"""""

With go/aog/238641 this should pass on the buildbots again.

Bug: 28406866

This reverts commit 7dbf20abe99eb6c1d9c137e592c2025af725fa06.

Change-Id: I1038fe454491488fd561f5fce2e51a27487dce20

8 years agoARM64: Use VIXL's conditional select helper.
Alexandre Rames [Mon, 13 Jun 2016 15:04:50 +0000 (16:04 +0100)]
ARM64: Use VIXL's conditional select helper.

Change-Id: Id6bb880e2fffb54cf1f480191fc734eaaf4cd293

8 years agoAlso compile libnetd_client for target testing.
Nicolas Geoffray [Mon, 13 Jun 2016 14:28:38 +0000 (15:28 +0100)]
Also compile libnetd_client for target testing.

The runtime linker will load the one on /system otherwise.

Change-Id: Id57e84d1b34e807437818d39bf6ef5f727a7d210

8 years agoMerge \\"Remove too aggressive DCHECKs.\\" am: cace1ba2ab
Nicolas Geoffray [Mon, 13 Jun 2016 14:14:55 +0000 (14:14 +0000)]
Merge \\"Remove too aggressive DCHECKs.\\" am: cace1ba2ab
am: 1523d7cb05

Change-Id: Ie276a1d0fd7ce90d13561bc51b68dc6b2b4c5f66

8 years agoPass the right CFLAGS to libarttest(d).
Nicolas Geoffray [Mon, 13 Jun 2016 14:14:53 +0000 (15:14 +0100)]
Pass the right CFLAGS to libarttest(d).

bug:28406866
Change-Id: If063bfda90786f58e2dba68fe1b96a668e7db177

8 years agoMerge \"Remove too aggressive DCHECKs.\"
Nicolas Geoffray [Mon, 13 Jun 2016 14:11:12 +0000 (14:11 +0000)]
Merge \"Remove too aggressive DCHECKs.\"
am: cace1ba2ab

Change-Id: I2d8bd85bf274a494303a83cb4f2fdb9f4202b035

8 years agoMerge "Remove too aggressive DCHECKs."
Treehugger Robot [Mon, 13 Jun 2016 14:02:45 +0000 (14:02 +0000)]
Merge "Remove too aggressive DCHECKs."

8 years agoARM64: Improve String.getCharsNoCheck intrinsic.
Scott Wakeling [Fri, 22 Apr 2016 10:35:56 +0000 (11:35 +0100)]
ARM64: Improve String.getCharsNoCheck intrinsic.

- Optimize for < 8 characters.
- Improve performance of longer retrievals with LDP/STP.

Change-Id: Ib9a9507ae652a439c7fdcab5cc916e1930722228

8 years agoRemove too aggressive DCHECKs.
Nicolas Geoffray [Fri, 10 Jun 2016 15:06:34 +0000 (16:06 +0100)]
Remove too aggressive DCHECKs.

A class can move from a state greater or equal than resolved
to erroneous concurrently to the verifier or the compiler.

bug:29239283
Change-Id: I89f3fe1c1d9556c6c99b8e005b3ec02de7f01b85
(cherry picked from commit f7d994622aabcc689f62253a9253e0c67d9e787e)

8 years agoRemove too aggressive DCHECKs.
Nicolas Geoffray [Mon, 13 Jun 2016 12:49:44 +0000 (12:49 +0000)]
Remove too aggressive DCHECKs.
am: f7d994622a

Change-Id: I145aed27525da6b351588b9695093caffdbac6ef

8 years agoRemove too aggressive DCHECKs.
Nicolas Geoffray [Fri, 10 Jun 2016 15:06:34 +0000 (16:06 +0100)]
Remove too aggressive DCHECKs.

A class can move from a state greater or equal than resolved
to erroneous concurrently to the verifier or the compiler.

bug:29239283
Change-Id: I89f3fe1c1d9556c6c99b8e005b3ec02de7f01b85

8 years agoMerge \\"Disable 149-suspend-all-stress, its output is flaky.\\" am: 834f4445e7
Nicolas Geoffray [Sat, 11 Jun 2016 12:54:38 +0000 (12:54 +0000)]
Merge \\"Disable 149-suspend-all-stress, its output is flaky.\\" am: 834f4445e7
am: b7dae9a582

Change-Id: I405e67c85b63b52b832e365f92bef063a8fc93c5

8 years agoMerge \"Disable 149-suspend-all-stress, its output is flaky.\"
Nicolas Geoffray [Sat, 11 Jun 2016 12:50:49 +0000 (12:50 +0000)]
Merge \"Disable 149-suspend-all-stress, its output is flaky.\"
am: 834f4445e7

Change-Id: Icfbc400af8cd225aaf5a7ae0aeae515449cd32f8

8 years agoMerge "Disable 149-suspend-all-stress, its output is flaky."
Nicolas Geoffray [Sat, 11 Jun 2016 12:43:11 +0000 (12:43 +0000)]
Merge "Disable 149-suspend-all-stress, its output is flaky."

8 years agoDisable 149-suspend-all-stress, its output is flaky.
Nicolas Geoffray [Sat, 11 Jun 2016 12:40:26 +0000 (13:40 +0100)]
Disable 149-suspend-all-stress, its output is flaky.

bug:28988206
Change-Id: I13cce14b72d753c9ba2ca9b4e256eb571620caa9

8 years agoMerge \\"Revert \\"ART: Disable check under memory tools\\"\\" am: a1f2201647
Andreas Gampe [Sat, 11 Jun 2016 03:47:03 +0000 (03:47 +0000)]
Merge \\"Revert \\"ART: Disable check under memory tools\\"\\" am: a1f2201647
am: 1963e219b8

Change-Id: I3dc25307635e89475fa1aa38521cdc161f4d92cc

8 years agoMerge \"Revert \"ART: Disable check under memory tools\"\"
Andreas Gampe [Sat, 11 Jun 2016 03:43:02 +0000 (03:43 +0000)]
Merge \"Revert \"ART: Disable check under memory tools\"\"
am: a1f2201647

Change-Id: Ibb87ab61e387b60bf0578dbafc05072e6bb80d78

8 years agoMerge "Revert "ART: Disable check under memory tools""
Andreas Gampe [Sat, 11 Jun 2016 03:36:14 +0000 (03:36 +0000)]
Merge "Revert "ART: Disable check under memory tools""

8 years agoRevert "ART: Disable check under memory tools"
Andreas Gampe [Sat, 11 Jun 2016 03:34:55 +0000 (20:34 -0700)]
Revert "ART: Disable check under memory tools"

This reverts commit 820c13bea5795e04986bf617319517562de76514.

The check is valid, the whole stack setup is broken.

8 years agoMerge \\"ART: Suppress memcpy overlap in jemalloc for valgrind\\" am: 904ece094b
Andreas Gampe [Sat, 11 Jun 2016 02:39:03 +0000 (02:39 +0000)]
Merge \\"ART: Suppress memcpy overlap in jemalloc for valgrind\\" am: 904ece094b
am: 866b3258e5

Change-Id: Id0ee7cbd2a7037a38b4c759b34481831f2f18397

8 years agoMerge \"ART: Suppress memcpy overlap in jemalloc for valgrind\"
Andreas Gampe [Sat, 11 Jun 2016 02:34:51 +0000 (02:34 +0000)]
Merge \"ART: Suppress memcpy overlap in jemalloc for valgrind\"
am: 904ece094b

Change-Id: Icf5899a33152b8ada5ebf1efb9fba8004031fabe

8 years agoMerge "ART: Suppress memcpy overlap in jemalloc for valgrind"
Andreas Gampe [Sat, 11 Jun 2016 02:28:19 +0000 (02:28 +0000)]
Merge "ART: Suppress memcpy overlap in jemalloc for valgrind"

8 years agoART: Suppress memcpy overlap in jemalloc for valgrind
Andreas Gampe [Sat, 11 Jun 2016 01:43:46 +0000 (18:43 -0700)]
ART: Suppress memcpy overlap in jemalloc for valgrind

Clang/LLVM uses memcpy for a self-assign, which is detected by
valgrind. Ignore.

Bug: 29279679
Change-Id: I47483e1a2a982b9f3642f98e4389633989885bb8

8 years agoMerge \\"Use ScopedObjectAccess in ThreadList::Dump\\" am: 52c02d62d3
Mathieu Chartier [Sat, 11 Jun 2016 01:11:42 +0000 (01:11 +0000)]
Merge \\"Use ScopedObjectAccess in ThreadList::Dump\\" am: 52c02d62d3
am: 31f4454310

Change-Id: I7d1dc07c513a628ccbb42b3c583509f73a97da79

8 years agoMerge \"Use ScopedObjectAccess in ThreadList::Dump\"
Mathieu Chartier [Sat, 11 Jun 2016 01:07:55 +0000 (01:07 +0000)]
Merge \"Use ScopedObjectAccess in ThreadList::Dump\"
am: 52c02d62d3

Change-Id: I29d073ed748608eee309c68d83d52378f32bfdac

8 years agoMerge "Use ScopedObjectAccess in ThreadList::Dump"
Mathieu Chartier [Sat, 11 Jun 2016 00:53:57 +0000 (00:53 +0000)]
Merge "Use ScopedObjectAccess in ThreadList::Dump"

8 years agoUse ScopedObjectAccess in ThreadList::Dump
Mathieu Chartier [Sat, 11 Jun 2016 00:04:20 +0000 (17:04 -0700)]
Use ScopedObjectAccess in ThreadList::Dump

Prevent deadlocks if two different threads are calling Dump at the
same time:

Thread 1: Requests thread 2 to suspend
Thread 2: Requests thread 1 to suspend
Both threads are suspended and blocked on ScopedObjectAccess in
thread dumping.

Added to suspend all stress, reduced thread count to 4 temporarily
since this is the maximum number of simultaneous checkpoints.

Bug: 28988206

Change-Id: I9e4b8391ebad0bca0e42a03819c58c99ddba6b35

8 years agoMerge \\"ART: Disable check under memory tools\\" am: 4811e72671
Andreas Gampe [Sat, 11 Jun 2016 00:16:01 +0000 (00:16 +0000)]
Merge \\"ART: Disable check under memory tools\\" am: 4811e72671
am: aee4295b63

Change-Id: I524197ef33f5d9af96163053461edf1677eb7de3

8 years agoMerge \"ART: Disable check under memory tools\"
Andreas Gampe [Sat, 11 Jun 2016 00:12:11 +0000 (00:12 +0000)]
Merge \"ART: Disable check under memory tools\"
am: 4811e72671

Change-Id: I4c1431ccc8211d16520fbb603a4d3025cff15594

8 years agoMerge "ART: Disable check under memory tools"
Treehugger Robot [Sat, 11 Jun 2016 00:03:56 +0000 (00:03 +0000)]
Merge "ART: Disable check under memory tools"

8 years agoMerge \\"Fix the region space name for dumpsys meminfo.\\" am: fbae821a7a
Hiroshi Yamauchi [Fri, 10 Jun 2016 23:04:55 +0000 (23:04 +0000)]
Merge \\"Fix the region space name for dumpsys meminfo.\\" am: fbae821a7a
am: ff5b92a14b

Change-Id: Ic4e33688a6c0565f4e74615a186fed27be6b538a

8 years agoMerge \"Fix the region space name for dumpsys meminfo.\"
Hiroshi Yamauchi [Fri, 10 Jun 2016 23:01:17 +0000 (23:01 +0000)]
Merge \"Fix the region space name for dumpsys meminfo.\"
am: fbae821a7a

Change-Id: I1e67e725b8d190dda023b38d639d183b398c6a85