OSDN Git Service

android-x86/art.git
9 years agoam a10a8b56: Merge "Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags."
Ian Rogers [Tue, 4 Nov 2014 04:06:06 +0000 (04:06 +0000)]
am a10a8b56: Merge "Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags."

* commit 'a10a8b56a01be95b3ec13022d3a155e163a11673':
  Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags.

9 years agoMerge "Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags."
Ian Rogers [Tue, 4 Nov 2014 04:02:48 +0000 (04:02 +0000)]
Merge "Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags."

9 years agoRemove -Wno-unused-parameter and -Wno-sign-promo from base cflags.
Ian Rogers [Fri, 31 Oct 2014 07:33:20 +0000 (00:33 -0700)]
Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags.

Fix associated errors about unused paramenters and implict sign conversions.
For sign conversion this was largely in the area of enums, so add ostream
operators for the effected enums and fix tools/generate-operator-out.py.
Tidy arena allocation code and arena allocated data types, rather than fixing
new and delete operators.
Remove dead code.

Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b

9 years agoam c6e09557: Merge "Some improvement to reg alloc."
Mingyao Yang [Tue, 4 Nov 2014 00:53:39 +0000 (00:53 +0000)]
am c6e09557: Merge "Some improvement to reg alloc."

* commit 'c6e0955737e15f7c0c3575d4e13789b3411f4993':
  Some improvement to reg alloc.

9 years agoam 9aee6fc7: Merge "ART: Add missing test dependency"
Andreas Gampe [Tue, 4 Nov 2014 00:53:37 +0000 (00:53 +0000)]
am 9aee6fc7: Merge "ART: Add missing test dependency"

* commit '9aee6fc7f23ca4c23d11b8b269da02a383d8debb':
  ART: Add missing test dependency

9 years agoam 0c25f441: Merge "Check null this pointer for direct methods in FindMethodFast."
Jeff Hao [Tue, 4 Nov 2014 00:53:36 +0000 (00:53 +0000)]
am 0c25f441: Merge "Check null this pointer for direct methods in FindMethodFast."

* commit '0c25f441d0d85ec882b4634f496ed5bb71995f7c':
  Check null this pointer for direct methods in FindMethodFast.

9 years agoMerge "Some improvement to reg alloc."
Mingyao Yang [Tue, 4 Nov 2014 00:21:46 +0000 (00:21 +0000)]
Merge "Some improvement to reg alloc."

9 years agoSome improvement to reg alloc.
Mingyao Yang [Mon, 6 Oct 2014 23:47:28 +0000 (16:47 -0700)]
Some improvement to reg alloc.

Change-Id: If579a37791278500a7e5bc763f144c241f261920

9 years agoMerge "ART: Add missing test dependency"
Andreas Gampe [Mon, 3 Nov 2014 23:41:18 +0000 (23:41 +0000)]
Merge "ART: Add missing test dependency"

9 years agoART: Add missing test dependency
Andreas Gampe [Mon, 3 Nov 2014 23:36:53 +0000 (15:36 -0800)]
ART: Add missing test dependency

Change-Id: Ic37fd3b8885a9745e1efe4f42578d9ab090a201c

9 years agoMerge "Check null this pointer for direct methods in FindMethodFast."
Jeff Hao [Mon, 3 Nov 2014 22:27:16 +0000 (22:27 +0000)]
Merge "Check null this pointer for direct methods in FindMethodFast."

9 years agoCheck null this pointer for direct methods in FindMethodFast.
Jeff Hao [Thu, 30 Oct 2014 00:24:25 +0000 (17:24 -0700)]
Check null this pointer for direct methods in FindMethodFast.

Also adds regression test 127-secondarydex.

Bug: 18150997

(cherry picked from commit d2bee3dffa2f552512f47bca605ed857e3ae30ea)

Change-Id: I911dd7c92c51939504cfee5a3d18a835987b8388

9 years agoam a338da43: Merge "ART: Add miranda checking"
Andreas Gampe [Mon, 3 Nov 2014 18:37:14 +0000 (18:37 +0000)]
am a338da43: Merge "ART: Add miranda checking"

* commit 'a338da434433b180c33e043929ea79b18f4c093c':
  ART: Add miranda checking

9 years agoMerge "ART: Add miranda checking"
Andreas Gampe [Mon, 3 Nov 2014 18:30:41 +0000 (18:30 +0000)]
Merge "ART: Add miranda checking"

