OSDN Git Service

android-x86/art.git
8 years agoRestore fallback behavior in the no-image stripped-dex case.
Richard Uhler [Mon, 4 Apr 2016 20:30:16 +0000 (13:30 -0700)]
Restore fallback behavior in the no-image stripped-dex case.

Add --strip-dex option to run-test to test this case.

Bug: 27599626

(cherry picked from commit 76f5cb6026b9c83bf00fd1007703503a327f704d)

Change-Id: I96bd2b013dd11ca1256f259181ea9c6087f16287

8 years agoAllow private methods in interfaces.
Alex Light [Tue, 12 Apr 2016 22:50:55 +0000 (15:50 -0700)]
Allow private methods in interfaces.

Private methods may be generated in interfaces during compilation of
some default methods.  Change the verifier to allow these methods.

Bug: 27999840

(cherry picked from commit b55f1ac873f9541f391625c13fe9129fbd38e74c)

Change-Id: Ib8120a8f6cb036021334d9af0ed78ae372974ecb

8 years agoAdd imgdiag support for diff against zygote
Mathieu Chartier [Fri, 8 Apr 2016 21:08:37 +0000 (14:08 -0700)]
Add imgdiag support for diff against zygote

Adds option --zygote-diff-pid. If this option is passed in then it
tries to differentiate objects that are private dirty by comparing
them against the zygote image contents if they are different from
the boot image contents.

Bug: 27906566

Change-Id: I6d214f73af5bf6de1f1a07f309065fc455cf7543

8 years agoMerge remote-tracking branch 'goog/master' into nyc-dev
Calin Juravle [Wed, 13 Apr 2016 13:50:42 +0000 (14:50 +0100)]
Merge remote-tracking branch 'goog/master' into nyc-dev

Bug: 28081559
Bug: 28065407
Bug: 27865109
Bug: 27856014
Bug: 27894376
Bug: 27998571
Bug: 27995065
Bug: 28036230

8 years agoMerge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp""" am: 6990775 am...
Bill Buzbee [Wed, 13 Apr 2016 13:32:18 +0000 (13:32 +0000)]
Merge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp""" am: 6990775 am: feb48f1
am: f57b6ac

* commit 'f57b6ac95c8436105638b779ddcdbaf17330d9a5':
  Revert "Revert "ART: Improve JitProfile perf in x86 mterp""

Change-Id: Id9a536627594a121829c8a366fa3b1731f50a010

8 years agoMerge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp""" am: 6990775
Bill Buzbee [Wed, 13 Apr 2016 13:28:59 +0000 (13:28 +0000)]
Merge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp""" am: 6990775
am: feb48f1

* commit 'feb48f11c422f63a8944db076739ab1b329aa3da':
  Revert "Revert "ART: Improve JitProfile perf in x86 mterp""

Change-Id: I32828b204ddca18db00aef30b91336f1215a8ca7

8 years agoMerge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp"""
Bill Buzbee [Wed, 13 Apr 2016 12:44:28 +0000 (12:44 +0000)]
Merge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp"""
am: 6990775

* commit '6990775e323cd9164d6cc10955a047b9d9f15f32':
  Revert "Revert "ART: Improve JitProfile perf in x86 mterp""

Change-Id: I4fa915fa29400dee54c5475fed1aea55d4f73ded

8 years agoMerge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp"""
Bill Buzbee [Wed, 13 Apr 2016 12:37:16 +0000 (12:37 +0000)]
Merge "Revert "Revert "ART: Improve JitProfile perf in x86 mterp"""

8 years agoMerge "Add option to tune sample collection based on thread sensitivity" am: 2c3b101...
Calin Juravle [Wed, 13 Apr 2016 11:57:02 +0000 (11:57 +0000)]
Merge "Add option to tune sample collection based on thread sensitivity" am: 2c3b101 am: a429ea7
am: c90ccec

* commit 'c90ccec90605034ab52f3dc068e967f4639dfc1a':
  Add option to tune sample collection based on thread sensitivity

Change-Id: I31a6c8265114ba8349f23aa171ea933771f9a6c6

8 years agoMerge "Add option to tune sample collection based on thread sensitivity" am: 2c3b101
Calin Juravle [Wed, 13 Apr 2016 11:53:49 +0000 (11:53 +0000)]
Merge "Add option to tune sample collection based on thread sensitivity" am: 2c3b101
am: a429ea7

* commit 'a429ea7b6039aff0fbc7ac31b1e314e459d9418f':
  Add option to tune sample collection based on thread sensitivity

Change-Id: Idb221810aa5834488f3057581a68154d7dcad0c6

8 years agoMerge "Add option to tune sample collection based on thread sensitivity"
Calin Juravle [Wed, 13 Apr 2016 11:50:26 +0000 (11:50 +0000)]
Merge "Add option to tune sample collection based on thread sensitivity"
am: 2c3b101

* commit '2c3b101dae43877cd99d346279cf148de3b7f4f5':
  Add option to tune sample collection based on thread sensitivity

Change-Id: I8d2fbefafd736615526470921ef0afe18ead3d6d

8 years agoMerge "Add option to tune sample collection based on thread sensitivity"
Calin Juravle [Wed, 13 Apr 2016 11:44:36 +0000 (11:44 +0000)]
Merge "Add option to tune sample collection based on thread sensitivity"

8 years agoAdd option to tune sample collection based on thread sensitivity
Calin Juravle [Thu, 7 Apr 2016 16:09:25 +0000 (17:09 +0100)]
Add option to tune sample collection based on thread sensitivity

Bug: 28065407
Bug: 27865109

Change-Id: Icdb89f8f8874a41c07e73185523d18e8956620d3

