OSDN Git Service

android-x86/art.git
10 years agoam b88f433c: am af4cf5d7: Merge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 11:01:15 +0000 (11:01 +0000)]
am b88f433c: am af4cf5d7: Merge "Missed use of android_atomic and thread state_."

* commit 'b88f433ccd966e87b3c5d7ae756af116e445f6d0':
  Missed use of android_atomic and thread state_.

10 years agoam 0cb6d725: am 070dfc4c: Merge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 11:01:14 +0000 (11:01 +0000)]
am 0cb6d725: am 070dfc4c: Merge "Fix tracing."

* commit '0cb6d725ffa27ff3b53761558ae6ced5c047de84':
  Fix tracing.

10 years agoam 3df187cd: am d8079288: Merge "art: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 11:01:13 +0000 (11:01 +0000)]
am 3df187cd: am d8079288: Merge "art: fix host dex2oat runtime args"

* commit '3df187cd2cce35b587baed6e3b46e08fc427aa16':
  art: fix host dex2oat runtime args

10 years agoam fc879248: am 62526c37: Merge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 11:01:12 +0000 (11:01 +0000)]
am fc879248: am 62526c37: Merge "Move thread state to art::Atomic."

* commit 'fc87924857d410f4cd21b4dcf5cc0af032e19c5a':
  Move thread state to art::Atomic.

10 years agoam af4cf5d7: Merge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 09:43:35 +0000 (09:43 +0000)]
am af4cf5d7: Merge "Missed use of android_atomic and thread state_."

* commit 'af4cf5d72a2bf77f0e442bedb208f9227f262c89':
  Missed use of android_atomic and thread state_.

10 years agoam 070dfc4c: Merge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 09:43:34 +0000 (09:43 +0000)]
am 070dfc4c: Merge "Fix tracing."

* commit '070dfc4cebb9772a646382be9751d8f4c6b7d69a':
  Fix tracing.

10 years agoam d8079288: Merge "art: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 09:43:34 +0000 (09:43 +0000)]
am d8079288: Merge "art: fix host dex2oat runtime args"

* commit 'd807928876744231ebbe2f07d17439f84d4e0185':
  art: fix host dex2oat runtime args

10 years agoam 62526c37: Merge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 09:43:30 +0000 (09:43 +0000)]
am 62526c37: Merge "Move thread state to art::Atomic."

* commit '62526c377fe5242a723f154a373eccf5b9db416d':
  Move thread state to art::Atomic.

10 years agoam 43b6fe02: Merge "Move another field away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 03:45:39 +0000 (03:45 +0000)]
am 43b6fe02: Merge "Move another field away from android_atomic_cas."

* commit '43b6fe0270477cd47f8dd8b064d006961a44be54':
  Move another field away from android_atomic_cas.

10 years agoam 672f8367: Merge "Revert "Add implicit null and stack checks for x86""
Dave Allison [Thu, 10 Jul 2014 02:00:03 +0000 (02:00 +0000)]
am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""

* commit '672f8367f74e5db7d26714cd6fa1a13fa2a6c59f':
  Revert "Add implicit null and stack checks for x86"

10 years agoam 4770a2e6: Merge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:45:08 +0000 (01:45 +0000)]
am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."

* commit '4770a2e6d56398a6b4398fcce14fea43394e0d1b':
  Remove legacy CAS implementations from mutex.

10 years agoMerge "Missed use of android_atomic and thread state_."
Ian Rogers [Thu, 10 Jul 2014 06:49:02 +0000 (06:49 +0000)]
Merge "Missed use of android_atomic and thread state_."

10 years agoMissed use of android_atomic and thread state_.
Ian Rogers [Thu, 10 Jul 2014 05:02:36 +0000 (22:02 -0700)]
Missed use of android_atomic and thread state_.

Move to using art::Atomic, add necessary FetchAnd... operations to art::Atomic.

Change-Id: I32f1cdc4e0a2037b73f459bf4bb4d544f357f41b

10 years agoam bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."
Mathieu Chartier [Thu, 10 Jul 2014 00:40:14 +0000 (00:40 +0000)]
am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."

* commit 'bcb3b29095817ce8987d8310d4db87271f5114ad':
  Add notion of released vs empty pages to ROSAlloc.