9 years agoam 4450721d: Merge "ART: Discard generated image in a low-memory environment"
Andreas Gampe [Mon, 3 Nov 2014 18:28:32 +0000 (18:28 +0000)]
am 4450721d: Merge "ART: Discard generated image in a low-memory environment"

* commit '4450721d3d396b392b1ec27bafbf3b6f956682f7':
  ART: Discard generated image in a low-memory environment

9 years agoMerge "ART: Discard generated image in a low-memory environment"
Andreas Gampe [Mon, 3 Nov 2014 18:24:44 +0000 (18:24 +0000)]
Merge "ART: Discard generated image in a low-memory environment"

9 years agoART: Add miranda checking
Andreas Gampe [Sat, 1 Nov 2014 01:12:30 +0000 (18:12 -0700)]
ART: Add miranda checking

Add a test for resolution of miranda methods across dex-files. See
CL 112688 and b/18193682 for the code change.

Fix the test script to support no-verify again.

Weaken the dex cache check to a check whether the found method is a
miranda method. This will penalize miranda methods, as they will
always have to be resolved by name, but does not require the multi-step
load of the method's dex cache.

Bug: 18193682
Change-Id: I1dae2a9ec0985dc8625acd7dd5686a5d3cdc8888

9 years agoam a88219f1: Merge "Add image strings to intern table"
Mathieu Chartier [Mon, 3 Nov 2014 18:20:52 +0000 (18:20 +0000)]
am a88219f1: Merge "Add image strings to intern table"

* commit 'a88219f157a53d6ba334bee92ad4718bfa6eb9c1':
  Add image strings to intern table

9 years agoam 71ed8c7e: Merge "Remove generated file if compiling the image failed."
Nicolas Geoffray [Mon, 3 Nov 2014 18:20:50 +0000 (18:20 +0000)]
am 71ed8c7e: Merge "Remove generated file if compiling the image failed."

* commit '71ed8c7e38595e650dbd5a9fd17852776a938848':
  Remove generated file if compiling the image failed.

9 years agoMerge "Add image strings to intern table"
Mathieu Chartier [Mon, 3 Nov 2014 18:18:40 +0000 (18:18 +0000)]
Merge "Add image strings to intern table"

9 years agoMerge "Remove generated file if compiling the image failed."
Nicolas Geoffray [Mon, 3 Nov 2014 18:17:53 +0000 (18:17 +0000)]
Merge "Remove generated file if compiling the image failed."

9 years agoAdd image strings to intern table
Mathieu Chartier [Fri, 31 Oct 2014 18:49:27 +0000 (11:49 -0700)]
Add image strings to intern table

When we create the runtime, we now add the image strings to the
intern table if we are the zygote. This caused some memory bloat,
so I added an extra unordered set to the intern table.

There is now two unordered sets (hash talbe). One for pre-zygote
interns and one for post-zygote interns. This helps since the
pre-zygote hash table doesn't get dirtied. Even with adding
the image strings, we get total memory savings of around 5-7 MB
native PSS after device boot.

FB launch Before:
2.20% art::DexFile::FindStringId(char const*) const
TotalTime: 2069
TotalTime: 1985
TotalTime: 2088
TotalTime: 2003
TotalTime: 2034
TotalTime: 2049
After boot native PSS: 175585 kB: Native

After:
0.27% art::DexFile::FindStringId(char const*) const
TotalTime: 1682
TotalTime: 1756
TotalTime: 1825
TotalTime: 1751
TotalTime: 1666
TotalTime: 1813
After boot native PSS: 167089 kB: Native

Bug: 18054905
Bug: 16828525
Bug: 17808975

(cherry picked from commit b6e292bf7eac9d73c6b79b1e9b7b87beb02436c9)

Change-Id: Ie367f3222f8c4db409ec49c3845276908b51e9c9

9 years agoam 31e7c162: Merge "ART: Remove unnecessary includes"
Andreas Gampe [Mon, 3 Nov 2014 18:17:18 +0000 (18:17 +0000)]
am 31e7c162: Merge "ART: Remove unnecessary includes"

* commit '31e7c1628ffd90018a971e6650c924dc804b9a9a':
  ART: Remove unnecessary includes

9 years agoMerge "ART: Remove unnecessary includes"
Andreas Gampe [Mon, 3 Nov 2014 18:12:44 +0000 (18:12 +0000)]
Merge "ART: Remove unnecessary includes"

9 years agoART: Remove unnecessary includes
Andreas Gampe [Mon, 3 Nov 2014 16:47:01 +0000 (08:47 -0800)]
ART: Remove unnecessary includes

Remove unnecessary includes from context_ISA.cc