8 years agoMerge "Allocate code generators on the arena." am: 38e398b am: 78203b1
Vladimir Marko [Wed, 13 Apr 2016 10:50:50 +0000 (10:50 +0000)]
Merge "Allocate code generators on the arena." am: 38e398b am: 78203b1
am: 3e49f36

* commit '3e49f369e4b1c47a91e7d41ae8b2884fe3882633':
  Allocate code generators on the arena.

Change-Id: I3e78242f6016dcb2a0bf000345963c4dc8eb1aad

8 years agoMerge "Allocate code generators on the arena." am: 38e398b
Vladimir Marko [Wed, 13 Apr 2016 10:47:38 +0000 (10:47 +0000)]
Merge "Allocate code generators on the arena." am: 38e398b
am: 78203b1

* commit '78203b1d1dc0f8608500821fc28feacfc6e39fbd':
  Allocate code generators on the arena.

Change-Id: Ic76ad2f759284fe0b2251957997758b784507310

8 years agoMerge "Allocate code generators on the arena."
Vladimir Marko [Wed, 13 Apr 2016 10:44:22 +0000 (10:44 +0000)]
Merge "Allocate code generators on the arena."
am: 38e398b

* commit '38e398b7e1cb82c26838ef78dd71a7bf93e58995':
  Allocate code generators on the arena.

Change-Id: I05d80fbfaa52439dc034f0078d10e2912c510d82

8 years agoMerge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."...
Hiroshi Yamauchi [Wed, 13 Apr 2016 10:44:22 +0000 (10:44 +0000)]
Merge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."" am: f9eed16 am: 1151e83
am: 03d9dff

* commit '03d9dffaa3ca8fbaf17d31455335cbd50720f8e6':
  Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."

Change-Id: I17ec4ea45ed102d7e7434244bad2451d3e14960a

8 years agoMerge "Allocate code generators on the arena."
Vladimir Marko [Wed, 13 Apr 2016 10:41:20 +0000 (10:41 +0000)]
Merge "Allocate code generators on the arena."

8 years agoMerge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."...
Treehugger Robot [Wed, 13 Apr 2016 10:41:03 +0000 (10:41 +0000)]
Merge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."" am: f9eed16
am: 1151e83

* commit '1151e83a14588cba9e0208331a816676cfb98acc':
  Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."

Change-Id: I7fbe052bd658d904152641ca1960441b418a1571

8 years agoMerge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC.""
Hiroshi Yamauchi [Wed, 13 Apr 2016 10:37:52 +0000 (10:37 +0000)]
Merge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC.""
am: f9eed16

* commit 'f9eed16e175f8c7cb37d878acc772d653b07101e':
  Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."

Change-Id: I98dc56af38ae6eecc9711866fcc2170c4f33dd23

8 years agoMerge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC.""
Treehugger Robot [Wed, 13 Apr 2016 10:26:35 +0000 (10:26 +0000)]
Merge "Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC.""

8 years agoMerge "ART: Simplify unstarted-runtime ceil and floor" am: 4af8fac am: a199630
Andreas Gampe [Wed, 13 Apr 2016 04:37:12 +0000 (04:37 +0000)]
Merge "ART: Simplify unstarted-runtime ceil and floor" am: 4af8fac am: a199630
am: 1e00d6a

* commit '1e00d6aab4affb24b9bc2e48d9084bc75f5a3029':
  ART: Simplify unstarted-runtime ceil and floor

Change-Id: I361c7d72a4ae649011b424e40db808265d46da95

8 years agoMerge "ART: Simplify unstarted-runtime ceil and floor" am: 4af8fac
Andreas Gampe [Wed, 13 Apr 2016 04:34:16 +0000 (04:34 +0000)]
Merge "ART: Simplify unstarted-runtime ceil and floor" am: 4af8fac
am: a199630

* commit 'a19963071beef16b3b3efce6c5038bfe234b5e19':
  ART: Simplify unstarted-runtime ceil and floor

Change-Id: Idf80cab0030abcdd82277d6d840e42ce722a19d1

8 years agoMerge "ART: Simplify unstarted-runtime ceil and floor"
Andreas Gampe [Wed, 13 Apr 2016 04:31:17 +0000 (04:31 +0000)]
Merge "ART: Simplify unstarted-runtime ceil and floor"
am: 4af8fac

* commit '4af8fac07a5338c84c60d341e6dfcae82abaf73b':
  ART: Simplify unstarted-runtime ceil and floor

Change-Id: Id31864d74756a5a1d8153483f080ee769666e648

8 years agoMerge "ART: Simplify unstarted-runtime ceil and floor"
Andreas Gampe [Wed, 13 Apr 2016 04:21:53 +0000 (04:21 +0000)]
Merge "ART: Simplify unstarted-runtime ceil and floor"

8 years agoART: Simplify unstarted-runtime ceil and floor
Andreas Gampe [Wed, 13 Apr 2016 01:07:36 +0000 (18:07 -0700)]
ART: Simplify unstarted-runtime ceil and floor

Just use the C functions like libcore does. Add tests.

Bug: 28132336
Change-Id: Ic5f469e8504c9f2b7756280558fd1610ed8015ba

8 years agoMerge "Fix InsertDexFileInToClassLoader to handle null class loaders" am: e4010c6...
Mathieu Chartier [Wed, 13 Apr 2016 01:48:33 +0000 (01:48 +0000)]
Merge "Fix InsertDexFileInToClassLoader to handle null class loaders" am: e4010c6 am: 8a81b94
am: 4be9b2e

* commit '4be9b2e4fb7a8c83b83a88fde336f113f77df471':
  Fix InsertDexFileInToClassLoader to handle null class loaders

Change-Id: I1f91d6009cdc84920b08fe69e62fffca5b9ba08b

