OSDN Git Service

android-x86/art.git
8 years agoMerge "Rename options for shorter names." am: bc58b020c8 am: b4bfd7f529
Nicolas Geoffray [Thu, 24 Dec 2015 02:15:11 +0000 (18:15 -0800)]
Merge "Rename options for shorter names." am: bc58b020c8 am: b4bfd7f529
am: 1db8c382e9

* commit '1db8c382e9ef69cbd80b7f538fb667fbc1d9d648':

8 years agoMerge "ARM read barrier support for concurrent GC in Optimizing." am: ee7d4a3d57...
Roland Levillain [Thu, 24 Dec 2015 02:14:39 +0000 (18:14 -0800)]
Merge "ARM read barrier support for concurrent GC in Optimizing." am: ee7d4a3d57 am: a88884d62e
am: 274905ac17

* commit '274905ac1751f2478222e51fde7c4719a4a00067':

8 years agoMerge "Fix ClinitCheck pruning." am: d846a2cc45 am: 5719078766
Vladimir Marko [Thu, 24 Dec 2015 02:14:31 +0000 (18:14 -0800)]
Merge "Fix ClinitCheck pruning." am: d846a2cc45 am: 5719078766
am: 738ebd7db8

* commit '738ebd7db8b9379093196a881793f0abcff20262':

8 years agoMerge "Increase code cache after 1 full collection." am: 69edd0dbce am: 5e6c35e00d
Nicolas Geoffray [Thu, 24 Dec 2015 02:14:18 +0000 (18:14 -0800)]
Merge "Increase code cache after 1 full collection." am: 69edd0dbce am: 5e6c35e00d
am: c5c111a6a5

* commit 'c5c111a6a5a308dccecd5f6d9b6ef290b21fa7ee':

8 years agoMerge "Add jack as a build target for the buildbot." am: a43a851f50 am: 9319a694cf
Nicolas Geoffray [Thu, 24 Dec 2015 02:14:11 +0000 (18:14 -0800)]
Merge "Add jack as a build target for the buildbot." am: a43a851f50 am: 9319a694cf
am: 0f577f1576

* commit '0f577f1576774111b56ba651639eb768b64b9acc':

8 years agoMerge "ART: Change Init{From,Without}Image to return bool" am: 0f0d5f370d am: 1291cfd7bd
Andreas Gampe [Thu, 24 Dec 2015 02:14:02 +0000 (18:14 -0800)]
Merge "ART: Change Init{From,Without}Image to return bool" am: 0f0d5f370d am: 1291cfd7bd
am: fac07da66d

* commit 'fac07da66d69a7d98a33932f44d1712429a0b2c9':

8 years agoMerge "Add immune spaces abstraction" am: 31c0d484c1 am: 4eeea23e75
Mathieu Chartier [Thu, 24 Dec 2015 02:13:35 +0000 (18:13 -0800)]
Merge "Add immune spaces abstraction" am: 31c0d484c1 am: 4eeea23e75
am: e90e877958

* commit 'e90e8779581ddc5f2254173495ee52d5b070ed15':

8 years agoMerge "Fix an assert in lse." am: 2f99a1c5b7 am: 0cf13112c7
Mingyao Yang [Thu, 24 Dec 2015 02:13:02 +0000 (18:13 -0800)]
Merge "Fix an assert in lse." am: 2f99a1c5b7 am: 0cf13112c7
am: 12092980fe

* commit '12092980fe48c8510a724b43e37fda40ad834eca':

8 years agoMerge "Revert "Revert "Enable store elimination for singleton objects.""" am: b9bbbeb...
Mingyao Yang [Thu, 24 Dec 2015 02:12:54 +0000 (18:12 -0800)]
Merge "Revert "Revert "Enable store elimination for singleton objects.""" am: b9bbbeb2b0 am: fde8cc594d
am: 69ae262d9d

* commit '69ae262d9df2eca038a969e2565a29b8f327aab0':

8 years agoMerge "Remove incorrect iterator increment" am: a341377bd5 am: 9cc29ef968
Mathieu Chartier [Thu, 24 Dec 2015 02:12:32 +0000 (18:12 -0800)]
Merge "Remove incorrect iterator increment" am: a341377bd5 am: 9cc29ef968
am: 42f7bd429c

* commit '42f7bd429c37ca391092f9d0d33e2f9fca88119f':

8 years agoMerge "Opt compiler: Arm64 packed-switch jump tables." am: 9231730cd0 am: a30022e1e5
Vladimir Marko [Thu, 24 Dec 2015 02:11:10 +0000 (18:11 -0800)]
Merge "Opt compiler: Arm64 packed-switch jump tables." am: 9231730cd0 am: a30022e1e5
am: 87ea9ea0ad

* commit '87ea9ea0add5a4f70f5365eb820a67a6e57425d8':