10 years agoMerge "Fix tracing."
Ian Rogers [Thu, 10 Jul 2014 06:37:47 +0000 (06:37 +0000)]
Merge "Fix tracing."

10 years agoFix tracing.
Ian Rogers [Thu, 10 Jul 2014 06:16:06 +0000 (23:16 -0700)]
Fix tracing.

Change-Id: If6837270baec694c00cc1884bae0f1842d49da75

10 years agoam 5de52242: Merge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:26:08 +0000 (00:26 +0000)]
am 5de52242: Merge "Add implicit null and stack checks for x86"

* commit '5de52242f3934f1604083d7215cdde1d0cc8ba7a':
  Add implicit null and stack checks for x86

10 years agoam 2929490d: Merge "Move card table away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 00:21:46 +0000 (00:21 +0000)]
am 2929490d: Merge "Move card table away from android_atomic_cas."

* commit '2929490de9374c2a052cff4cf6957852ebf06d98':
  Move card table away from android_atomic_cas.

10 years agoam 5472edce: Merge "CW on Master: Propagate or throw exception when no class found...
Brian Carlstrom [Thu, 10 Jul 2014 00:16:10 +0000 (00:16 +0000)]
am 5472edce: Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

* commit '5472edce3697721099ead9e16427e0e7ace90754':
  CW on Master: Propagate or throw exception when no class found happens in interpreter.

10 years agoam b288a5ad: Merge "Use the icu4c headers from the new location."
Elliott Hughes [Thu, 10 Jul 2014 00:16:09 +0000 (00:16 +0000)]
am b288a5ad: Merge "Use the icu4c headers from the new location."

* commit 'b288a5ad024f99d593aef55e352b46c1a2868af7':
  Use the icu4c headers from the new location.

10 years agoam 91db19b5: Merge "ART: Add simple tests for inlining of CAS"
Andreas Gampe [Thu, 10 Jul 2014 00:16:08 +0000 (00:16 +0000)]
am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"

* commit '91db19b5f14e32878e0a70fa8d43f3412586b821':
  ART: Add simple tests for inlining of CAS

10 years agoam ef9b94cc: Merge "Add easy way to ensure the next allocation does GC."
Mathieu Chartier [Wed, 9 Jul 2014 22:33:33 +0000 (22:33 +0000)]
am ef9b94cc: Merge "Add easy way to ensure the next allocation does GC."

* commit 'ef9b94cc83595bc0c95b0edd5131187998919c7a':
  Add easy way to ensure the next allocation does GC.

10 years agoMerge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:16:22 +0000 (00:16 +0000)]
Merge "Add implicit null and stack checks for x86"

10 years agoAdd implicit null and stack checks for x86
Dave Allison [Thu, 29 May 2014 15:20:04 +0000 (08:20 -0700)]
Add implicit null and stack checks for x86

This adds compiler and runtime changes for x86
implicit checks.  32 bit only.

Both host and target are supported.
By default, on the host, the implicit checks are null pointer and
stack overflow.  Suspend is implemented but not switched on.

Change-Id: I88a609e98d6bf32f283eaa4e6ec8bbf8dc1df78a

10 years agoam b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"
Dave Allison [Wed, 9 Jul 2014 22:02:26 +0000 (22:02 +0000)]
am b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"

* commit 'b796d1bfac8cfaf4dc98f411ae6157f964d4a325':
  Remove incorrect check for sa_mask in signal chaining

10 years agoMerge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:37:50 +0000 (01:37 +0000)]
Merge "Remove legacy CAS implementations from mutex."

10 years agoRemove legacy CAS implementations from mutex.
Ian Rogers [Wed, 9 Jul 2014 06:50:26 +0000 (23:50 -0700)]
Remove legacy CAS implementations from mutex.

Removes the use of __sync_bool_compare_and_swap and android_atomic_cas and uses
intention revealing atomic operations from art::Atomic (which will eventually
give way to std::atomic).

Change-Id: Iea44e1923f6706ec04b5459fe25427282c189a7e

10 years agoMerge "Revert "Revert "Quick compiler: remove temporary workaround."""
Andreas Gampe [Thu, 10 Jul 2014 08:07:54 +0000 (08:07 +0000)]
Merge "Revert "Revert "Quick compiler: remove temporary workaround."""