8 years agoFix InsertDexFileInToClassLoader to handle null class loaders am: f2bf9d6
Mathieu Chartier [Wed, 13 Apr 2016 01:48:32 +0000 (01:48 +0000)]
Fix InsertDexFileInToClassLoader to handle null class loaders am: f2bf9d6
am: a5543be

* commit 'a5543bec09498e9c3b1c5293a20d6b0f087e2956':
  Fix InsertDexFileInToClassLoader to handle null class loaders

Change-Id: I75a340a73ebe674fe4e346dee9e7eda5865a53c8

8 years agoMerge "Fix InsertDexFileInToClassLoader to handle null class loaders" am: e4010c6
Mathieu Chartier [Wed, 13 Apr 2016 01:28:24 +0000 (01:28 +0000)]
Merge "Fix InsertDexFileInToClassLoader to handle null class loaders" am: e4010c6
am: 8a81b94

* commit '8a81b947208f74d0a863077670bad1ba378681f5':
  Fix InsertDexFileInToClassLoader to handle null class loaders

Change-Id: Ib70bcabeff671bffef949c51dc6039dd553e3470

8 years agoMerge "Fix InsertDexFileInToClassLoader to handle null class loaders"
Mathieu Chartier [Wed, 13 Apr 2016 01:25:32 +0000 (01:25 +0000)]
Merge "Fix InsertDexFileInToClassLoader to handle null class loaders"
am: e4010c6

* commit 'e4010c6a1e838432758007906cae6359c0f33c9d':
  Fix InsertDexFileInToClassLoader to handle null class loaders

Change-Id: Id05da730afbde9f6e7aa657f7a528429e3a701ca

8 years agoRevert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."
Hiroshi Yamauchi [Wed, 13 Apr 2016 01:22:29 +0000 (18:22 -0700)]
Revert "Ignore libcore.java.lang.OldSystemTest#test_gc failures with CC."

This reverts commit e693ba17e8b758a1894dd1b53f733471afc5976d.

Bug: 26155567

8 years agoMerge "Fix InsertDexFileInToClassLoader to handle null class loaders"
Mathieu Chartier [Wed, 13 Apr 2016 01:19:08 +0000 (01:19 +0000)]
Merge "Fix InsertDexFileInToClassLoader to handle null class loaders"

8 years agoFix InsertDexFileInToClassLoader to handle null class loaders
Mathieu Chartier [Wed, 13 Apr 2016 01:07:16 +0000 (01:07 +0000)]
Fix InsertDexFileInToClassLoader to handle null class loaders
am: f2bf9d6

* commit 'f2bf9d640e37b72be8b4f6016d4aa95a0e27b7b4':
  Fix InsertDexFileInToClassLoader to handle null class loaders

Change-Id: I9c0e4853e891c3d7de4c75303e717c0152104204

8 years agoFix InsertDexFileInToClassLoader to handle null class loaders
Mathieu Chartier [Tue, 12 Apr 2016 23:54:48 +0000 (16:54 -0700)]
Fix InsertDexFileInToClassLoader to handle null class loaders

Maybe used by legacy apps. This functionality is planned for
deprecation.

Bug: 27954959

(cherry picked from commit f2bf9d640e37b72be8b4f6016d4aa95a0e27b7b4)

Change-Id: I1ae2cf1e33f2f1b237a41c8cc50d2a814a52a95a

8 years agoFix InsertDexFileInToClassLoader to handle null class loaders
Mathieu Chartier [Tue, 12 Apr 2016 23:54:48 +0000 (16:54 -0700)]
Fix InsertDexFileInToClassLoader to handle null class loaders

Maybe used by legacy apps. This functionality is planned for
deprecation.

Bug: 27954959

Change-Id: I20a3f9de2ca743b2ba2a26d591c09624ead4127e

8 years agoART: Add Makefile target for boot image am: 3052db1
Andreas Gampe [Tue, 12 Apr 2016 23:03:12 +0000 (23:03 +0000)]
ART: Add Makefile target for boot image am: 3052db1
am: f063746

* commit 'f06374656967bc75cd2c6312a5ca2b29c17230d3':
  ART: Add Makefile target for boot image

Change-Id: I6ead17875cd8d0f07bdf99de632b265e6420a557

8 years agoMerge "ART: Flag to fail thread creation" am: e3ccf74 am: 9b937e7
Andreas Gampe [Tue, 12 Apr 2016 23:03:12 +0000 (23:03 +0000)]
Merge "ART: Flag to fail thread creation" am: e3ccf74 am: 9b937e7
am: 1d488f1

* commit '1d488f14deb2421335597f7abcddcc8b2acbedb3':
  ART: Flag to fail thread creation

Change-Id: I0f8edbe605ce39bbce02cc96c8d6f64cba7daeb0

8 years agoART: Add Makefile target for boot image
Andreas Gampe [Tue, 12 Apr 2016 22:49:34 +0000 (22:49 +0000)]
ART: Add Makefile target for boot image
am: 3052db1

* commit '3052db1b6cf45b5c3ba6d5adafb47ebf3545590a':
  ART: Add Makefile target for boot image

Change-Id: I247a44d8734e847d36232563ba210c2c54f70ec6

8 years agoMerge "ART: Flag to fail thread creation" am: e3ccf74
Andreas Gampe [Tue, 12 Apr 2016 22:38:52 +0000 (22:38 +0000)]
Merge "ART: Flag to fail thread creation" am: e3ccf74
am: 9b937e7

* commit '9b937e79312edd504fe2248aafcc633f9a0e32a5':
  ART: Flag to fail thread creation

Change-Id: Ib53b557f861b56fc275681e9a3de0e3f3c6ab9ac

8 years agoMerge "ART: Flag to fail thread creation"
Andreas Gampe [Tue, 12 Apr 2016 22:35:34 +0000 (22:35 +0000)]
Merge "ART: Flag to fail thread creation"
am: e3ccf74