Change-Id: Ic9919c0afd081ec405a5d972d152fe996d12fa3d

9 years agoRemove generated file if compiling the image failed.
Nicolas Geoffray [Mon, 3 Nov 2014 16:23:48 +0000 (16:23 +0000)]
Remove generated file if compiling the image failed.

Change-Id: Ie809ad15d090e8303ec6ce308f76fc7f3f80cadd

9 years agoam 07f09809: Merge "Add missing when testing TARGET_ARCH."
Nicolas Geoffray [Mon, 3 Nov 2014 14:45:34 +0000 (14:45 +0000)]
am 07f09809: Merge "Add missing  when testing TARGET_ARCH."

* commit '07f09809c0575e985249450843b06f266b831fe1':
  Add missing $() when testing TARGET_ARCH.

9 years agoMerge "Add missing $() when testing TARGET_ARCH."
Nicolas Geoffray [Mon, 3 Nov 2014 14:40:29 +0000 (14:40 +0000)]
Merge "Add missing $() when testing TARGET_ARCH."

9 years agoAdd missing $() when testing TARGET_ARCH.
Nicolas Geoffray [Mon, 3 Nov 2014 14:39:21 +0000 (14:39 +0000)]
Add missing $() when testing TARGET_ARCH.

Change-Id: I02a25022d144ad2a502278755ff286278109a830

9 years agoam 17231d03: Merge "Only use Quick for optimizing on arm64."
Nicolas Geoffray [Mon, 3 Nov 2014 14:00:33 +0000 (14:00 +0000)]
am 17231d03: Merge "Only use Quick for optimizing on arm64."

* commit '17231d03bddaca260d8988d1007bb39c02383601':
  Only use Quick for optimizing on arm64.

9 years agoam 6cc88a7e: Merge "Disable kNoOutputOverlap optimization."
Nicolas Geoffray [Mon, 3 Nov 2014 14:00:32 +0000 (14:00 +0000)]
am 6cc88a7e: Merge "Disable kNoOutputOverlap optimization."

* commit '6cc88a7e5ad695ce4f2651009231fd8f025d1a99':
  Disable kNoOutputOverlap optimization.

9 years agoMerge "Only use Quick for optimizing on arm64."
Nicolas Geoffray [Mon, 3 Nov 2014 13:57:55 +0000 (13:57 +0000)]
Merge "Only use Quick for optimizing on arm64."

9 years agoMerge "Disable kNoOutputOverlap optimization."
Nicolas Geoffray [Mon, 3 Nov 2014 13:57:14 +0000 (13:57 +0000)]
Merge "Disable kNoOutputOverlap optimization."

9 years agoART: Discard generated image in a low-memory environment
Andreas Gampe [Fri, 31 Oct 2014 23:45:19 +0000 (16:45 -0700)]
ART: Discard generated image in a low-memory environment

In case the available memory after image generation is low,
discard the image and continue in interpreted mode to mitigate
low-mem issues.

Bug: 17975190

(cherry picked from commit e059b778a6a471455659eb8c3616858eb189fda8)

Change-Id: I9bbb5e52ffbf3570f85510efb76bcd7654e6951c

9 years agoam 9a41fb16: Merge "Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods"
Brian Carlstrom [Fri, 31 Oct 2014 21:37:37 +0000 (21:37 +0000)]
am 9a41fb16: Merge "Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods"

* commit '9a41fb1616df7e966e58cabc2abc1b5d90c9e14f':
  Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods

9 years agoMerge "Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods"
Brian Carlstrom [Fri, 31 Oct 2014 21:33:35 +0000 (21:33 +0000)]
Merge "Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods"

9 years agoFix FindDeclaredVirtualMethod(DexCache...) for miranda methods
Brian Carlstrom [Fri, 31 Oct 2014 07:01:54 +0000 (00:01 -0700)]
Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods

If a class in classes.dex implements an interface from classes2.dex,
the miranda method will be in the dex cache for classes2.dex, but
pointed to by the virtual methods of the class in the dex caches for
classes.dex.

Therefore the fast path for DexCache::ResolveMethod that searches via
class and superclass virtual methods should ensure that any method
matching on dex method_idx should be from the same dex cache as the
class itself, which is not the case for miranda methods.

Bug: 18193682

(cherry picked from commit 9a783d6a0cb437fc0d9ffcc84502912f3d1cb73b)

Change-Id: Ia44f72c2ed2701e48153d14d2c5ca4ccc4959b30