8 years agoMerge "Fix bogus DCHECK and rename DidForkFromZygote." am: 349baca032 am: bc13ef68ca
Nicolas Geoffray [Thu, 24 Dec 2015 02:10:50 +0000 (18:10 -0800)]
Merge "Fix bogus DCHECK and rename DidForkFromZygote." am: 349baca032 am: bc13ef68ca
am: 638e9eeba6

* commit '638e9eeba63cd0b96a465d0f11691b9a621bc980':

8 years agoMerge "Remove DEBUG_JIT from Zygote flags." am: f5dd91e046 am: 28e7fab960
Nicolas Geoffray [Thu, 24 Dec 2015 02:10:41 +0000 (18:10 -0800)]
Merge "Remove DEBUG_JIT from Zygote flags." am: f5dd91e046 am: 28e7fab960
am: b10c5abd65

* commit 'b10c5abd658b731da2855e645e64fa34b30654d1':

8 years agoMerge "Implement common super type in reference type propagation." am: a4d1b6438f...
Calin Juravle [Thu, 24 Dec 2015 02:10:33 +0000 (18:10 -0800)]
Merge "Implement common super type in reference type propagation." am: a4d1b6438f am: f22e6c9833
am: 82ae1a2165

* commit '82ae1a2165d51fa582efd3e455ee17ab3828946d':

8 years agoMerge "Support deoptimization only to set vreg" am: a7a3ba792d am: 5e939d8825
Sebastien Hertz [Thu, 24 Dec 2015 02:10:24 +0000 (18:10 -0800)]
Merge "Support deoptimization only to set vreg" am: a7a3ba792d am: 5e939d8825
am: d996b94b65

* commit 'd996b94b65b294a4d1dd942d49fe71f444cc8369':

8 years agoMerge "Fix StackVisitor::GetVReg for reference in shadow frame" am: 3e1ff83fb2 am...
Sebastien Hertz [Thu, 24 Dec 2015 02:10:14 +0000 (18:10 -0800)]
Merge "Fix StackVisitor::GetVReg for reference in shadow frame" am: 3e1ff83fb2 am: 64a21f9904
am: 087e9ff777

* commit '087e9ff77767ea65d4e80bd6896700f4cb983705':

8 years agoMerge "Generate more stack maps during native debugging." am: 875773770a
David Srbecky [Wed, 23 Dec 2015 15:36:26 +0000 (07:36 -0800)]
Merge "Generate more stack maps during native debugging." am: 875773770a
am: 388c61cc3c

* commit '388c61cc3c9f2d6d7cbcbd594dc90446227bce46':
  Generate more stack maps during native debugging.

8 years agoMerge "Generate more stack maps during native debugging."
David Srbecky [Wed, 23 Dec 2015 15:34:41 +0000 (07:34 -0800)]
Merge "Generate more stack maps during native debugging."
am: 875773770a

* commit '875773770ae34c623153aac3941828a9e3831f14':
  Generate more stack maps during native debugging.

8 years agoMerge "Generate more stack maps during native debugging."
David Srbecky [Wed, 23 Dec 2015 15:30:27 +0000 (15:30 +0000)]
Merge "Generate more stack maps during native debugging."

8 years agoGenerate more stack maps during native debugging.
David Srbecky [Wed, 9 Dec 2015 14:09:59 +0000 (14:09 +0000)]
Generate more stack maps during native debugging.

Generate extra stack map at the start of each java statement.
The stack maps are later translated to DWARF which allows
LLDB to set breakpoints and view local variables.

Change-Id: If00ab875513308e4a1399d1e12e0fe8934a6f0c3

8 years agoMerge "Move debug symbol writing code to elf_writer_debug.cc" am: d674bf7ba2
David Srbecky [Wed, 23 Dec 2015 12:16:11 +0000 (04:16 -0800)]
Merge "Move debug symbol writing code to elf_writer_debug.cc" am: d674bf7ba2
am: cebb1d3b9c

* commit 'cebb1d3b9cf2e7f99377dd41d379597475f54df4':
  Move debug symbol writing code to elf_writer_debug.cc

8 years agoMerge "Move debug symbol writing code to elf_writer_debug.cc"
David Srbecky [Wed, 23 Dec 2015 12:14:10 +0000 (04:14 -0800)]
Merge "Move debug symbol writing code to elf_writer_debug.cc"
am: d674bf7ba2

* commit 'd674bf7ba2a209790cea8ef8d935480ef515c9e1':
  Move debug symbol writing code to elf_writer_debug.cc

8 years agoMerge "Move debug symbol writing code to elf_writer_debug.cc"
David Srbecky [Wed, 23 Dec 2015 12:10:14 +0000 (12:10 +0000)]
Merge "Move debug symbol writing code to elf_writer_debug.cc"