10 years agoRevert "Revert "Quick compiler: remove temporary workaround.""
Andreas Gampe [Thu, 10 Jul 2014 08:03:44 +0000 (08:03 +0000)]
Revert "Revert "Quick compiler: remove temporary workaround.""

This reverts commit f62a9fdf5d22231ce482ebdfd2ebcc1c738ca97b.

This is safe now. Join AOSP behavior.

Change-Id: I8c1b8689cda0fb369e68f1733383eaab771b2cd8

10 years agoam f95e89a0: am 43b6fe02: Merge "Move another field away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 03:48:18 +0000 (03:48 +0000)]
am f95e89a0: am 43b6fe02: Merge "Move another field away from android_atomic_cas."

* commit 'f95e89a00ed1a2e69c00f30ffed517e17ffd2956':
  Move another field away from android_atomic_cas.

10 years agoam 826d36e3: am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""
Dave Allison [Thu, 10 Jul 2014 02:03:21 +0000 (02:03 +0000)]
am 826d36e3: am 672f8367: Merge "Revert "Add implicit null and stack checks for x86""

* commit '826d36e325fe445600407bfa847daa72b5786a68':
  Revert "Add implicit null and stack checks for x86"

10 years agoam 60c83e0f: am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."
Ian Rogers [Thu, 10 Jul 2014 01:49:19 +0000 (01:49 +0000)]
am 60c83e0f: am 4770a2e6: Merge "Remove legacy CAS implementations from mutex."

* commit '60c83e0f6ea1a82953f37b7ef281e5bf2172c88a':
  Remove legacy CAS implementations from mutex.

10 years agoam 650385ed: am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."
Mathieu Chartier [Thu, 10 Jul 2014 00:50:22 +0000 (00:50 +0000)]
am 650385ed: am bcb3b290: Merge "Add notion of released vs empty pages to ROSAlloc."

* commit '650385ed68a968536290e3bb00732896ae70f094':
  Add notion of released vs empty pages to ROSAlloc.

10 years agoam d224b8c3: am 5de52242: Merge "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 00:50:18 +0000 (00:50 +0000)]
am d224b8c3: am 5de52242: Merge "Add implicit null and stack checks for x86"

* commit 'd224b8c3352448ccb231f4f0f89be48afbc4659f':
  Add implicit null and stack checks for x86

10 years agoam a0f17e18: am 2929490d: Merge "Move card table away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 00:50:17 +0000 (00:50 +0000)]
am a0f17e18: am 2929490d: Merge "Move card table away from android_atomic_cas."

* commit 'a0f17e18f7962912a88d888a90fca2106f6816a9':
  Move card table away from android_atomic_cas.

10 years agoam 37588105: am 5472edce: Merge "CW on Master: Propagate or throw exception when...
Brian Carlstrom [Thu, 10 Jul 2014 00:49:52 +0000 (00:49 +0000)]
am 37588105: am 5472edce: Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

* commit '375881057878f0fce290fccb6199b565d5161521':
  CW on Master: Propagate or throw exception when no class found happens in interpreter.

10 years agoam c400ffb9: am b288a5ad: Merge "Use the icu4c headers from the new location."
Elliott Hughes [Thu, 10 Jul 2014 00:49:50 +0000 (00:49 +0000)]
am c400ffb9: am b288a5ad: Merge "Use the icu4c headers from the new location."

* commit 'c400ffb9a015a20e3725c640f32c03796d5388dd':
  Use the icu4c headers from the new location.

10 years agoam 450b94dd: am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"
Andreas Gampe [Thu, 10 Jul 2014 00:49:50 +0000 (00:49 +0000)]
am 450b94dd: am 91db19b5: Merge "ART: Add simple tests for inlining of CAS"

* commit '450b94ddabfe5b5af6b7bcb27acccb37aae1770f':
  ART: Add simple tests for inlining of CAS

10 years agoMerge "Move thread state to art::Atomic."
Ian Rogers [Thu, 10 Jul 2014 04:38:36 +0000 (04:38 +0000)]
Merge "Move thread state to art::Atomic."

10 years agoMove thread state to art::Atomic.
Ian Rogers [Thu, 10 Jul 2014 04:12:06 +0000 (21:12 -0700)]
Move thread state to art::Atomic.

Leaves the CAS operations as relaxed although art::Atomic treats relaxed CAS
as a strong CAS when not compiling with clang.

Change-Id: I6d37c22173540d166b624385e52e4ad05e592adc