* commit 'e3ccf744a6f7e4946d1d813d45d5dab20f0759d3':
  ART: Flag to fail thread creation

Change-Id: Iee43243ec684b0ea6b303c45e04cdcdafc59ebe0

8 years agoMerge "ART: Flag to fail thread creation"
Andreas Gampe [Tue, 12 Apr 2016 22:27:18 +0000 (22:27 +0000)]
Merge "ART: Flag to fail thread creation"

8 years agoMerge "ART: Flag to fail thread creation" into nyc-dev am: 4e2d57e
Andreas Gampe [Tue, 12 Apr 2016 22:21:14 +0000 (22:21 +0000)]
Merge "ART: Flag to fail thread creation" into nyc-dev am: 4e2d57e
am: c9ef0e4

* commit 'c9ef0e4f25387d01a529eb0c37f008c84bfd8dd1':
  ART: Flag to fail thread creation

Change-Id: Iff97e0f0b2b54d9ccbc77b602cc9e375e0b11a54

8 years agoMerge "ART: Flag to fail thread creation" into nyc-dev
Andreas Gampe [Tue, 12 Apr 2016 22:15:45 +0000 (22:15 +0000)]
Merge "ART: Flag to fail thread creation" into nyc-dev
am: 4e2d57e

* commit '4e2d57e608b55f0e8e00792da6aae728615ad54b':
  ART: Flag to fail thread creation

Change-Id: Ic18797f8e3852fd4ae87fd2f1e1fb8d009ec0edb

8 years agoART: Add Makefile target for boot image
Andreas Gampe [Mon, 11 Apr 2016 18:57:18 +0000 (11:57 -0700)]
ART: Add Makefile target for boot image

Add a phony Makefile target that depends on the dexopted boot image.
This allows to test out changes easily, for example, for compile-time
initialization:

 m art-boot-image ART_BOOT_IMAGE_EXTRA_ARGS=--dump-init-failures=fails.txt

Bug: 27265238

(cherry picked from commit fad48e747c28836bc0fc84b9709df554be8b344d)

Change-Id: I9d54c562a2e623b23b7c1dea9cdbe303786c95dd

8 years agoART: Flag to fail thread creation
Andreas Gampe [Mon, 11 Apr 2016 15:42:26 +0000 (08:42 -0700)]
ART: Flag to fail thread creation

Add a flag to mark when the zygote is not allowed to create threads.

Bug: 27248115
Bug: 28149511

(cherry picked from commit 415d8070e37c20dfb7e6dc37e74fdb5fffc2022e)

Change-Id: I1dc3620d9e7d0054c672b993d89459fc4b353dfc

8 years agoMerge "ART: Add Makefile target for boot image" am: 336dd6a am: 81ec19f
Andreas Gampe [Tue, 12 Apr 2016 21:08:43 +0000 (21:08 +0000)]
Merge "ART: Add Makefile target for boot image" am: 336dd6a am: 81ec19f
am: b885060

* commit 'b885060fac18b543b8d33f6b19aaffb587604541':
  ART: Add Makefile target for boot image

Change-Id: Ibe479fdb03985b5fc9442783ee714a884ca586c6

8 years agoMerge "ART: Flag to fail thread creation" into nyc-dev
Andreas Gampe [Tue, 12 Apr 2016 21:05:00 +0000 (21:05 +0000)]
Merge "ART: Flag to fail thread creation" into nyc-dev

8 years agoMerge "ART: Add Makefile target for boot image" am: 336dd6a
Andreas Gampe [Tue, 12 Apr 2016 21:02:31 +0000 (21:02 +0000)]
Merge "ART: Add Makefile target for boot image" am: 336dd6a
am: 81ec19f

* commit '81ec19ff5760fbf14e0b362e8e420b63104901e6':
  ART: Add Makefile target for boot image

Change-Id: I0e591df7e79305b24e57e72bc3cc13d820fe4ab2

8 years agoMerge "ART: Add Makefile target for boot image"
Andreas Gampe [Tue, 12 Apr 2016 20:56:02 +0000 (20:56 +0000)]
Merge "ART: Add Makefile target for boot image"
am: 336dd6a

* commit '336dd6a0989dafb356be5f689028d983b0931335':
  ART: Add Makefile target for boot image

Change-Id: Ia85d547167ccd25ba9ab350ed1829dbec7455f12

8 years agoMerge "ART: Add Makefile target for boot image"
Andreas Gampe [Tue, 12 Apr 2016 20:46:41 +0000 (20:46 +0000)]
Merge "ART: Add Makefile target for boot image"

8 years agoART: Flag to fail thread creation
Andreas Gampe [Mon, 11 Apr 2016 15:42:26 +0000 (08:42 -0700)]
ART: Flag to fail thread creation

Add a flag to mark when the zygote is not allowed to create threads.

Bug: 27248115
Bug: 28149511
Change-Id: I1dc3620d9e7d0054c672b993d89459fc4b353dfc

8 years agoAllocate code generators on the arena.
Vladimir Marko [Tue, 12 Apr 2016 17:51:43 +0000 (18:51 +0100)]
Allocate code generators on the arena.

Change-Id: If8cf0ee43711f6e13171443e3c057ff370ccfbaa

8 years agoMerge "Assembly region TLAB allocation fast path for arm64." am: ec9a828 am: 227eeb9
Hiroshi Yamauchi [Tue, 12 Apr 2016 17:51:37 +0000 (17:51 +0000)]
Merge "Assembly region TLAB allocation fast path for arm64." am: ec9a828 am: 227eeb9
am: 9ddad6a