8 years agoMerge "Move JIT debugger interface code to its own file." am: 975dd72796
David Srbecky [Wed, 23 Dec 2015 12:03:37 +0000 (04:03 -0800)]
Merge "Move JIT debugger interface code to its own file." am: 975dd72796
am: a9d3a9d87d

* commit 'a9d3a9d87d77c31630efc81010dbea0375efaff9':
  Move JIT debugger interface code to its own file.

8 years agoMerge "Move JIT debugger interface code to its own file."
David Srbecky [Wed, 23 Dec 2015 12:01:50 +0000 (12:01 +0000)]
Merge "Move JIT debugger interface code to its own file."
am: 975dd72796

* commit '975dd7279694f345bd4fc31b04ff3275f3082961':
  Move JIT debugger interface code to its own file.

8 years agoMerge "Move JIT debugger interface code to its own file."
David Srbecky [Wed, 23 Dec 2015 11:57:36 +0000 (11:57 +0000)]
Merge "Move JIT debugger interface code to its own file."

8 years agoMerge "Rewrite HInstruction::Is/As<type>()." am: e74927c0cd
Vladimir Marko [Wed, 23 Dec 2015 10:10:44 +0000 (02:10 -0800)]
Merge "Rewrite HInstruction::Is/As<type>()." am: e74927c0cd
am: d56e0503e0

* commit 'd56e0503e07639c105df45ae49a5764b577a17ef':
  Rewrite HInstruction::Is/As<type>().

8 years agoMerge "Rewrite HInstruction::Is/As<type>()."
Vladimir Marko [Wed, 23 Dec 2015 10:08:59 +0000 (02:08 -0800)]
Merge "Rewrite HInstruction::Is/As<type>()."
am: e74927c0cd

* commit 'e74927c0cded59b6687020c6480205d4488a69fc':
  Rewrite HInstruction::Is/As<type>().

8 years agoMerge "Rewrite HInstruction::Is/As<type>()."
Vladimir Marko [Wed, 23 Dec 2015 10:06:09 +0000 (10:06 +0000)]
Merge "Rewrite HInstruction::Is/As<type>()."

8 years agoRewrite HInstruction::Is/As<type>().
Vladimir Marko [Mon, 23 Nov 2015 19:49:34 +0000 (19:49 +0000)]
Rewrite HInstruction::Is/As<type>().

Make Is<type>() and As<type>() non-virtual for concrete
instruction types, relying on GetKind(), and mark GetKind()
as PURE to improve optimization opportunities. This reduces
the number of relocations in libart-compiler.so's .rel.dyn
section by ~4K, or ~44%, and in .data.rel.ro by ~18K, or
~65%. The file is 96KiB smaller for Nexus 5, including 8KiB
reduction of the .text section.

Unfortunately, the g++/clang++ __attribute__((pure)) is not
strong enough to avoid duplicated virtual calls and we would
need the C++ [[pure]] attribute proposed in n3744 instead.
To work around this deficiency, we introduce an extra
non-virtual indirection for GetKind(), so that the compiler
can optimize common expressions such as
    instruction->IsAdd() || instruction->IsSub()
or
    instruction->IsAdd() && instruction->AsAdd()->...
which contain two virtual calls to GetKind() after inlining.

Change-Id: I83787de0671a5cb9f5b0a5f4a536cef239d5b401

8 years agoOverride notice file for OpenJdk based modules.
Narayan Kamath [Tue, 22 Dec 2015 14:56:59 +0000 (14:56 +0000)]
Override notice file for OpenJdk based modules.

Change-Id: Iff63708c83c2a18b82f0de6aa884e1388ed8b32b

8 years agoMerge "Ensure Jack server is running before any use" am: b592885f0b
Yohann Roussel [Tue, 22 Dec 2015 15:41:02 +0000 (07:41 -0800)]
Merge "Ensure Jack server is running before any use" am: b592885f0b
am: cf96ba33d4

* commit 'cf96ba33d4bbded5c79880863d406d06b88f6963':
  Ensure Jack server is running before any use

8 years agoEnsure Jack server is running before any use
Yohann Roussel [Wed, 9 Dec 2015 11:02:46 +0000 (12:02 +0100)]
Ensure Jack server is running before any use

Change-Id: Ie978e994945946139e0faf583c5d767a15ab060e

8 years agoMerge "Ensure Jack server is running before any use"
Yohann Roussel [Tue, 22 Dec 2015 14:04:08 +0000 (14:04 +0000)]
Merge "Ensure Jack server is running before any use"
am: b592885f0b

* commit 'b592885f0b03c6518ccc9df4962c112cc2089131':
  Ensure Jack server is running before any use

8 years agoMerge "Ensure Jack server is running before any use"
Yohann Roussel [Tue, 22 Dec 2015 13:59:49 +0000 (13:59 +0000)]
Merge "Ensure Jack server is running before any use"