9 years agoam 57b4d1c4: Merge "Fix armv8 testing with default ANDROID_ROOT."
Nicolas Geoffray [Fri, 31 Oct 2014 16:30:17 +0000 (16:30 +0000)]
am 57b4d1c4: Merge "Fix armv8 testing with default ANDROID_ROOT."

* commit '57b4d1c44e246dfd4aaef2d23b20a696a0c5e57e':
  Fix armv8 testing with default ANDROID_ROOT.

9 years agoam f6e59f57: Merge "More armv8 failures now that optimizing supports CONST_STRING."
Nicolas Geoffray [Fri, 31 Oct 2014 16:30:16 +0000 (16:30 +0000)]
am f6e59f57: Merge "More armv8 failures now that optimizing supports CONST_STRING."

* commit 'f6e59f57d0c0cbbbe64d6862507350e4853495cd':
  More armv8 failures now that optimizing supports CONST_STRING.

9 years agoMerge "Fix armv8 testing with default ANDROID_ROOT."
Nicolas Geoffray [Fri, 31 Oct 2014 15:50:18 +0000 (15:50 +0000)]
Merge "Fix armv8 testing with default ANDROID_ROOT."

9 years agoFix armv8 testing with default ANDROID_ROOT.
Nicolas Geoffray [Fri, 31 Oct 2014 15:34:50 +0000 (15:34 +0000)]
Fix armv8 testing with default ANDROID_ROOT.

Change-Id: I68ac57240783822972a3f49dd54de01ef60e637d

9 years agoMerge "More armv8 failures now that optimizing supports CONST_STRING."
Nicolas Geoffray [Fri, 31 Oct 2014 15:09:24 +0000 (15:09 +0000)]
Merge "More armv8 failures now that optimizing supports CONST_STRING."

9 years agoMore armv8 failures now that optimizing supports CONST_STRING.
Nicolas Geoffray [Fri, 31 Oct 2014 15:07:56 +0000 (15:07 +0000)]
More armv8 failures now that optimizing supports CONST_STRING.

Change-Id: Ifd53c7f520266e5a3ccdf58c50fcb7788e1eb9c6

9 years agoDisable kNoOutputOverlap optimization.
Nicolas Geoffray [Fri, 31 Oct 2014 14:27:37 +0000 (14:27 +0000)]
Disable kNoOutputOverlap optimization.

Found a case where it does not work. Need to think more about it
as well as write a regression test.

Change-Id: I2abe05c84f2c608d622fbe6d373b6dcdb68f4162

9 years agoam a9014f97: Merge "Support for CONST_STRING in optimizing compiler."
Nicolas Geoffray [Fri, 31 Oct 2014 14:26:54 +0000 (14:26 +0000)]
am a9014f97: Merge "Support for CONST_STRING in optimizing compiler."

* commit 'a9014f977ae90373f5bad4cf812c2bda810b10f8':
  Support for CONST_STRING in optimizing compiler.

9 years agoMerge "Support for CONST_STRING in optimizing compiler."
Nicolas Geoffray [Fri, 31 Oct 2014 14:24:05 +0000 (14:24 +0000)]
Merge "Support for CONST_STRING in optimizing compiler."

9 years agoSupport for CONST_STRING in optimizing compiler.
Nicolas Geoffray [Thu, 30 Oct 2014 10:58:41 +0000 (10:58 +0000)]
Support for CONST_STRING in optimizing compiler.

Change-Id: Iab8517bdadd1d15ffbe570010f093660be7c51aa

9 years agoOnly use Quick for optimizing on arm64.
Nicolas Geoffray [Fri, 31 Oct 2014 10:48:25 +0000 (10:48 +0000)]
Only use Quick for optimizing on arm64.

Also, force recompilation of the images with optimizing at each
dex2oat change.

Change-Id: I4a6e3a7badc3dae4f35d4eb93659a0d59569cd1a

9 years agoam 8b557af8: Merge "Add math routines with defined wrapping behavior for the interpre...
Ian Rogers [Thu, 30 Oct 2014 23:43:18 +0000 (23:43 +0000)]
am 8b557af8: Merge "Add math routines with defined wrapping behavior for the interpreter."

* commit '8b557af85871e5086589afd2b3a17089d0f67df8':
  Add math routines with defined wrapping behavior for the interpreter.

9 years agoam 2a4e71ca: Merge "Avoid signed integer overflow in identity hash code."
Ian Rogers [Thu, 30 Oct 2014 23:43:15 +0000 (23:43 +0000)]
am 2a4e71ca: Merge "Avoid signed integer overflow in identity hash code."