* commit '9ddad6a7a28af3bbc42ba6f7fb8bacb6e4e8dab0':
  Assembly region TLAB allocation fast path for arm64.

Change-Id: I91391b369d8af9ab5cd9680fbb911b20dccfa163

8 years agoMerge "Assembly region TLAB allocation fast path for arm64." am: ec9a828
Hiroshi Yamauchi [Tue, 12 Apr 2016 17:45:51 +0000 (17:45 +0000)]
Merge "Assembly region TLAB allocation fast path for arm64." am: ec9a828
am: 227eeb9

* commit '227eeb9d60a3550f289ef42fbe880496256ec186':
  Assembly region TLAB allocation fast path for arm64.

Change-Id: I0936b91db42d9c31282ef164eadf7515e2979bb3

8 years agoMerge "Assembly region TLAB allocation fast path for arm64."
Hiroshi Yamauchi [Tue, 12 Apr 2016 17:40:10 +0000 (17:40 +0000)]
Merge "Assembly region TLAB allocation fast path for arm64."
am: ec9a828

* commit 'ec9a828fa4a4638d2d17124c4fa835f15c7c5589':
  Assembly region TLAB allocation fast path for arm64.

Change-Id: I2a249f77abbe4beafedec43b0f51ac23994f81e3

8 years agoMerge "Assembly region TLAB allocation fast path for arm64."
Hiroshi Yamauchi [Tue, 12 Apr 2016 17:33:34 +0000 (17:33 +0000)]
Merge "Assembly region TLAB allocation fast path for arm64."

8 years agoART: Add Makefile target for boot image
Andreas Gampe [Mon, 11 Apr 2016 18:57:18 +0000 (11:57 -0700)]
ART: Add Makefile target for boot image

Add a phony Makefile target that depends on the dexopted boot image.
This allows to test out changes easily, for example, for compile-time
initialization:

 m art-boot-image ART_BOOT_IMAGE_EXTRA_ARGS=--dump-init-failures=fails.txt

Bug: 27265238
Change-Id: I9d54c562a2e623b23b7c1dea9cdbe303786c95dd

8 years agoMerge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics." am: 934c5b6 am...
Roland Levillain [Tue, 12 Apr 2016 16:33:44 +0000 (16:33 +0000)]
Merge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics." am: 934c5b6 am: 706dd39
am: c6394d7

* commit 'c6394d7f06823bcb950cc266258c96ea3a57ef17':
  Small changes in ARM and x86-64 SystemArrayCopy intrinsics.

Change-Id: I2066297085e85daf7aeef2b82ebda3bab2757e30

8 years agoMerge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics." am: 934c5b6
Roland Levillain [Tue, 12 Apr 2016 16:28:22 +0000 (16:28 +0000)]
Merge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics." am: 934c5b6
am: 706dd39

* commit '706dd395a4b3dd44d325da5d56fe82679c55dd3c':
  Small changes in ARM and x86-64 SystemArrayCopy intrinsics.

Change-Id: I59522d3457e0973590681b2f3cee001e70bbc606

8 years agoMerge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics."
Roland Levillain [Tue, 12 Apr 2016 16:23:04 +0000 (16:23 +0000)]
Merge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics."
am: 934c5b6

* commit '934c5b69b1e78e22cd242c692f9ae4606799af31':
  Small changes in ARM and x86-64 SystemArrayCopy intrinsics.

Change-Id: I51c68d5fc2d8a9674f327dabcf9fb7636a0efc27

8 years agoMerge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics."
Roland Levillain [Tue, 12 Apr 2016 16:18:08 +0000 (16:18 +0000)]
Merge "Small changes in ARM and x86-64 SystemArrayCopy intrinsics."

8 years agoSmall changes in ARM and x86-64 SystemArrayCopy intrinsics.
Roland Levillain [Tue, 12 Apr 2016 14:42:57 +0000 (15:42 +0100)]
Small changes in ARM and x86-64 SystemArrayCopy intrinsics.

Have these intrinsics share a more uniform style with the
ARM64 SystemArrayCopy intrinsic.

Also make some changes/improvements in:
- art::IntrinsicOptimizations
- art::arm64::GenSystemArrayCopyAddresses

Change-Id: Ieeb224795229580f8e5f7219c586d04786d8c705

8 years agoMerge "ART: Speed up HGraph::PopulateIrreducibleRecursive" am: 62358ed am: a9b3479
David Brazdil [Tue, 12 Apr 2016 14:39:21 +0000 (14:39 +0000)]
Merge "ART: Speed up HGraph::PopulateIrreducibleRecursive" am: 62358ed am: a9b3479
am: 1d9eb32

* commit '1d9eb32f8abf939bc9c5eac217469a8c132f4e05':
  ART: Speed up HGraph::PopulateIrreducibleRecursive

Change-Id: Ic741232c2db385245ca43a481002d370c7157f32

8 years agoMerge "ART: Speed up HGraph::PopulateIrreducibleRecursive" am: 62358ed
David Brazdil [Tue, 12 Apr 2016 14:33:45 +0000 (14:33 +0000)]
Merge "ART: Speed up HGraph::PopulateIrreducibleRecursive" am: 62358ed
am: a9b3479

* commit 'a9b3479f1c6312a5595c2fdeae2fe6e0ba9686b0':
  ART: Speed up HGraph::PopulateIrreducibleRecursive

Change-Id: Ia62b071c08b3cfd9a20681b0ae86c13b2a7e9a92

8 years agoMerge "ART: Speed up HGraph::PopulateIrreducibleRecursive"
David Brazdil [Tue, 12 Apr 2016 14:28:12 +0000 (14:28 +0000)]
Merge "ART: Speed up HGraph::PopulateIrreducibleRecursive"
am: 62358ed