8 years agoMerge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable." am: 1201804d18
Hiroshi Yamauchi [Mon, 21 Dec 2015 23:35:01 +0000 (23:35 +0000)]
Merge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable." am: 1201804d18
am: ae66db4953

* commit 'ae66db49535fcddc2b1d24fe7c8324317071dfe9':
  Treat thread state kWaitingWeakGcRootRead as kJavaRunnable.

8 years agoMerge "Fix multiple image space handing for SS collector" am: 10e2607281
Mathieu Chartier [Mon, 21 Dec 2015 23:34:53 +0000 (23:34 +0000)]
Merge "Fix multiple image space handing for SS collector" am: 10e2607281
am: 7b5d3041a2

* commit '7b5d3041a2b84ed55f8655af31705e1a591ad69b':
  Fix multiple image space handing for SS collector

8 years agoMerge "Fix lock ordering violation" am: adc183c711
Mathieu Chartier [Mon, 21 Dec 2015 23:33:23 +0000 (23:33 +0000)]
Merge "Fix lock ordering violation" am: adc183c711
am: b05ef624fe

* commit 'b05ef624fe26ce48d12ce0fb201087f8d9befecc':
  Fix lock ordering violation

8 years agoMerge "Use shared namespaces for bundled apps" am: aa944b9d4d
Dimitry Ivanov [Mon, 21 Dec 2015 23:33:15 +0000 (23:33 +0000)]
Merge "Use shared namespaces for bundled apps" am: aa944b9d4d
am: 50b5b82b7f

* commit '50b5b82b7f246c3cdd7dfcd34a3eec1ea5e95262':
  Use shared namespaces for bundled apps

8 years agoMerge "Do not use 0 in recipe" am: d255fe5c11
Shinichiro Hamaji [Mon, 21 Dec 2015 23:33:06 +0000 (23:33 +0000)]
Merge "Do not use 0 in recipe" am: d255fe5c11
am: ede57d4a5b

* commit 'ede57d4a5ba83a25c9b64061cc9963e17db02127':
  Do not use $? in recipe

8 years agoMerge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable."
Hiroshi Yamauchi [Mon, 21 Dec 2015 23:29:53 +0000 (23:29 +0000)]
Merge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable."
am: 1201804d18

* commit '1201804d1813d7db0accead9721d67c40b3de564':
  Treat thread state kWaitingWeakGcRootRead as kJavaRunnable.

8 years agoMerge "Fix multiple image space handing for SS collector"
Mathieu Chartier [Mon, 21 Dec 2015 23:29:45 +0000 (23:29 +0000)]
Merge "Fix multiple image space handing for SS collector"
am: 10e2607281

* commit '10e2607281ae3d6c5fa814b9986bac5f8b47d325':
  Fix multiple image space handing for SS collector

8 years agoMerge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable."
Hiroshi Yamauchi [Mon, 21 Dec 2015 23:25:23 +0000 (23:25 +0000)]
Merge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable."

8 years agoMerge "Fix multiple image space handing for SS collector"
Mathieu Chartier [Mon, 21 Dec 2015 23:17:17 +0000 (23:17 +0000)]
Merge "Fix multiple image space handing for SS collector"

8 years agoMerge "Fix lock ordering violation"
Mathieu Chartier [Mon, 21 Dec 2015 23:16:34 +0000 (23:16 +0000)]
Merge "Fix lock ordering violation"
am: adc183c711

* commit 'adc183c711731049800d0798ed35a5bc9a681a61':
  Fix lock ordering violation

8 years agoMerge "Use shared namespaces for bundled apps"
Dimitry Ivanov [Mon, 21 Dec 2015 23:16:20 +0000 (23:16 +0000)]
Merge "Use shared namespaces for bundled apps"
am: aa944b9d4d

* commit 'aa944b9d4d447d2746f13327084a19daebf83ee4':
  Use shared namespaces for bundled apps

8 years agoMerge "Fix lock ordering violation"
Mathieu Chartier [Mon, 21 Dec 2015 23:11:40 +0000 (23:11 +0000)]
Merge "Fix lock ordering violation"

8 years agoMerge "Use shared namespaces for bundled apps"
Dimitry Ivanov [Mon, 21 Dec 2015 23:10:49 +0000 (23:10 +0000)]
Merge "Use shared namespaces for bundled apps"

8 years agoMerge "Do not use 0 in recipe"
Shinichiro Hamaji [Mon, 21 Dec 2015 23:07:09 +0000 (23:07 +0000)]
Merge "Do not use 0 in recipe"
am: d255fe5c11

* commit 'd255fe5c11ff0fa13a2ca9f73c7c43a290dc370e':
  Do not use $? in recipe

8 years agoMerge "Do not use $? in recipe"
Shinichiro Hamaji [Mon, 21 Dec 2015 22:45:44 +0000 (22:45 +0000)]
Merge "Do not use $? in recipe"