10 years agoam c21dc06a: Merge "ART: Check slow_paths_.Size() every time"
Ian Rogers [Wed, 9 Jul 2014 20:41:35 +0000 (20:41 +0000)]
am c21dc06a: Merge "ART: Check slow_paths_.Size() every time"

* commit 'c21dc06adc8c8447561208a3fb72ccf6d0443613':
  ART: Check slow_paths_.Size() every time

10 years agoam 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit...
Ian Rogers [Wed, 9 Jul 2014 20:37:53 +0000 (20:37 +0000)]
am 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets"

* commit '68e5f4421001a2ba885d822971c375368520ea8c':
  x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets

10 years agoam a76dc41f: Merge "Allow method tracing for run-test"
Ian Rogers [Wed, 9 Jul 2014 19:35:04 +0000 (19:35 +0000)]
am a76dc41f: Merge "Allow method tracing for run-test"

* commit 'a76dc41fb21b6fba74f70188fdc53e1a5bf2c2cb':
  Allow method tracing for run-test

10 years agoam 0f635b10: Merge "Fix method tracing from command-line"
Ian Rogers [Wed, 9 Jul 2014 19:35:03 +0000 (19:35 +0000)]
am 0f635b10: Merge "Fix method tracing from command-line"

* commit '0f635b103c1fff6439d47bdae363afeffe7327fd':
  Fix method tracing from command-line

10 years agoam 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:33:23 +0000 (15:33 +0000)]
am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"

* commit '32710dd4a0232149002a5ae7bde1c640cdffd564':
  x86_64: enable Peek and Poke intrinsics

10 years agoMerge "ART: Check slow_paths_.Size() every time"
Ian Rogers [Wed, 9 Jul 2014 20:31:18 +0000 (20:31 +0000)]
Merge "ART: Check slow_paths_.Size() every time"

10 years agoART: Check slow_paths_.Size() every time
Chao-ying Fu [Tue, 8 Jul 2014 00:13:52 +0000 (17:13 -0700)]
ART: Check slow_paths_.Size() every time

This patch fixes a bug, when a new slow path is created
during slowpath->Compile().

Change-Id: I4896a82781102694c25f4483112c6de3c56e072c
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
10 years agoMerge "Fix method tracing from command-line"
Ian Rogers [Wed, 9 Jul 2014 18:52:43 +0000 (18:52 +0000)]
Merge "Fix method tracing from command-line"

10 years agoMerge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:26:09 +0000 (15:26 +0000)]
Merge "x86_64: enable Peek and Poke intrinsics"

10 years agoMerge "Move another field away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 03:36:51 +0000 (03:36 +0000)]
Merge "Move another field away from android_atomic_cas."

10 years agoMove another field away from android_atomic_cas.
Ian Rogers [Thu, 10 Jul 2014 01:00:50 +0000 (18:00 -0700)]
Move another field away from android_atomic_cas.

Change-Id: If63aa2811e06ec401a601286a3bacb62a0da96ad

10 years agoMerge "Move card table away from android_atomic_cas."
Ian Rogers [Thu, 10 Jul 2014 00:09:25 +0000 (00:09 +0000)]
Merge "Move card table away from android_atomic_cas."

10 years agoMove card table away from android_atomic_cas.
Ian Rogers [Wed, 9 Jul 2014 05:55:18 +0000 (22:55 -0700)]
Move card table away from android_atomic_cas.

For x86 use byte CAS operations for byte CAS.
Fix bug in ModifyCardsAtomic where CAS was 32-bit instead of 64-bit.

Change-Id: Ieb3fe695b4699750abf04642b0abe94103976817

10 years agoMerge "Add easy way to ensure the next allocation does GC."
Mathieu Chartier [Wed, 9 Jul 2014 22:10:01 +0000 (22:10 +0000)]
Merge "Add easy way to ensure the next allocation does GC."

10 years agoAdd easy way to ensure the next allocation does GC.
Mathieu Chartier [Wed, 9 Jul 2014 00:46:19 +0000 (17:46 -0700)]
Add easy way to ensure the next allocation does GC.

Added a class called ScopedHeapFill which changes the bytes allocated
counter to be equal to the growth limit. This causes the next
allocation to do a GC and possibly generate an OOM error. This is
useful for tests which need GC to happen at specific point.