* commit '2a4e71ca268f8a5b3d8424116a7a8650265d8774':
  Avoid signed integer overflow in identity hash code.

9 years agoam 45664c99: Merge "Avoid signed integer overflow."
Ian Rogers [Thu, 30 Oct 2014 23:43:13 +0000 (23:43 +0000)]
am 45664c99: Merge "Avoid signed integer overflow."

* commit '45664c995b99e81f6d425206d7a43cb3b898daab':
  Avoid signed integer overflow.

9 years agoam 6163fd40: Merge "Add hash table to link virtual methods"
Mathieu Chartier [Thu, 30 Oct 2014 23:43:10 +0000 (23:43 +0000)]
am 6163fd40: Merge "Add hash table to link virtual methods"

* commit '6163fd4004d357744ed5e1b681f74adb406c23fd':
  Add hash table to link virtual methods

9 years agoam c74c218d: Merge "Fix mixed signed/unsigned arithmetic in BitVector."
Ian Rogers [Thu, 30 Oct 2014 23:43:09 +0000 (23:43 +0000)]
am c74c218d: Merge "Fix mixed signed/unsigned arithmetic in BitVector."

* commit 'c74c218da71957250b4bda45fd1ac5ed8acd0131':
  Fix mixed signed/unsigned arithmetic in BitVector.

9 years agoam da7bb738: Merge "Avoid signed arithmetic overflow in UTF hash functions."
Ian Rogers [Thu, 30 Oct 2014 23:43:08 +0000 (23:43 +0000)]
am da7bb738: Merge "Avoid signed arithmetic overflow in UTF hash functions."

* commit 'da7bb73801b53f4b70ccd7340aca5892db4f0867':
  Avoid signed arithmetic overflow in UTF hash functions.

9 years agoam 3efa15fd: Merge "art: Fix classlinker and nopatchoat test for PIC case"
Igor Murashkin [Thu, 30 Oct 2014 23:43:04 +0000 (23:43 +0000)]
am 3efa15fd: Merge "art: Fix classlinker and nopatchoat test for PIC case"

* commit '3efa15fd486fd07d61898720419f020066a307b2':
  art: Fix classlinker and nopatchoat test for PIC case

9 years agoMerge "Add math routines with defined wrapping behavior for the interpreter."
Ian Rogers [Thu, 30 Oct 2014 23:27:25 +0000 (23:27 +0000)]
Merge "Add math routines with defined wrapping behavior for the interpreter."

9 years agoAdd math routines with defined wrapping behavior for the interpreter.
Ian Rogers [Thu, 30 Oct 2014 22:41:08 +0000 (15:41 -0700)]
Add math routines with defined wrapping behavior for the interpreter.

Add a RSUB_INT_LIT16 instruction alias to make instruction opcode switch
statements easier to read.

Change-Id: I3bac07c9518665abf0b05b5c3105a90be22f780a

9 years agoMerge "Avoid signed integer overflow in identity hash code."
Ian Rogers [Thu, 30 Oct 2014 22:42:26 +0000 (22:42 +0000)]
Merge "Avoid signed integer overflow in identity hash code."

9 years agoAvoid signed integer overflow in identity hash code.
Ian Rogers [Thu, 30 Oct 2014 22:25:36 +0000 (15:25 -0700)]
Avoid signed integer overflow in identity hash code.

Caught by -ftrapv.

Change-Id: Ib8dbb31440ccce88a3c3ce7ea3b2394621616eff

9 years agoMerge "Avoid signed integer overflow."
Ian Rogers [Thu, 30 Oct 2014 22:25:22 +0000 (22:25 +0000)]
Merge "Avoid signed integer overflow."

9 years agoMerge "Add hash table to link virtual methods"
Mathieu Chartier [Thu, 30 Oct 2014 22:24:49 +0000 (22:24 +0000)]
Merge "Add hash table to link virtual methods"

9 years agoMerge "Fix mixed signed/unsigned arithmetic in BitVector."
Ian Rogers [Thu, 30 Oct 2014 22:24:10 +0000 (22:24 +0000)]
Merge "Fix mixed signed/unsigned arithmetic in BitVector."

9 years agoAdd hash table to link virtual methods
Mathieu Chartier [Wed, 29 Oct 2014 01:23:02 +0000 (18:23 -0700)]
Add hash table to link virtual methods

Added a hash table for turning the O(m*n) lookup average case to
O(m+n) average case. There is probably still some room for improvement.