8 years agoTreat thread state kWaitingWeakGcRootRead as kJavaRunnable.
Hiroshi Yamauchi [Mon, 21 Dec 2015 22:06:23 +0000 (14:06 -0800)]
Treat thread state kWaitingWeakGcRootRead as kJavaRunnable.

Like kSuspended, kWaitingWeakGcRootRead means temporarily waiting for
GC's purpose rather than the thread is waiting on a monitor.

This may fix some jsr166 test failures.

Bug: 25883050
Bug: 12687968

Change-Id: Ib53e18c0fb2ff95aa0491b1531201e583288684e

8 years agoFix lock ordering violation
Mathieu Chartier [Mon, 21 Dec 2015 21:02:14 +0000 (13:02 -0800)]
Fix lock ordering violation

Move ros alloc lock ordering above transaction lock level.

Bug: 26292262

Change-Id: I55f75bd86b413ce193d4df890a39a9c459bc2034

8 years agoFix multiple image space handing for SS collector
Mathieu Chartier [Wed, 16 Dec 2015 23:56:15 +0000 (15:56 -0800)]
Fix multiple image space handing for SS collector

We need to visit objets that don't have a mod-union table even if
collect_from_space_only_ is false.

Bug: 22858531
Change-Id: I3144ccb84d7f7bcdf0560f6425c5e5292d3a2082

8 years agoMerge "Rename NullHandle to ScopedNullHandle" am: 76b90e37df
Mathieu Chartier [Mon, 21 Dec 2015 20:15:39 +0000 (12:15 -0800)]
Merge "Rename NullHandle to ScopedNullHandle" am: 76b90e37df
am: 8a5e8d0118

* commit '8a5e8d0118de17210316100e740d0417239256e9':
  Rename NullHandle to ScopedNullHandle

8 years agoMerge "Rename NullHandle to ScopedNullHandle"
Mathieu Chartier [Mon, 21 Dec 2015 20:13:47 +0000 (12:13 -0800)]
Merge "Rename NullHandle to ScopedNullHandle"
am: 76b90e37df

* commit '76b90e37dfe6eecc904017be8046dd208d30ab8b':
  Rename NullHandle to ScopedNullHandle

8 years agoMerge "Rename NullHandle to ScopedNullHandle"
Mathieu Chartier [Mon, 21 Dec 2015 20:09:36 +0000 (20:09 +0000)]
Merge "Rename NullHandle to ScopedNullHandle"

8 years agoRename NullHandle to ScopedNullHandle
Mathieu Chartier [Mon, 21 Dec 2015 17:58:16 +0000 (09:58 -0800)]
Rename NullHandle to ScopedNullHandle

This makes it clearer that is invalid to do things like:
Handle<T> h = ScopedNullHandle<T>();

Bug: 26233305
Change-Id: I6d8f54eae01ec2e901cb7043afa853ea77db79fe

8 years agoUpdate header for OpenjdkJvm.cc.
Narayan Kamath [Sun, 20 Dec 2015 20:32:01 +0000 (20:32 +0000)]
Update header for OpenjdkJvm.cc.

Change-Id: I19d25531fe71d0511ee3887a2ffd5697a8a00249

8 years agoDo not use $? in recipe
Shinichiro Hamaji [Fri, 18 Dec 2015 06:51:51 +0000 (15:51 +0900)]
Do not use $? in recipe

Kati cannot support this automatic variable as ninja doesn't
have a feature for this.

Change-Id: Ie9130c31916954454eb201129ae6f49554453586

8 years agoMerge "Pass down to the runtime the application code paths." am: 115a02b737
Calin Juravle [Mon, 21 Dec 2015 09:50:04 +0000 (09:50 +0000)]
Merge "Pass down to the runtime the application code paths." am: 115a02b737
am: d264bab81e

* commit 'd264bab81efdc40500b41620d65a8b3930854719':
  Pass down to the runtime the application code paths.

8 years agoMerge "Pass down to the runtime the application code paths."
Calin Juravle [Mon, 21 Dec 2015 09:48:17 +0000 (09:48 +0000)]
Merge "Pass down to the runtime the application code paths."
am: 115a02b737

* commit '115a02b737dd5f4d485b2f6c359e02988df66b83':
  Pass down to the runtime the application code paths.

8 years agoMerge "Pass down to the runtime the application code paths."
Calin Juravle [Mon, 21 Dec 2015 09:43:09 +0000 (09:43 +0000)]
Merge "Pass down to the runtime the application code paths."

8 years agoUse shared namespaces for bundled apps
Dimitry Ivanov [Tue, 15 Dec 2015 22:08:18 +0000 (14:08 -0800)]
Use shared namespaces for bundled apps

Shared namespaces clone the list of loaded native
libraries from the caller namespace. This allows
classloaders for bundled apps to share already loaded
libraries with default namespace.