* commit '62358ed8377fd14fd9890b54c09f927ce51fc443':
  ART: Speed up HGraph::PopulateIrreducibleRecursive

Change-Id: I56543b65bbb1ef6dcaf4fd336596e80380981956

8 years agoMerge "ART: Speed up HGraph::PopulateIrreducibleRecursive"
David Brazdil [Tue, 12 Apr 2016 14:19:33 +0000 (14:19 +0000)]
Merge "ART: Speed up HGraph::PopulateIrreducibleRecursive"

8 years agoART: Speed up HGraph::PopulateIrreducibleRecursive
David Brazdil [Tue, 5 Apr 2016 16:15:19 +0000 (17:15 +0100)]
ART: Speed up HGraph::PopulateIrreducibleRecursive

Populating an irreducible loop can potentially traverse all possible
paths through the HGraph, leading to an exponential algorithm.
This patch adds a bit vector of nodes whose membership in the loop
has been decided and need not be revisited again.

Bug: 27856014
Change-Id: I3696f08c846e6f40e5de44cb771811bac7e3e08a

8 years agoMerge "Remove recursive ALWAYS_INLINE" am: 8eec0bb am: 51207ad
Goran Jakovljevic [Tue, 12 Apr 2016 14:17:05 +0000 (14:17 +0000)]
Merge "Remove recursive ALWAYS_INLINE" am: 8eec0bb am: 51207ad
am: b00cfef

* commit 'b00cfef007774bb4c1efc64c1605b24c2ffe3d91':
  Remove recursive ALWAYS_INLINE

Change-Id: I526d8c973d3e85f067d429390017db790602aada

8 years agoMerge "Remove recursive ALWAYS_INLINE" am: 8eec0bb
Vladimir Marko [Tue, 12 Apr 2016 14:11:30 +0000 (14:11 +0000)]
Merge "Remove recursive ALWAYS_INLINE" am: 8eec0bb
am: 51207ad

* commit '51207ad76601961451eb4e9c8c7177edad5eda90':
  Remove recursive ALWAYS_INLINE

Change-Id: Ifb13bfcd32ce2e13e3314592c4b5a3ff8a4573ab

8 years agoMerge "Remove recursive ALWAYS_INLINE"
Goran Jakovljevic [Tue, 12 Apr 2016 14:05:56 +0000 (14:05 +0000)]
Merge "Remove recursive ALWAYS_INLINE"
am: 8eec0bb

* commit '8eec0bbb10dd2909aeb973ee5799e9f736bf3fc3':
  Remove recursive ALWAYS_INLINE

Change-Id: If8312283a79385f37de0b955e0633b3a314b29cd