Before:
WaitTime: 2121
WaitTime: 2051
WaitTime: 2134
WaitTime: 2104
WaitTime: 2237
WaitTime: 2391
4.99% art::MethodNameAndSignatureComparator::HasSameNameAndSignature(art::mirror::ArtMethod)
1.65% art::ClassLinker::LinkVirtualMethods(art::Thread*, art::Handle<art::mirror::Class>)

After:
WaitTime: 2038
WaitTime: 1965
WaitTime: 1979
WaitTime: 1976
WaitTime: 1957
WaitTime: 2004
0.46% art::MethodNameAndSignatureComparator::HasSameNameAndSignature(art::mirror::ArtMethod*)
1.39% art::ClassLinker::LinkVirtualMethods(art::Thread*, art::Handle<art::mirror::Class>)

Bug: 18054905
Bug: 16828525

(cherry picked from commit a9ca9ac444ceb2cf5e8bd5c98c1ed47f2a9a94dd)

Change-Id: If847afb7194daa05ace38d15862e4b871dfffae1

9 years agoMerge "Avoid signed arithmetic overflow in UTF hash functions."
Ian Rogers [Thu, 30 Oct 2014 22:19:02 +0000 (22:19 +0000)]
Merge "Avoid signed arithmetic overflow in UTF hash functions."

9 years agoAvoid signed arithmetic overflow in UTF hash functions.
Ian Rogers [Thu, 30 Oct 2014 22:16:16 +0000 (15:16 -0700)]
Avoid signed arithmetic overflow in UTF hash functions.

Change-Id: I3485ef8445a6034661c1e75dc11ab9ad48884458

9 years agoFix mixed signed/unsigned arithmetic in BitVector.
Ian Rogers [Thu, 30 Oct 2014 22:13:22 +0000 (15:13 -0700)]
Fix mixed signed/unsigned arithmetic in BitVector.

Change-Id: I59c7f5a26e42689f77b067f4c73b086335e9273d

9 years agoAvoid signed integer overflow.
Ian Rogers [Thu, 30 Oct 2014 22:10:02 +0000 (15:10 -0700)]
Avoid signed integer overflow.

Caught by -ftrapv there is a benign integer overflow if a switch has the
value max int within it (as in run-test 095).

Change-Id: I86bb8ce2f9097cb367c031ec51d58d01b31313e2

9 years agoMerge "art: Fix classlinker and nopatchoat test for PIC case"
Igor Murashkin [Thu, 30 Oct 2014 21:40:18 +0000 (21:40 +0000)]
Merge "art: Fix classlinker and nopatchoat test for PIC case"

9 years agoart: Fix classlinker and nopatchoat test for PIC case
Igor Murashkin [Thu, 30 Oct 2014 02:45:42 +0000 (19:45 -0700)]
art: Fix classlinker and nopatchoat test for PIC case

ClassLinker should not be checking oat data begin and the patch delta
as part of the checksum verification (when PIC is enabled).

Also update nopatchoat test since it needs to be parametric on whether
PIC is used.

Bug: 18035729
Change-Id: I4eb184d22616230a7b8f0dd514d3416d0976b07e

9 years agoam d99865e1: Merge "Remove bogus compiler flag from libart-compiler."
Ian Rogers [Thu, 30 Oct 2014 18:59:32 +0000 (18:59 +0000)]
am d99865e1: Merge "Remove bogus compiler flag from libart-compiler."

* commit 'd99865e11d9fb88567da3e68163d275982fd6cba':
  Remove bogus compiler flag from libart-compiler.

9 years agoMerge "Remove bogus compiler flag from libart-compiler."
Ian Rogers [Thu, 30 Oct 2014 18:56:52 +0000 (18:56 +0000)]
Merge "Remove bogus compiler flag from libart-compiler."

9 years agoRemove bogus compiler flag from libart-compiler.
Ian Rogers [Thu, 30 Oct 2014 18:53:42 +0000 (11:53 -0700)]
Remove bogus compiler flag from libart-compiler.

Change-Id: I2e2c555cb80c745e3d9859b88f16491ea146b38f

9 years agoam a8825e4b: Merge "ARM: Generate mapping symbol to indicate thumb2 code"
Ian Rogers [Thu, 30 Oct 2014 18:41:13 +0000 (18:41 +0000)]
am a8825e4b: Merge "ARM: Generate  mapping symbol to indicate thumb2 code"

* commit 'a8825e4b38ae01fa77d255ca423ab2f2b77c6097':
  ARM: Generate $t mapping symbol to indicate thumb2 code