Bug: http://b/26165097
Bug: http://b/22548808
Change-Id: Ia90b603a0ca97194618b82fb191d6790a4b1f281
(cherry picked from commit 986f650d8b552e8b7dbebef1f50f015e7850edfc)

8 years agoMerge "art: use -O1 to compile tests with clang for arm64" am: 2f125e3c7a
Colin Cross [Sat, 19 Dec 2015 02:01:35 +0000 (18:01 -0800)]
Merge "art: use -O1 to compile tests with clang for arm64" am: 2f125e3c7a
am: 453f41e995

* commit '453f41e99570adeeda6fd79eccc9d8b4ce55b722':
  art: use -O1 to compile tests with clang for arm64

8 years agoMerge "art: use -O1 to compile tests with clang for arm64"
Colin Cross [Sat, 19 Dec 2015 01:59:46 +0000 (17:59 -0800)]
Merge "art: use -O1 to compile tests with clang for arm64"
am: 2f125e3c7a

* commit '2f125e3c7ab02cbbbcede533dc53a454a439be13':
  art: use -O1 to compile tests with clang for arm64

8 years agoMerge "art: use -O1 to compile tests with clang for arm64"
Colin Cross [Sat, 19 Dec 2015 01:56:42 +0000 (01:56 +0000)]
Merge "art: use -O1 to compile tests with clang for arm64"

8 years agoart: use -O1 to compile tests with clang for arm64
Colin Cross [Sat, 19 Dec 2015 01:48:50 +0000 (17:48 -0800)]
art: use -O1 to compile tests with clang for arm64

arm64 clang fails to compile art/runtime/arch/stub_test.cc with:
art/runtime/arch/stub_test.cc:178:9: error: inline assembly requires
more registers than available
        "sub sp, sp, #64\n\t"
        ^

Pass -O1 to all art tests compiled with clang for arm64.

Bug: 26275713
Change-Id: Ib1a1c309aef73a2d33d37d720e5e11b8fe7a248e

8 years agoMerge "Use shared namespaces for bundled apps"
Dimitry Ivanov [Sat, 19 Dec 2015 00:49:07 +0000 (00:49 +0000)]
Merge "Use shared namespaces for bundled apps"

8 years agoMerge "Re-enable optimization for clang arm64 art builds" am: 2cd15c35df
Colin Cross [Sat, 19 Dec 2015 00:23:05 +0000 (16:23 -0800)]
Merge "Re-enable optimization for clang arm64 art builds" am: 2cd15c35df
am: 015924124a

* commit '015924124af455d38aa2a381312d95c8e4b95ce2':
  Re-enable optimization for clang arm64 art builds

8 years agoMerge "Re-enable optimization for clang arm64 art builds"
Colin Cross [Sat, 19 Dec 2015 00:21:00 +0000 (00:21 +0000)]
Merge "Re-enable optimization for clang arm64 art builds"
am: 2cd15c35df

* commit '2cd15c35df125955e02d9c3c5178d90c6bb9a3bc':
  Re-enable optimization for clang arm64 art builds

8 years agoMerge "Re-enable optimization for clang arm64 art builds"
Colin Cross [Sat, 19 Dec 2015 00:14:02 +0000 (00:14 +0000)]
Merge "Re-enable optimization for clang arm64 art builds"

8 years agoRe-enable optimization for clang arm64 art builds
Colin Cross [Fri, 18 Dec 2015 23:13:51 +0000 (15:13 -0800)]
Re-enable optimization for clang arm64 art builds

The clang bug is fixed, remove -O1 from clang arm64 art builds.

Bug: 23256622
Change-Id: I3f2f6d1e84c5484fd499a94593f1dd53a4a66fbe

8 years agoMerge "For LSE, further optimize stores for singleton references." am: f8b69bc89a
Mingyao Yang [Fri, 18 Dec 2015 23:10:57 +0000 (23:10 +0000)]
Merge "For LSE, further optimize stores for singleton references." am: f8b69bc89a
am: a471a50b81

* commit 'a471a50b813a1c6dd0c96d174a2cb6947168cd9c':
  For LSE, further optimize stores for singleton references.

8 years agoMerge "Make use of new method iterators." am: 045d37ae20
Alex Light [Fri, 18 Dec 2015 23:10:49 +0000 (23:10 +0000)]
Merge "Make use of new method iterators." am: 045d37ae20
am: c4affaa361

* commit 'c4affaa361cd73681ad9c493b5b41fae94fb5be0':
  Make use of new method iterators.

8 years agoMerge "MIPS64: Fuse long and FP compare & condition in Optimizing." am: 280a65b1ea
Roland Levillain [Fri, 18 Dec 2015 23:10:42 +0000 (23:10 +0000)]
Merge "MIPS64: Fuse long and FP compare & condition in Optimizing." am: 280a65b1ea
am: 113e7c3ed6