8 years agoMerge "unstarted_runtime: add cutout for Math.floor" am: b2880a9 am: 416f1db
Sergio Giro [Tue, 12 Apr 2016 14:00:19 +0000 (14:00 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor" am: b2880a9 am: 416f1db
am: 0719377

* commit '0719377a3cd20b180a08d99228ed9f2170c310c3':
  unstarted_runtime: add cutout for Math.floor

Change-Id: I7f4815dc60853e5d3d2c6a81620694a6563198d0

8 years agoMerge "Remove recursive ALWAYS_INLINE"
Vladimir Marko [Tue, 12 Apr 2016 13:58:51 +0000 (13:58 +0000)]
Merge "Remove recursive ALWAYS_INLINE"

8 years agoMerge "unstarted_runtime: add cutout for Math.floor" am: b2880a9
Sergio Giro [Tue, 12 Apr 2016 13:54:47 +0000 (13:54 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor" am: b2880a9
am: 416f1db

* commit '416f1db66fc5366e09518a2e53b9c9c7f61a0f4b':
  unstarted_runtime: add cutout for Math.floor

Change-Id: I911f568f1671e6572231ef4d1551f77734dc886c

8 years agoMerge "unstarted_runtime: add cutout for Math.floor"
Sergio Giro [Tue, 12 Apr 2016 13:49:11 +0000 (13:49 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor"
am: b2880a9

* commit 'b2880a9c743e433ddaede6bb54911a4b6483ee0a':
  unstarted_runtime: add cutout for Math.floor

Change-Id: I7ca1d09fab18f1a1aa4a1a790f597e6ef464eb7c

8 years agoMerge "unstarted_runtime: add cutout for Math.floor"
Sergio Giro [Tue, 12 Apr 2016 13:39:24 +0000 (13:39 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor"

8 years agounstarted_runtime: add cutout for Math.floor
Sergio Giro [Mon, 11 Apr 2016 19:49:20 +0000 (20:49 +0100)]
unstarted_runtime: add cutout for Math.floor

Needed in order to make BouncyCastleProvider initializable in
compile time

(cherry picked from commit a8908ef14cf2d2e0d05e41e319da5d6909325ae2)
Bug: 28108158

Change-Id: Id6b4e3d4dde45354562603f41134d8d21da2b423

8 years agoRevert "Update expectations for 031-class-attributes." am: 26e818d
Narayan Kamath [Tue, 12 Apr 2016 13:21:20 +0000 (13:21 +0000)]
Revert "Update expectations for 031-class-attributes." am: 26e818d
am: 269374a

* commit '269374a023acf1af80ea45b99c7d1754a36e80f1':
  Revert "Update expectations for 031-class-attributes."

Change-Id: I5fc97c2f85e93fa86826d74ee7d06faa800a3dc4

8 years agoRevert "Update expectations for 031-class-attributes."
Narayan Kamath [Tue, 12 Apr 2016 13:15:44 +0000 (13:15 +0000)]
Revert "Update expectations for 031-class-attributes."
am: 26e818d

* commit '26e818d520e8af9f1355a0eda6b111d741411210':
  Revert "Update expectations for 031-class-attributes."

Change-Id: I70950c685bdbb03f6815c2f65faeec06950b2991

8 years agoMerge "Revert "Update expectations for 031-class-attributes."" am: 04c2b2d am: 5998ef9
Narayan Kamath [Tue, 12 Apr 2016 13:10:13 +0000 (13:10 +0000)]
Merge "Revert "Update expectations for 031-class-attributes."" am: 04c2b2d am: 5998ef9
am: 27a518a

* commit '27a518a2ac553c80df20cdc823d1d3878e54feea':
  Revert "Update expectations for 031-class-attributes."

Change-Id: I76723b271f5715a8e61f3336b9046af33d2b194b

8 years agoRevert "Update expectations for 031-class-attributes."
Narayan Kamath [Tue, 12 Apr 2016 12:38:09 +0000 (13:38 +0100)]
Revert "Update expectations for 031-class-attributes."

This reverts commit 32580ebd54bfeef62d5769439d336ca33f5592b0.

The original commit tracked OpenJDK behaviour, which we've decided
to revert because several apps depend on the value of Package.toString.

bug: 28057303

(cherry picked from commit ae4904905f10997f99a42310785b8f33625e20e9)

Change-Id: If03b91aab42dfaa9c838434b9a28f73cd970e34b

8 years agoMerge "Revert "Update expectations for 031-class-attributes."" am: 04c2b2d
Narayan Kamath [Tue, 12 Apr 2016 13:04:36 +0000 (13:04 +0000)]
Merge "Revert "Update expectations for 031-class-attributes."" am: 04c2b2d
am: 5998ef9

* commit '5998ef9fbf032e69ea7811282c680c2771066928':
  Revert "Update expectations for 031-class-attributes."

Change-Id: I385b76a780f33ac0c79a9967525227ac55848139

8 years agoMerge "Revert "Update expectations for 031-class-attributes.""
Narayan Kamath [Tue, 12 Apr 2016 12:59:00 +0000 (12:59 +0000)]
Merge "Revert "Update expectations for 031-class-attributes.""
am: 04c2b2d

* commit '04c2b2de69460d41e0c39c1f7d9fb77376c3aa8b':
  Revert "Update expectations for 031-class-attributes."

Change-Id: I38b30b15397b0c5515a02d55a05808f75e70fd68

8 years agoMerge "Revert "Update expectations for 031-class-attributes.""
Narayan Kamath [Tue, 12 Apr 2016 12:52:34 +0000 (12:52 +0000)]
Merge "Revert "Update expectations for 031-class-attributes.""

8 years agoRevert "Update expectations for 031-class-attributes."
Narayan Kamath [Tue, 12 Apr 2016 12:38:09 +0000 (13:38 +0100)]
Revert "Update expectations for 031-class-attributes."

This reverts commit 32580ebd54bfeef62d5769439d336ca33f5592b0.

The original commit tracked OpenJDK behaviour, which we've decided
to revert because several apps depend on the value of Package.toString.

bug: 28057303

8 years agoRemove recursive ALWAYS_INLINE
Goran Jakovljevic [Tue, 12 Apr 2016 11:11:16 +0000 (13:11 +0200)]
Remove recursive ALWAYS_INLINE

GCC (mips32 Buildbot) is complaining about recursive inlining.

Clean up after
    https://android-review.googlesource.com/#/c/214918/.

Change-Id: I221c53c32403e5e433e30cfee7b2ae36680f39e6

8 years agoMerge "unstarted_runtime: add cutout for Math.floor" into nyc-dev am: 0fc5d4a
Sergio Giro [Tue, 12 Apr 2016 10:58:55 +0000 (10:58 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor" into nyc-dev am: 0fc5d4a
am: 89d50c9

* commit '89d50c9f8e6296bfaac855ca62f052c8a4462c1d':
  unstarted_runtime: add cutout for Math.floor

Change-Id: If31e54571f450abfde7ef26ebd328132a4442424

8 years agoMerge "unstarted_runtime: add cutout for Math.floor" into nyc-dev
Sergio Giro [Tue, 12 Apr 2016 10:53:28 +0000 (10:53 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor" into nyc-dev
am: 0fc5d4a

* commit '0fc5d4ac0c4a099546a445a09de54f2b29c27637':
  unstarted_runtime: add cutout for Math.floor

Change-Id: I0059c34e5cd6450dc2a6e2ea08b0a977f6a94e7c

8 years agoMerge "unstarted_runtime: add cutout for Math.floor" into nyc-dev
Sergio Giro [Tue, 12 Apr 2016 10:40:04 +0000 (10:40 +0000)]
Merge "unstarted_runtime: add cutout for Math.floor" into nyc-dev

8 years agoMerge changes from topic \'image_layout\' am: 780b461 am: 66dfb68
Mathieu Chartier [Tue, 12 Apr 2016 02:46:27 +0000 (02:46 +0000)]
Merge changes from topic \'image_layout\' am: 780b461 am: 66dfb68
am: b35a1ec

* commit 'b35a1eca78810877f0d098b54512fac0a44049c4':
  Fix relocate in place to handle arbitrary app image layout
  Revert "Revert "Reduce dirty image pages by improving binning""
  Revert "Reduce dirty image pages by improving binning"
  Reduce dirty image pages by improving binning

Change-Id: I81ec2e0c0d1df549b856f9c879ec40390c1f3dec

8 years agoMerge changes from topic \'image_layout\' am: 780b461
Mathieu Chartier [Tue, 12 Apr 2016 02:41:23 +0000 (02:41 +0000)]
Merge changes from topic \'image_layout\' am: 780b461
am: 66dfb68

* commit '66dfb68a3413515a9deceaa573e9909582335394':
  Fix relocate in place to handle arbitrary app image layout
  Revert "Revert "Reduce dirty image pages by improving binning""
  Revert "Reduce dirty image pages by improving binning"
  Reduce dirty image pages by improving binning

Change-Id: I5e9f46478833dd434467ac3509d6f3049b039e06

8 years agoMerge changes from topic \'image_layout\'
Mathieu Chartier [Tue, 12 Apr 2016 02:36:26 +0000 (02:36 +0000)]
Merge changes from topic \'image_layout\'
am: 780b461

* commit '780b46126af0b4239ff5a3a88f347548d960bbe4':
  Fix relocate in place to handle arbitrary app image layout
  Revert "Revert "Reduce dirty image pages by improving binning""
  Revert "Reduce dirty image pages by improving binning"
  Reduce dirty image pages by improving binning

Change-Id: I9e40aa3e4465c297bd74f825e6c21d1e3f5372d3

8 years agoMerge changes from topic 'image_layout'
Mathieu Chartier [Tue, 12 Apr 2016 02:23:10 +0000 (02:23 +0000)]
Merge changes from topic 'image_layout'

* changes:
  Fix relocate in place to handle arbitrary app image layout
  Revert "Revert "Reduce dirty image pages by improving binning""
  Revert "Reduce dirty image pages by improving binning"
  Reduce dirty image pages by improving binning

8 years agoFix relocate in place to handle arbitrary app image layout
Mathieu Chartier [Mon, 11 Apr 2016 19:03:48 +0000 (12:03 -0700)]
Fix relocate in place to handle arbitrary app image layout

Previously the relocation had bugs where it would not work correctly
if the iftable was after the class since the object arrays would not
yet be updated to be the relocated address when we went through them
to fixup the ArtMethod pointers.

Also fixes a bug where the superclass of a class could not be
updated when we walk through it for visiting instance fields of
large objects.

Changed RelocateInPlace to use a simplier single pass approach.

Bug: 27906566
Bug: 22858531

(cherry picked from commit 564289c753cbe3521f9523b350bd713c1fe2fbd4)

Change-Id: I97affab6ff353dfdc4d1bf31df69ceb96a0c7a1a

8 years agoRevert "Revert "Reduce dirty image pages by improving binning""
Mathieu Chartier [Sat, 9 Apr 2016 02:01:05 +0000 (19:01 -0700)]
Revert "Revert "Reduce dirty image pages by improving binning""

This reverts commit 8ace610a222892f7b700e4f95e50fa6315ab85c0.

(cherry picked from commit 80c563ba136fd8da8791cf0f1a5f8f7026816ead)

Change-Id: I5b312f41d8b96eb189ea8b9d3a3ab861c5c9d515

8 years agoRevert "Reduce dirty image pages by improving binning"
Mathieu Chartier [Sat, 9 Apr 2016 01:54:36 +0000 (18:54 -0700)]
Revert "Reduce dirty image pages by improving binning"

This reverts commit 794bff5f622c79fd7bd9899e700cf052a375c675.

(cherry picked from commit 8ace610a222892f7b700e4f95e50fa6315ab85c0)

Change-Id: Id53d64a04aa8766a2cb283a2f7b8354590213b13

8 years agoReduce dirty image pages by improving binning
Mathieu Chartier [Thu, 7 Apr 2016 21:16:26 +0000 (14:16 -0700)]
Reduce dirty image pages by improving binning

Change ordering from dirty to less dirty since ArtFields are clean
and they are last. Add separate binning for DexCache and instances
of java lang object (probably a lock object).

Business card .art RAM (on shamu):
              PSS     Private Dirty
.art mmap     1011      600
.art mmap      990      560

Bug: 27906566

(cherry picked from commit 794bff5f622c79fd7bd9899e700cf052a375c675)

Change-Id: I31c9ff41c3d713fc3b14573c2b731325ac6f366f

8 years agoDon\'t abort during app image loading with no boot image am: 19578c9
Mathieu Chartier [Tue, 12 Apr 2016 01:44:12 +0000 (01:44 +0000)]
Don\'t abort during app image loading with no boot image am: 19578c9
am: 5e43242

* commit '5e432424944a07e3c9bae38c47235d82941ac2a7':
  Don't abort during app image loading with no boot image

Change-Id: If49ae45c612e0e08958be610575001512ba74984

8 years agoFix relocate in place to handle arbitrary app image layout am: 564289c -s ours
Mathieu Chartier [Tue, 12 Apr 2016 01:44:12 +0000 (01:44 +0000)]
Fix relocate in place to handle arbitrary app image layout am: 564289c  -s ours
am: 7839547

* commit '78395472dd01b9a6f285bf5595657cd78851affa':
  Fix relocate in place to handle arbitrary app image layout

Change-Id: Ib0c6f65971a91db311a7d860446729287d617ac0

8 years agoDon\'t abort during app image loading with no boot image
Mathieu Chartier [Tue, 12 Apr 2016 01:39:04 +0000 (01:39 +0000)]
Don\'t abort during app image loading with no boot image
am: 19578c9

* commit '19578c9ae94725aaa82ef32fbfb2f9fd09321844':
  Don't abort during app image loading with no boot image

Change-Id: I82719035eea1840f223237ea1f8f3551a0c0199f

8 years agoRevert "Revert "Reduce dirty image pages by improving binning"" am: 80c563b
Mathieu Chartier [Tue, 12 Apr 2016 01:39:04 +0000 (01:39 +0000)]
Revert "Revert "Reduce dirty image pages by improving binning"" am: 80c563b
am: 4694c8d

* commit '4694c8d636cd68df9bd93ad6fc5b0a7d28d252cf':
  Revert "Revert "Reduce dirty image pages by improving binning""

Change-Id: I405f5a57f613180ffb75ce49cb2926a1b6e17d14