9 years agoam 263f20b7: Merge "Tidy and reduce ART library dependencies on the host."
Ian Rogers [Thu, 30 Oct 2014 18:36:49 +0000 (18:36 +0000)]
am 263f20b7: Merge "Tidy and reduce ART library dependencies on the host."

* commit '263f20b7a04b33f0e4b8f43b9a69ee9a1ddba564':
  Tidy and reduce ART library dependencies on the host.

9 years agoMerge "ARM: Generate $t mapping symbol to indicate thumb2 code"
Ian Rogers [Thu, 30 Oct 2014 18:36:14 +0000 (18:36 +0000)]
Merge "ARM: Generate $t mapping symbol to indicate thumb2 code"

9 years agoMerge "Tidy and reduce ART library dependencies on the host."
Ian Rogers [Thu, 30 Oct 2014 18:31:27 +0000 (18:31 +0000)]
Merge "Tidy and reduce ART library dependencies on the host."

9 years agoam 26dcecb0: Merge "Follow-up CL after hard float changes."
Nicolas Geoffray [Thu, 30 Oct 2014 18:24:00 +0000 (18:24 +0000)]
am 26dcecb0: Merge "Follow-up CL after hard float changes."

* commit '26dcecb0ef620fb225cd5dd39f6e41b07e34c83d':
  Follow-up CL after hard float changes.

9 years agoMerge "Follow-up CL after hard float changes."
Nicolas Geoffray [Thu, 30 Oct 2014 18:20:07 +0000 (18:20 +0000)]
Merge "Follow-up CL after hard float changes."

9 years agoTidy and reduce ART library dependencies on the host.
Ian Rogers [Thu, 30 Oct 2014 18:19:14 +0000 (11:19 -0700)]
Tidy and reduce ART library dependencies on the host.

Move to shared rather than static libraries. Avoids capture of all static
libraries library dependencies.

Change-Id: I2be96e92dad4ed1842d76b044745f2a2e15372eb

9 years agoam 29ce77f6: Merge "419 fails on optimizing/arm64."
Nicolas Geoffray [Thu, 30 Oct 2014 17:37:06 +0000 (17:37 +0000)]
am 29ce77f6: Merge "419 fails on optimizing/arm64."

* commit '29ce77f654412dbb5fb3d5949da4053952917101':
  419 fails on optimizing/arm64.

9 years agoMerge "419 fails on optimizing/arm64."
Nicolas Geoffray [Thu, 30 Oct 2014 17:33:51 +0000 (17:33 +0000)]
Merge "419 fails on optimizing/arm64."

9 years ago419 fails on optimizing/arm64.
Nicolas Geoffray [Thu, 30 Oct 2014 17:33:03 +0000 (17:33 +0000)]
419 fails on optimizing/arm64.

Change-Id: I323b53314198821b44829f4299449859163df82f

9 years agoam 2fba9d45: Merge "ART: Do not abort on most verifier failures"
Andreas Gampe [Thu, 30 Oct 2014 17:08:47 +0000 (17:08 +0000)]
am 2fba9d45: Merge "ART: Do not abort on most verifier failures"

* commit '2fba9d456f18c0c7042795ab5115f54eac9d1dc6':
  ART: Do not abort on most verifier failures

9 years agoam db32ffec: Merge "Fix for long parameter passed both in stack and register."
Nicolas Geoffray [Thu, 30 Oct 2014 17:08:46 +0000 (17:08 +0000)]
am db32ffec: Merge "Fix for long parameter passed both in stack and register."

* commit 'db32ffec0867d4eea801d021361c8b95015e1d1c':
  Fix for long parameter passed both in stack and register.

9 years agoMerge "ART: Do not abort on most verifier failures"
Andreas Gampe [Thu, 30 Oct 2014 17:08:03 +0000 (17:08 +0000)]
Merge "ART: Do not abort on most verifier failures"

9 years agoART: Do not abort on most verifier failures
Andreas Gampe [Tue, 28 Oct 2014 03:08:46 +0000 (20:08 -0700)]
ART: Do not abort on most verifier failures

Changes hard aborts to hard verifier failures, which rejects a
class instead of killing the process.

Bug: 17625962

(cherry picked from commit 8fa841aa1c02ff8e3e7caaa73ed5fe25f027d5d3)

Change-Id: Iba8e15676e13ea6dcd6e1e5d0484031d9ab52ae9

9 years agoMerge "Fix for long parameter passed both in stack and register."
Nicolas Geoffray [Thu, 30 Oct 2014 17:04:55 +0000 (17:04 +0000)]
Merge "Fix for long parameter passed both in stack and register."