* commit '113e7c3ed6c5138d182b87558fce77121dd37ec3':
  MIPS64: Fuse long and FP compare & condition in Optimizing.

8 years agoMerge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again." am: 9d9435ff95
Roland Levillain [Fri, 18 Dec 2015 23:10:34 +0000 (23:10 +0000)]
Merge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again." am: 9d9435ff95
am: 579168768e

* commit '579168768e85aad19f5ae5101542a9963f6f0e4c':
  Disable jsr166.LinkedTransferQueueTest#testTransfer2 again.

8 years agoMerge "ART: Fix bug in LSE" am: d9493c2d61
Nicolas Geoffray [Fri, 18 Dec 2015 23:10:26 +0000 (23:10 +0000)]
Merge "ART: Fix bug in LSE" am: d9493c2d61
am: bd968bd36f

* commit 'bd968bd36f9948d27f63cc1a7abb602ab9264f06':
  ART: Fix bug in LSE

8 years agoMerge "Disable the UnsafeCASObject intrinsic with read barriers." am: 273941131a
Roland Levillain [Fri, 18 Dec 2015 23:10:17 +0000 (23:10 +0000)]
Merge "Disable the UnsafeCASObject intrinsic with read barriers." am: 273941131a
am: e3e6822add

* commit 'e3e6822adde3b53c84723a78412c4bd9eb812da6':
  Disable the UnsafeCASObject intrinsic with read barriers.

8 years agoMerge "For LSE, further optimize stores for singleton references."
Mingyao Yang [Fri, 18 Dec 2015 23:07:36 +0000 (23:07 +0000)]
Merge "For LSE, further optimize stores for singleton references."
am: f8b69bc89a

* commit 'f8b69bc89aa1c657e5b6232be08535e27d078b9e':
  For LSE, further optimize stores for singleton references.

8 years agoMerge "Make use of new method iterators."
Alex Light [Fri, 18 Dec 2015 23:07:28 +0000 (23:07 +0000)]
Merge "Make use of new method iterators."
am: 045d37ae20

* commit '045d37ae20ae9481f6c967ab5db4240991ff151f':
  Make use of new method iterators.

8 years agoMerge "MIPS64: Fuse long and FP compare & condition in Optimizing."
Roland Levillain [Fri, 18 Dec 2015 23:07:20 +0000 (23:07 +0000)]
Merge "MIPS64: Fuse long and FP compare & condition in Optimizing."
am: 280a65b1ea

* commit '280a65b1ea1f18ab8204a4089630a206dd2d0375':
  MIPS64: Fuse long and FP compare & condition in Optimizing.

8 years agoMerge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again."
Roland Levillain [Fri, 18 Dec 2015 23:07:12 +0000 (23:07 +0000)]
Merge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again."
am: 9d9435ff95

* commit '9d9435ff95f31c5467912a6a3eb60070cc6f4199':
  Disable jsr166.LinkedTransferQueueTest#testTransfer2 again.

8 years agoMerge "ART: Fix bug in LSE"
Nicolas Geoffray [Fri, 18 Dec 2015 23:07:03 +0000 (23:07 +0000)]
Merge "ART: Fix bug in LSE"
am: d9493c2d61

* commit 'd9493c2d611601b1f076e5f92a2fe8a9e4ccf78d':
  ART: Fix bug in LSE

8 years agoMerge "Disable the UnsafeCASObject intrinsic with read barriers."
Roland Levillain [Fri, 18 Dec 2015 23:06:54 +0000 (23:06 +0000)]
Merge "Disable the UnsafeCASObject intrinsic with read barriers."
am: 273941131a

* commit '273941131aed5248a8c75b2d3f2952a88c7ab02d':
  Disable the UnsafeCASObject intrinsic with read barriers.

8 years agoMerge "For LSE, further optimize stores for singleton references."
Mingyao Yang [Fri, 18 Dec 2015 23:02:10 +0000 (23:02 +0000)]
Merge "For LSE, further optimize stores for singleton references."

8 years agoMerge "Revert "Revert "X86: Use locked add rather than mfence""" am: 570a920d0a
Aart Bik [Fri, 18 Dec 2015 18:40:28 +0000 (18:40 +0000)]
Merge "Revert "Revert "X86: Use locked add rather than mfence""" am: 570a920d0a
am: 65b5183b0a

* commit '65b5183b0ae0042ab917eb8afd4f236669c3935d':
  Revert "Revert "X86: Use locked add rather than mfence""

8 years agoFor LSE, further optimize stores for singleton references.
Mingyao Yang [Tue, 1 Dec 2015 20:24:36 +0000 (12:24 -0800)]
For LSE, further optimize stores for singleton references.

Loop side effects shouldn't affect singletons whose fields are never stored into
inside a loop.

Change-Id: If3715d7b7e621bb077ef9481072a56f7fec87f2b