Change-Id: Ibd8f3d5928b58534c5165ba7c296980002aa2c28

10 years agoMerge "Remove incorrect check for sa_mask in signal chaining"
Dave Allison [Wed, 9 Jul 2014 21:45:13 +0000 (21:45 +0000)]
Merge "Remove incorrect check for sa_mask in signal chaining"

10 years agoRemove incorrect check for sa_mask in signal chaining
Dave Allison [Wed, 9 Jul 2014 01:07:18 +0000 (18:07 -0700)]
Remove incorrect check for sa_mask in signal chaining

This removes an incorrect check using the sa_mask field of the
sigaction structure when chaining to a user's signal handler.
The check prevented a user's handler being called when sa_mask
was set.

Thanks to primiano@ for the excellent bug report.

Bug: 16005022
Change-Id: I0548003f4fc3b1889a6859091e603ead4a9b0607

10 years agoMerge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets"
Ian Rogers [Wed, 9 Jul 2014 20:24:26 +0000 (20:24 +0000)]
Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets"

10 years agox86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets
Chao-ying Fu [Wed, 9 Jul 2014 18:32:31 +0000 (11:32 -0700)]
x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets

This patch fixes to use wide rl_src_offset for int and long types
under 64-bit targets, and fixes movzx8 and movsx8 to use r8_form
on the second register only.

Change-Id: Ib8c0756609100f9bc5c228f1eb391421416f3af6
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
10 years agoMerge "art: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 06:10:48 +0000 (06:10 +0000)]
Merge "art: fix host dex2oat runtime args"

10 years agoart: fix host dex2oat runtime args
Colin Cross [Thu, 10 Jul 2014 05:14:12 +0000 (22:14 -0700)]
art: fix host dex2oat runtime args

The runtime arguments need to be prefixed with -Xmx or -Xms.
This only worked before because DEX2OAT_XMS, etc. were blank
due to bugs in build/, which resulted in --runtime-arg --runtime-arg
and anything starting with -- as the argument to --runtime-arg is
silently ignored.

Change-Id: I18607a6fd8d0004466404045f8dc4495eb6ab275

10 years agoMerge "Revert "Add implicit null and stack checks for x86""
Dave Allison [Thu, 10 Jul 2014 01:55:25 +0000 (01:55 +0000)]
Merge "Revert "Add implicit null and stack checks for x86""

10 years agoRevert "Add implicit null and stack checks for x86"
Dave Allison [Thu, 10 Jul 2014 01:54:57 +0000 (01:54 +0000)]
Revert "Add implicit null and stack checks for x86"

It breaks cross compilation with x86_64.

This reverts commit 34e826ccc80dc1cf7c4c045de6b7f8360d504ccf.

Change-Id: I34ba07821fc0a022fda33a7ae21850957bbec5e7

10 years agoMerge "Add notion of released vs empty pages to ROSAlloc."
Mathieu Chartier [Thu, 10 Jul 2014 00:32:52 +0000 (00:32 +0000)]
Merge "Add notion of released vs empty pages to ROSAlloc."

10 years agoAdd notion of released vs empty pages to ROSAlloc.
Mathieu Chartier [Tue, 24 Jun 2014 21:48:59 +0000 (14:48 -0700)]
Add notion of released vs empty pages to ROSAlloc.

A notion of released vs empty pages helps get a more accurate view of
how much memory was released during heap trimming. Otherwise we get
that the same pages possibly get madvised multiple times without
getting dirtied.

Also enabled heap trimming of rosalloc spaces even when we care about
jank. This is safe to do since the trimming process only acquires
locks for short periods of time.

Dalvik PSS reduces from ~52M to ~50M after boot on N4.

Bug: 9969166

Change-Id: I4012e0a2554f413d18efe1a0371fe18d1edabaa9

10 years agoMerge "Use the icu4c headers from the new location."
Elliott Hughes [Wed, 9 Jul 2014 22:54:14 +0000 (22:54 +0000)]
Merge "Use the icu4c headers from the new location."

10 years agoUse the icu4c headers from the new location.
Elliott Hughes [Wed, 9 Jul 2014 22:31:20 +0000 (15:31 -0700)]
Use the icu4c headers from the new location.

Change-Id: I6ca56e8f9909bf3644a5f79f2d705547ddba6d03