9 years agoFix for long parameter passed both in stack and register.
Nicolas Geoffray [Thu, 30 Oct 2014 16:37:57 +0000 (16:37 +0000)]
Fix for long parameter passed both in stack and register.

Fix for long parameter passed both in stack and register
on 32bits architectures.
The move to hard float ABI makes it so that the
register index does not necessarily match the stack index anymore.

Change-Id: I26b483f68ac86d336b4a37d94c38b04917668659

9 years agoam d8e231c0: Merge "Update list of failing tests for arm64/optimizing."
Nicolas Geoffray [Thu, 30 Oct 2014 13:21:08 +0000 (13:21 +0000)]
am d8e231c0: Merge "Update list of failing tests for arm64/optimizing."

* commit 'd8e231c0f3f7349c89b2323af6313384353e4cc5':
  Update list of failing tests for arm64/optimizing.

9 years agoMerge "Update list of failing tests for arm64/optimizing."
Nicolas Geoffray [Thu, 30 Oct 2014 13:17:48 +0000 (13:17 +0000)]
Merge "Update list of failing tests for arm64/optimizing."

9 years agoam d59fae7c: Merge "Fix gtest dependencies."
Nicolas Geoffray [Thu, 30 Oct 2014 12:17:31 +0000 (12:17 +0000)]
am d59fae7c: Merge "Fix gtest dependencies."

* commit 'd59fae7c0bb8fd69397c5d987bcc439cdc0019cd':
  Fix gtest dependencies.

9 years agoMerge "Fix gtest dependencies."
Nicolas Geoffray [Thu, 30 Oct 2014 12:14:48 +0000 (12:14 +0000)]
Merge "Fix gtest dependencies."

9 years agoFix gtest dependencies.
Nicolas Geoffray [Thu, 30 Oct 2014 12:13:17 +0000 (12:13 +0000)]
Fix gtest dependencies.

Change-Id: I661f3b09e2ed8102ae262104f3784a8eb067a0b2

9 years agoUpdate list of failing tests for arm64/optimizing.
Nicolas Geoffray [Thu, 30 Oct 2014 10:54:03 +0000 (10:54 +0000)]
Update list of failing tests for arm64/optimizing.

Support for new opcodes in other backends led to new failures.

Change-Id: I4231869cd698ee412e9319eb6822f7e885160b19

9 years agoam b96fd84b: Merge "Another ART_TEST_ANDROID_ROOT fix."
Nicolas Geoffray [Thu, 30 Oct 2014 10:42:57 +0000 (10:42 +0000)]
am b96fd84b: Merge "Another ART_TEST_ANDROID_ROOT fix."

* commit 'b96fd84b8806c9670f04329cd531e97016c3eaa6':
  Another ART_TEST_ANDROID_ROOT fix.

9 years agoMerge "Another ART_TEST_ANDROID_ROOT fix."
Nicolas Geoffray [Thu, 30 Oct 2014 10:37:53 +0000 (10:37 +0000)]
Merge "Another ART_TEST_ANDROID_ROOT fix."

9 years agoam ab9f4fea: Merge "Also use Quick for target boot image."
Nicolas Geoffray [Thu, 30 Oct 2014 10:36:38 +0000 (10:36 +0000)]
am ab9f4fea: Merge "Also use Quick for target boot image."

* commit 'ab9f4feaf01d752923d7ca4f07bdcc7b31fba44f':
  Also use Quick for target boot image.

9 years agoAnother ART_TEST_ANDROID_ROOT fix.
Nicolas Geoffray [Wed, 29 Oct 2014 23:50:40 +0000 (23:50 +0000)]
Another ART_TEST_ANDROID_ROOT fix.

Some gtests use ANDROID_ROOT to locate things like core-libart.jar.

Change-Id: Ic929c15542e5c0bfef2181ba404f4adf0de28465

9 years agoam 1381b511: Merge "Opt compiler: Add ARM64 support for the Mul IR."
Nicolas Geoffray [Thu, 30 Oct 2014 10:33:10 +0000 (10:33 +0000)]
am 1381b511: Merge "Opt compiler: Add ARM64 support for the Mul IR."

* commit '1381b511cd390884ead7fe61b7fb6a977cb72b1a':
  Opt compiler: Add ARM64 support for the Mul IR.

9 years agoMerge "Also use Quick for target boot image."
Nicolas Geoffray [Thu, 30 Oct 2014 10:30:47 +0000 (10:30 +0000)]
Merge "Also use Quick for target boot image."