8 years agoMerge "Make use of new method iterators."
Alex Light [Fri, 18 Dec 2015 17:57:40 +0000 (17:57 +0000)]
Merge "Make use of new method iterators."

8 years agoMerge "MIPS64: Fuse long and FP compare & condition in Optimizing."
Roland Levillain [Fri, 18 Dec 2015 17:54:01 +0000 (17:54 +0000)]
Merge "MIPS64: Fuse long and FP compare & condition in Optimizing."

8 years agoMerge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again."
Roland Levillain [Fri, 18 Dec 2015 17:21:25 +0000 (17:21 +0000)]
Merge "Disable jsr166.LinkedTransferQueueTest#testTransfer2 again."

8 years agoDisable jsr166.LinkedTransferQueueTest#testTransfer2 again.
Roland Levillain [Fri, 18 Dec 2015 16:55:35 +0000 (16:55 +0000)]
Disable jsr166.LinkedTransferQueueTest#testTransfer2 again.

This test is failing (again) on the concurrent collector
configuration.  Disable it while we investigate.

Bug: 25883050
Change-Id: I54e59a43b730c286e370b5ae01bc5713fe816b61

8 years agoMove debug symbol writing code to elf_writer_debug.cc
David Srbecky [Thu, 17 Dec 2015 20:53:07 +0000 (20:53 +0000)]
Move debug symbol writing code to elf_writer_debug.cc

I want to be able to use this code without needing to
reference elf_writer_quick.

Change-Id: I87ccedc540b8f04b53be0fc6344a5947308ffcb6

8 years agoMerge "ART: Fix bug in LSE"
Nicolas Geoffray [Fri, 18 Dec 2015 14:57:19 +0000 (14:57 +0000)]
Merge "ART: Fix bug in LSE"

8 years agoART: Fix bug in LSE
David Brazdil [Mon, 14 Dec 2015 16:58:08 +0000 (16:58 +0000)]
ART: Fix bug in LSE

LSE will not remove a load if the type of the heap value does not
match the type of the load. This was a workaround for b/22538329 but
backfires for integers. For example, 'IntConstant 0' has type int
but can be retrieved from a boolean field. The corresponding store is
removed but not the load, loading uninitialized memory. This fixes the
issue until the workaround is not needed any more.

Change-Id: I2a47783e8d5f93104854e5216b69b6c220832c76

8 years agoMerge "Disable the UnsafeCASObject intrinsic with read barriers."
Roland Levillain [Fri, 18 Dec 2015 12:56:47 +0000 (12:56 +0000)]
Merge "Disable the UnsafeCASObject intrinsic with read barriers."

8 years agoSeparate OpenjdkJvm.cc into its own shared library.
Narayan Kamath [Fri, 18 Dec 2015 11:08:27 +0000 (11:08 +0000)]
Separate OpenjdkJvm.cc into its own shared library.

Change-Id: Ibb0e64b81cb033764a865be1f05be5f3334feaa5

8 years agoDisable the UnsafeCASObject intrinsic with read barriers.
Roland Levillain [Fri, 18 Dec 2015 11:43:38 +0000 (11:43 +0000)]
Disable the UnsafeCASObject intrinsic with read barriers.

The current implementations of the UnsafeCASObject
intrinsics are missing a read barrier.  Temporarily disable
them when read barriers are enabled.

Also re-enable the jsr166.LinkedTransferQueueTest tests that
were failing on the concurrent collector configuration, as
the UnsafeCASObject JNI implementation now correctly
implements the read barrier which was missing.

Bug: 25883050
Bug: 26205973
Change-Id: Iaf5d515532949662d0ac6702c9452a00aa0a23e6

8 years agoMerge "ART: Refactor CommonRuntimeTest::SetUp" am: fae1db92d8
Andreas Gampe [Fri, 18 Dec 2015 01:49:38 +0000 (01:49 +0000)]
Merge "ART: Refactor CommonRuntimeTest::SetUp" am: fae1db92d8
am: db2980ae9e

* commit 'db2980ae9eca19a577df27b1f05912ed482fb88c':
  ART: Refactor CommonRuntimeTest::SetUp

8 years agoMerge "ART: Recognize cortex-a53.a57 for ARM features" am: 5640499750
Andreas Gampe [Fri, 18 Dec 2015 01:49:16 +0000 (01:49 +0000)]
Merge "ART: Recognize cortex-a53.a57 for ARM features" am: 5640499750
am: bb88f60af2

* commit 'bb88f60af2260cca9f5433a02b30bc0f6edea076':
  ART: Recognize cortex-a53.a57 for ARM features

8 years agoresolve merge conflicts of 9f784b26a1 to master.
Alex Light [Thu, 17 Dec 2015 23:48:01 +0000 (15:48 -0800)]
resolve merge conflicts of 9f784b26a1 to master.

Change-Id: I9ebcb6e3d51be922e08e5f867fb8dcaf5cb9788d