10 years agoMerge "ART: Add simple tests for inlining of CAS"
Andreas Gampe [Wed, 9 Jul 2014 22:18:27 +0000 (22:18 +0000)]
Merge "ART: Add simple tests for inlining of CAS"

10 years agoART: Add simple tests for inlining of CAS
Andreas Gampe [Wed, 9 Jul 2014 04:33:47 +0000 (21:33 -0700)]
ART: Add simple tests for inlining of CAS

Add simple test cases for the inlining of CAS in the quick compiler to
run-test 082. The tests are not multi-threaded and will just establish
that the baseline behavior is correct. For extensive evaluation consider
tests available in libcore.

Change-Id: I9f463599e48ab7abc725769dda84758c9c6a76c2

10 years agoMerge "Allow method tracing for run-test"
Ian Rogers [Wed, 9 Jul 2014 18:58:43 +0000 (18:58 +0000)]
Merge "Allow method tracing for run-test"

10 years agox86_64: enable Peek and Poke intrinsics
Alexei Zavjalov [Tue, 8 Jul 2014 09:27:17 +0000 (16:27 +0700)]
x86_64: enable Peek and Poke intrinsics

This implements intrinsics for:
Memory.peekByte/Short/Int/Long()
Memory.pokeByte/Short/Int/Long()

Change-Id: I6da6250f262dfd7aded35c2e3ade2d0916bd73cb
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
10 years agoFix method tracing from command-line
Sebastien Hertz [Tue, 17 Dec 2013 09:42:03 +0000 (10:42 +0100)]
Fix method tracing from command-line

Transitions current thread to the new kWaitingForMethodTracingStart thread
state when starting method tracing.

Ensures there is a current thread when method tracing is stopped due to runtime
shutdown. If the current thread has been detached, we now re-attach it.
Note: we only do this if method tracing has been activated from command-line.

Fixes instrumentation when forcing interpreter mode (-Xint) with method tracing
enabled.

Removes unused parameter from UnsafeLogFatalForThreadSuspendAllTimeout.

Bug: https://code.google.com/p/android/issues/detail?id=72094
Bug: 11683397
Change-Id: I70f000fb46ddd95d6ad51ea0a8eee77697a045e9

10 years agoAllow method tracing for run-test
Sebastien Hertz [Wed, 9 Jul 2014 13:59:05 +0000 (15:59 +0200)]
Allow method tracing for run-test

Adds "--trace" option to enable method tracing.

Bug: 11683397
Change-Id: I20a6b25c71067eafd848db26f13d62cfdb9a6159

10 years agoam 62f28f94: Merge "Fix a compile assert name with inverted meaning."
Vladimir Marko [Wed, 9 Jul 2014 12:36:42 +0000 (12:36 +0000)]
am 62f28f94: Merge "Fix a compile assert name with inverted meaning."

* commit '62f28f943e2da2873c7a09096c292f01a21c6478':
  Fix a compile assert name with inverted meaning.

10 years agoam 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."
Vladimir Marko [Wed, 9 Jul 2014 12:36:41 +0000 (12:36 +0000)]
am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."

* commit '665f681020ec313d6aea1aa26db582176d780079':
  Workaround for invalid monitor-exit catch ranges.

10 years agoam 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""
Nicolas Geoffray [Wed, 9 Jul 2014 12:36:40 +0000 (12:36 +0000)]
am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""

* commit '8078b294e8001abff5a6c8637e844b55a65fff4b':
  Revert "ART: Key-Value Store in Oat header"

10 years agoam 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."
Ian Rogers [Wed, 9 Jul 2014 12:36:39 +0000 (12:36 +0000)]
am 608520c8: Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."

* commit '608520c8ba1adc7d8d0623b021b7ea509b00751c':
  Adds PGO_GEN and PGO_USE for libart and libart-compiler.

10 years agoam 2cfe30bd: Merge "X86 Backend support for vectorized float and byte 16x16 operations"
Ian Rogers [Wed, 9 Jul 2014 12:36:39 +0000 (12:36 +0000)]
am 2cfe30bd: Merge "X86 Backend support for vectorized float and byte 16x16 operations"

* commit '2cfe30bd592cb6ae63bb4c28ccaf4b069d6ab565':
  X86 Backend support for vectorized float and byte 16x16 operations

10 years agoam 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"
Ian Rogers [Wed, 9 Jul 2014 12:36:38 +0000 (12:36 +0000)]
am 7b68fb3b: Merge "x86_64: Clean-up after cmp-long fix"

* commit '7b68fb3b9b421d4b20c1993704986d637f1cab91':
  x86_64: Clean-up after cmp-long fix

10 years agoam dfc56e68: Merge "Clean-up call_x86.cc"
Ian Rogers [Wed, 9 Jul 2014 12:36:37 +0000 (12:36 +0000)]
am dfc56e68: Merge "Clean-up call_x86.cc"

* commit 'dfc56e681beb055801491792026cb9976d8566e8':
  Clean-up call_x86.cc

10 years agoam 251a057f: Merge "ART: Fix FP promotion"
Andreas Gampe [Wed, 9 Jul 2014 12:36:36 +0000 (12:36 +0000)]
am 251a057f: Merge "ART: Fix FP promotion"

* commit '251a057f52946452ac1c485b38d4ebafcf3bc5ad':
  ART: Fix FP promotion

10 years agoam dac3f4af: Merge "Whitelist another exception during dex2oat resolving."
Brian Carlstrom [Wed, 9 Jul 2014 12:36:35 +0000 (12:36 +0000)]
am dac3f4af: Merge "Whitelist another exception during dex2oat resolving."

* commit 'dac3f4afe1a3f5626836b6921230c150b68b9d34':
  Whitelist another exception during dex2oat resolving.

10 years agoam 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"
Brian Carlstrom [Wed, 9 Jul 2014 12:36:34 +0000 (12:36 +0000)]
am 6e524ddc: Merge "Make dex2oat heap size product configurable [art]"

* commit '6e524ddc060f10a493dc63fa5b6dde0deef22219':
  Make dex2oat heap size product configurable [art]

10 years agoam 3d30b073: Merge "ART: Do not emit load when inlining unused Thread.currentThread()"
Andreas Gampe [Wed, 9 Jul 2014 12:36:33 +0000 (12:36 +0000)]
am 3d30b073: Merge "ART: Do not emit load when inlining unused Thread.currentThread()"

* commit '3d30b073541f19470e8b5dddef9377411fa587c3':
  ART: Do not emit load when inlining unused Thread.currentThread()

10 years agoam 8746860d: Merge "Only allow instance-of to improve knowledge of a type for downcasts."
Ian Rogers [Wed, 9 Jul 2014 12:36:32 +0000 (12:36 +0000)]
am 8746860d: Merge "Only allow instance-of to improve knowledge of a type for downcasts."

* commit '8746860d056e64dcc832264e74bda9d511e86e2d':
  Only allow instance-of to improve knowledge of a type for downcasts.

10 years agoMerge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."
Ian Rogers [Wed, 9 Jul 2014 07:46:42 +0000 (07:46 +0000)]
Merge "Adds PGO_GEN and PGO_USE for libart and libart-compiler."

10 years agoMerge "CW on Master: Propagate or throw exception when no class found happens in...
Brian Carlstrom [Wed, 9 Jul 2014 23:50:28 +0000 (23:50 +0000)]
Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

10 years agoCW on Master: Propagate or throw exception when no class found happens in interpreter.
Sean Wan [Wed, 9 Jul 2014 19:08:29 +0000 (12:08 -0700)]
CW on Master: Propagate or throw exception when no class found happens in interpreter.

The old behavior is a check fail which causes zygote process crash.

This is particular a problem for CW in which webview is not used, and
this stops CW system start.

(cherry picked from commit 41a71f3db62e5bccb162a2b18ed3801e00ff6f87)

Change-Id: Iabe091ebe4bbdd86d931ac6c06abd089f1338d59

10 years agoMerge "CW on Master: Propagate or throw exception when no class found happens in...
Brian Carlstrom [Wed, 9 Jul 2014 23:36:45 +0000 (23:36 +0000)]
Merge "CW on Master: Propagate or throw exception when no class found happens in interpreter."

10 years agoam cb2e23f8: am ef9b94cc: Merge "Add easy way to ensure the next allocation does...
Mathieu Chartier [Wed, 9 Jul 2014 22:38:14 +0000 (22:38 +0000)]
am cb2e23f8: am ef9b94cc: Merge "Add easy way to ensure the next allocation does GC."

* commit 'cb2e23f88a15c060fc9109e424c164af7c3c1d08':
  Add easy way to ensure the next allocation does GC.

10 years agoam d1cfc9eb: am b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"
Dave Allison [Wed, 9 Jul 2014 22:22:42 +0000 (22:22 +0000)]
am d1cfc9eb: am b796d1bf: Merge "Remove incorrect check for sa_mask in signal chaining"

* commit 'd1cfc9eb54d317157d6c16ecf3c56a606a9dcbbb':
  Remove incorrect check for sa_mask in signal chaining

10 years agoCW on Master: Propagate or throw exception when no class found happens in interpreter.
Sean Wan [Wed, 9 Jul 2014 19:08:29 +0000 (12:08 -0700)]
CW on Master: Propagate or throw exception when no class found happens in interpreter.

The old behavior is a check fail which causes zygote process crash.

This is particular a problem for CW in which webview is not used, and
this stops CW system start.

Change-Id: I45f26d6e5d328de7f156793f9044f6bf3f878a1a

10 years agoam 77dee8c9: am c21dc06a: Merge "ART: Check slow_paths_.Size() every time"
Ian Rogers [Wed, 9 Jul 2014 21:04:28 +0000 (21:04 +0000)]
am 77dee8c9: am c21dc06a: Merge "ART: Check slow_paths_.Size() every time"

* commit '77dee8c9cd644712a4b1ffba64562bdf79a99345':
  ART: Check slow_paths_.Size() every time

10 years agoam b42fb83a: am 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset...
Ian Rogers [Wed, 9 Jul 2014 21:00:21 +0000 (21:00 +0000)]
am b42fb83a: am 68e5f442: Merge "x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets"

* commit 'b42fb83a284e1d69830568e1b6ec28b4c2276f73':
  x86_64: GenInlinedCas must use wide rl_src_offset under 64-bit targets

10 years agoam 9e5599d9: am a76dc41f: Merge "Allow method tracing for run-test"
Ian Rogers [Wed, 9 Jul 2014 19:40:06 +0000 (19:40 +0000)]
am 9e5599d9: am a76dc41f: Merge "Allow method tracing for run-test"

* commit '9e5599d94e6f918a2cc22a9ba4f2d97fdc69d3ca':
  Allow method tracing for run-test

10 years agoam 55cd98a0: am 0f635b10: Merge "Fix method tracing from command-line"
Ian Rogers [Wed, 9 Jul 2014 19:40:05 +0000 (19:40 +0000)]
am 55cd98a0: am 0f635b10: Merge "Fix method tracing from command-line"

* commit '55cd98a0d3c9a60a3d9b12fea0288c0b757a27c6':
  Fix method tracing from command-line

10 years agoam fb31dffa: am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"
Ian Rogers [Wed, 9 Jul 2014 15:36:36 +0000 (15:36 +0000)]
am fb31dffa: am 32710dd4: Merge "x86_64: enable Peek and Poke intrinsics"

* commit 'fb31dffacd846f30c2079fb4e27ab5952d66d48d':
  x86_64: enable Peek and Poke intrinsics

10 years agoam 116bee4b: am 62f28f94: Merge "Fix a compile assert name with inverted meaning."
Vladimir Marko [Wed, 9 Jul 2014 15:07:25 +0000 (15:07 +0000)]
am 116bee4b: am 62f28f94: Merge "Fix a compile assert name with inverted meaning."

* commit '116bee4bf2abf6e1760902607ccfce67361abc71':
  Fix a compile assert name with inverted meaning.

10 years agoam 9e55c90c: am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."
Vladimir Marko [Wed, 9 Jul 2014 15:07:24 +0000 (15:07 +0000)]
am 9e55c90c: am 665f6810: Merge "Workaround for invalid monitor-exit catch ranges."

* commit '9e55c90c30ad241a4ef2498f8566d10f4df52efe':
  Workaround for invalid monitor-exit catch ranges.

10 years agoam c8fb7efa: am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""
Nicolas Geoffray [Wed, 9 Jul 2014 15:07:23 +0000 (15:07 +0000)]
am c8fb7efa: am 8078b294: Merge "Revert "ART: Key-Value Store in Oat header""

* commit 'c8fb7efa2c6e284ae6e06841807458c857bbf32f':
  Revert "ART: Key-Value Store in Oat header"