OSDN Git Service

android-x86/art.git
8 years agoMerge "ART: Reduce stack frame size limit on host" am: 82d33b295f
Andreas Gampe [Fri, 12 Aug 2016 18:30:34 +0000 (18:30 +0000)]
Merge "ART: Reduce stack frame size limit on host" am: 82d33b295f
am: 45d1085f45

Change-Id: Ib9e43b6cee8d919f34fa8ae560729dc598c83e9e

8 years agoMerge "ART: Reduce stack frame size limit on host"
Andreas Gampe [Fri, 12 Aug 2016 18:29:02 +0000 (18:29 +0000)]
Merge "ART: Reduce stack frame size limit on host"
am: 82d33b295f

Change-Id: I08214c2d5a737be9a64948d9cce500b6abf42b75

8 years agoMerge "ART: Reduce stack frame size limit on host"
Treehugger Robot [Fri, 12 Aug 2016 18:19:54 +0000 (18:19 +0000)]
Merge "ART: Reduce stack frame size limit on host"

8 years agoMerge "Optimize x86_64 TLAB allocation speed" am: 29daeb62da
Mathieu Chartier [Fri, 12 Aug 2016 17:45:32 +0000 (17:45 +0000)]
Merge "Optimize x86_64 TLAB allocation speed" am: 29daeb62da
am: 99cd5e5010

Change-Id: I1a8ddb61b65e263d1f7b3457289b0d2e0659e10a

8 years agoMerge changes I852b4daf,Id648eaed am: 346285b558
Alex Light [Fri, 12 Aug 2016 17:45:31 +0000 (17:45 +0000)]
Merge changes I852b4daf,Id648eaed am: 346285b558
am: 4610ec68b5

Change-Id: I4d3419ec5ee63648607d2d82a8b223c0f7899906

8 years agoMerge "Optimize x86_64 TLAB allocation speed"
Mathieu Chartier [Fri, 12 Aug 2016 17:42:44 +0000 (17:42 +0000)]
Merge "Optimize x86_64 TLAB allocation speed"
am: 29daeb62da

Change-Id: I2bee7d069403c3a8a3a1756672b6bac6b0f82705

8 years agoMerge changes I852b4daf,Id648eaed
Alex Light [Fri, 12 Aug 2016 17:42:32 +0000 (17:42 +0000)]
Merge changes I852b4daf,Id648eaed
am: 346285b558

Change-Id: Id1c7bc956e0c64620a030edd72a3a8bb3831a712

8 years agoMerge "Optimize x86_64 TLAB allocation speed"
Mathieu Chartier [Fri, 12 Aug 2016 17:34:56 +0000 (17:34 +0000)]
Merge "Optimize x86_64 TLAB allocation speed"

8 years agoMerge changes I852b4daf,Id648eaed
Treehugger Robot [Fri, 12 Aug 2016 17:33:34 +0000 (17:33 +0000)]
Merge changes I852b4daf,Id648eaed

* changes:
  Add basic runtime-plugins support.
  Create a basic agent loading framework.

8 years agoMerge "ART: Configure stack guard size in the Makefile" am: 635ba0cbce
Andreas Gampe [Fri, 12 Aug 2016 17:21:59 +0000 (17:21 +0000)]
Merge "ART: Configure stack guard size in the Makefile" am: 635ba0cbce
am: d8452dbf57

Change-Id: If570f499b4391a542ff0599d74ccbeb1867ce70f

8 years agoMerge "ART: Configure stack guard size in the Makefile"
Andreas Gampe [Fri, 12 Aug 2016 17:18:31 +0000 (17:18 +0000)]
Merge "ART: Configure stack guard size in the Makefile"
am: 635ba0cbce

Change-Id: I7fff2a9146dd9b17624996e77fddaad2cb7e85cc

8 years agoMerge "ART: Configure stack guard size in the Makefile"
Treehugger Robot [Fri, 12 Aug 2016 17:11:01 +0000 (17:11 +0000)]
Merge "ART: Configure stack guard size in the Makefile"

8 years agoMerge "Fix duplicate checks in JNI macro assemblers." am: 2af1aa066e
Vladimir Marko [Fri, 12 Aug 2016 15:26:22 +0000 (15:26 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers." am: 2af1aa066e
am: ad1b62a8d1

Change-Id: I82cb3710153ff60775b8c00dc9bdf5485df2b533

8 years agoMerge "Fix duplicate checks in JNI macro assemblers."
Vladimir Marko [Fri, 12 Aug 2016 15:22:54 +0000 (15:22 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers."
am: 2af1aa066e

Change-Id: I658e24a12a0086257acfa5ec88ffb91d2d25f03d

8 years agoMerge "Fix duplicate checks in JNI macro assemblers."
Treehugger Robot [Fri, 12 Aug 2016 15:14:44 +0000 (15:14 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers."

8 years agoMerge "Adjust spacing before NOLINT comments in ART." am: c17d21d442
Roland Levillain [Fri, 12 Aug 2016 13:56:16 +0000 (13:56 +0000)]
Merge "Adjust spacing before NOLINT comments in ART." am: c17d21d442
am: 512ee1d788

Change-Id: I88b169e012970709801ef16558d67989d4fbe27b

8 years agoMerge "Adjust spacing before NOLINT comments in ART."
Roland Levillain [Fri, 12 Aug 2016 13:52:49 +0000 (13:52 +0000)]
Merge "Adjust spacing before NOLINT comments in ART."
am: c17d21d442

Change-Id: Ic44e4396616b9f8e692b6c530553e9f98305e479

8 years agoMerge "Adjust spacing before NOLINT comments in ART."
Roland Levillain [Fri, 12 Aug 2016 13:45:57 +0000 (13:45 +0000)]
Merge "Adjust spacing before NOLINT comments in ART."

8 years agoFix duplicate checks in JNI macro assemblers.
Vladimir Marko [Fri, 12 Aug 2016 13:26:15 +0000 (14:26 +0100)]
Fix duplicate checks in JNI macro assemblers.

Instead of checking one register twice, check the other
register passed to the function.

Test: Run ART test suite on host and Nexus 5.
Bug: 30739460
Change-Id: If868ea14f5c192982488ed065b279a019b5b7cf4

8 years agoAdjust spacing before NOLINT comments in ART.
Roland Levillain [Thu, 11 Aug 2016 22:53:33 +0000 (23:53 +0100)]
Adjust spacing before NOLINT comments in ART.

Note that neither clang-tidy nor cpplint.py complain about
these style "issues", precisely because of the NOLINT
comments.

Test: WITH_TIDY=1 WITH_TIDY_CHECKS='-*,misc-macro-parentheses' mmma art
Change-Id: Id692fd394ffbd4fe208cbbe4407b4d5e208462bb

8 years agoMerge "ARM: Add vldm/vstm assembler support." am: dce74be0c4
Vladimir Marko [Fri, 12 Aug 2016 11:34:08 +0000 (11:34 +0000)]
Merge "ARM: Add vldm/vstm assembler support." am: dce74be0c4
am: 63c395397d

Change-Id: Ie60bf90a6df7cb0eef6e4900970bb86760240b56

8 years agoMerge "ARM: Add vldm/vstm assembler support."
Vladimir Marko [Fri, 12 Aug 2016 11:30:40 +0000 (11:30 +0000)]
Merge "ARM: Add vldm/vstm assembler support."
am: dce74be0c4

Change-Id: Ibb492f8477f8552b30967ab89f0b633b29b52959

8 years agoMerge "ARM: Add vldm/vstm assembler support."
Vladimir Marko [Fri, 12 Aug 2016 11:23:40 +0000 (11:23 +0000)]
Merge "ARM: Add vldm/vstm assembler support."

8 years agoMerge "Initialize Heap's collector pointers to null." am: 3d1d18d74d
Vladimir Marko [Fri, 12 Aug 2016 10:33:34 +0000 (10:33 +0000)]
Merge "Initialize Heap's collector pointers to null." am: 3d1d18d74d
am: e309ea5013

Change-Id: Iee98c89847020cb3c6d0bb8dd549870a9d667d60

8 years agoMerge "Initialize Heap's collector pointers to null."
Vladimir Marko [Fri, 12 Aug 2016 10:30:06 +0000 (10:30 +0000)]
Merge "Initialize Heap's collector pointers to null."
am: 3d1d18d74d

Change-Id: I043cf61f87dc57402e836433340084b3fec03058

8 years agoMerge "Initialize Heap's collector pointers to null."
Treehugger Robot [Fri, 12 Aug 2016 10:22:57 +0000 (10:22 +0000)]
Merge "Initialize Heap's collector pointers to null."

8 years agoMerge "Revert "Iterative move coalescing for gc regalloc"" am: 0c283627c0
Andreas Gampe [Fri, 12 Aug 2016 08:12:25 +0000 (08:12 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc"" am: 0c283627c0
am: 54d3bcee82

Change-Id: Ia3c3c5fe9ee9f473434a8a052f6cddf123d24beb

8 years agoMerge "Revert "Iterative move coalescing for gc regalloc""
Andreas Gampe [Fri, 12 Aug 2016 08:08:57 +0000 (08:08 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc""
am: 0c283627c0

Change-Id: I25700c95e5c7e35325636192bb8a494d6d425830

8 years agoMerge "Revert "Iterative move coalescing for gc regalloc""
Treehugger Robot [Fri, 12 Aug 2016 08:01:43 +0000 (08:01 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc""

8 years agoMerge "Remove kRestrictCompilationFiltersToImage" am: eef560e257
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:36:20 +0000 (06:36 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage" am: eef560e257
am: c83e315346

Change-Id: I4693f22487dff863bdc70453c5dae68182dfc951

8 years agoRevert "Iterative move coalescing for gc regalloc"
Andreas Gampe [Fri, 12 Aug 2016 06:33:15 +0000 (06:33 +0000)]
Revert "Iterative move coalescing for gc regalloc"

There are lifetime issues with allocators and coloring
iterations that got flagged by valgrind.

This reverts commit 465ed699e810868fe5bb39730e6d149a4734372d.

Change-Id: I9e08172321af61d109c116a4f0742fa809e8094b
Test: m test-art-host

8 years agoMerge "Remove kRestrictCompilationFiltersToImage"
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:32:53 +0000 (06:32 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage"
am: eef560e257

Change-Id: Ib645687b2f18dc58a8f9a0891baeff8a653acb45

8 years agoMerge "Remove kRestrictCompilationFiltersToImage"
Treehugger Robot [Fri, 12 Aug 2016 06:28:56 +0000 (06:28 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage"

8 years agoMerge "Enable compiled-methods= dex2oat switch" am: 8be74495ac
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:26:20 +0000 (06:26 +0000)]
Merge "Enable compiled-methods= dex2oat switch" am: 8be74495ac
am: 32204583eb

Change-Id: I3fbee7dcce8ca963417188a5a0ceafb2d0ed1e66

8 years agoMerge "Enable compiled-methods= dex2oat switch"
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:22:51 +0000 (06:22 +0000)]
Merge "Enable compiled-methods= dex2oat switch"
am: 8be74495ac

Change-Id: I64c6fb97997642108337463054428c48ff9a4d28

8 years agoMerge "Enable compiled-methods= dex2oat switch"
Treehugger Robot [Fri, 12 Aug 2016 06:16:40 +0000 (06:16 +0000)]
Merge "Enable compiled-methods= dex2oat switch"

8 years agoART: Reduce stack frame size limit on host
Andreas Gampe [Fri, 12 Aug 2016 04:11:59 +0000 (21:11 -0700)]
ART: Reduce stack frame size limit on host

Clang isn't that bad anymore.

Change-Id: Id9f3e3e34a743b43c6b535d2757be7869a8cf7ea

8 years agoART: Configure stack guard size in the Makefile
Andreas Gampe [Fri, 12 Aug 2016 01:35:58 +0000 (18:35 -0700)]
ART: Configure stack guard size in the Makefile

Configure the stack guard reserved size through defines set in
the Makefile. This can be used to increase the gap depending on
the configuration, which may be required to safely support Java
stack overflows in instrumented builds.

Bug: 30766843
Change-Id: Icdd3209e3a261ea8383ef8eab38153255339b04a
Test: m test-art-host

8 years agoMerge "Iterative move coalescing for gc regalloc" am: 592c9bd2ad
Andreas Gampe [Fri, 12 Aug 2016 01:52:03 +0000 (01:52 +0000)]
Merge "Iterative move coalescing for gc regalloc" am: 592c9bd2ad
am: ff72c79f93

Change-Id: I5a98c894bb3433d6f9825f970159b0804c770e8d

8 years agoMerge "Iterative move coalescing for gc regalloc"
Andreas Gampe [Fri, 12 Aug 2016 01:48:36 +0000 (01:48 +0000)]
Merge "Iterative move coalescing for gc regalloc"
am: 592c9bd2ad

Change-Id: I0001020989745ff605d82a712bc57da88c0295b0

8 years agoMerge "Iterative move coalescing for gc regalloc"
Andreas Gampe [Fri, 12 Aug 2016 01:43:26 +0000 (01:43 +0000)]
Merge "Iterative move coalescing for gc regalloc"

8 years agoOptimize x86_64 TLAB allocation speed
Mathieu Chartier [Wed, 10 Aug 2016 01:37:09 +0000 (18:37 -0700)]
Optimize x86_64 TLAB allocation speed

Added assembly fast path code for resolved and initialized object
region TLAB allocations. Removed 3 instructions from TLAB fast path.

Added assembly fast path for array TLAB region allocators.

Should have more speedups for read barrier fast paths during
resolved and initialized alloc entrypoints.

Bug: 30162165

Test: test-art-host CC baker

Change-Id: I64dd06be5f18c8d6a5de0f15f0e2e7d488e99f18

8 years agoAdd basic runtime-plugins support.
Alex Light [Thu, 11 Aug 2016 17:48:03 +0000 (10:48 -0700)]
Add basic runtime-plugins support.

This allows one to pass shared-libraries on the command line that the
runtime will load as plugins. They have access to runtime code and can
install hooks to add functionality. Currently the only hook they can
touch is JavaVMExt::AddEnvironmentHook to register a callback for
GetEnv(). More hooks might be added in the future.

Test: ./test/run-test 900
Change-Id: I852b4daf5a3fa71e9888722bc07794632c0e5010

8 years agoCreate a basic agent loading framework.
Alex Light [Thu, 28 Jul 2016 17:07:45 +0000 (10:07 -0700)]
Create a basic agent loading framework.

Currently we only allow agents to be loaded at runtime startup, though
this is expected to change soon.

Test: ./test/run-test --host 900
Change-Id: Id648eaed4bbbe6fdef41d64922d023a4db0bfa54

8 years agoIterative move coalescing for gc regalloc
Matthew Gharrity [Fri, 22 Jul 2016 15:52:13 +0000 (08:52 -0700)]
Iterative move coalescing for gc regalloc

Implement iterative move coalescing for graph coloring
register allocation. Based on Andrew Appel's implementation
in "Modern Compiler Implementation in Java", modified to
support constraints such as pair intervals.

Test: ART_TEST_OPTIMIZING_GRAPH_COLOR=true m test-art-host

Change-Id: I8642297d3bd798a4fc4de4b356ac3304098471a5

8 years agoInitialize Heap's collector pointers to null.
Vladimir Marko [Thu, 11 Aug 2016 17:25:53 +0000 (18:25 +0100)]
Initialize Heap's collector pointers to null.

Test: Run ART test suite on host.
Bug: 30807718
Change-Id: I9b83b44df250b00af48dc1aa653d78aea84d0874

8 years agoMerge "x86/x86-64: Shorter fast-path for read barrier field load." am: 9d32586b52
Vladimir Marko [Thu, 11 Aug 2016 18:48:06 +0000 (18:48 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load." am: 9d32586b52
am: b7928f7f72

Change-Id: I0a7fd93f0981a95214d7bf3644c68b3c7fcd3ac4

8 years agoMerge "x86/x86-64: Shorter fast-path for read barrier field load."
Vladimir Marko [Thu, 11 Aug 2016 18:45:06 +0000 (18:45 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load."
am: 9d32586b52

Change-Id: I817da2e93d1cc5e0198c1ed2edab7b21951227e8

8 years agoMerge "ARM64: Use libvixld when compiling for debug mode." am: 0c7972c6c2
Alexandre Rames [Thu, 11 Aug 2016 18:45:05 +0000 (18:45 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode." am: 0c7972c6c2
am: 8ea9860579

Change-Id: Iec23f784aac5ae47f3db50e4c601604e95b69bc6

8 years agoMerge "ARM64: Use libvixld when compiling for debug mode."
Alexandre Rames [Thu, 11 Aug 2016 18:42:10 +0000 (18:42 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode."
am: 0c7972c6c2

Change-Id: I8853f50c9c542104183ddbcf4bf36c2baa1d9e77

8 years agoMerge "x86/x86-64: Shorter fast-path for read barrier field load."
Treehugger Robot [Thu, 11 Aug 2016 18:41:55 +0000 (18:41 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load."

8 years agoMerge "ARM64: Use libvixld when compiling for debug mode."
Treehugger Robot [Thu, 11 Aug 2016 18:37:50 +0000 (18:37 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode."

8 years agoMerge "Full enable new round implementation on x86/x86_64" am: c531c21794
Aart Bik [Thu, 11 Aug 2016 18:35:34 +0000 (18:35 +0000)]
Merge "Full enable new round implementation on x86/x86_64" am: c531c21794
am: 03cf008f85

Change-Id: If287d03ed4f00bfc1c900eb6e305b900d7046132

8 years agoMerge "Full enable new round implementation on x86/x86_64"
Aart Bik [Thu, 11 Aug 2016 18:32:07 +0000 (18:32 +0000)]
Merge "Full enable new round implementation on x86/x86_64"
am: c531c21794

Change-Id: I8f0c2115bf64d733a9d548060a21449dbf57d18f

8 years agoMerge "Full enable new round implementation on x86/x86_64"
Aart Bik [Thu, 11 Aug 2016 18:24:10 +0000 (18:24 +0000)]
Merge "Full enable new round implementation on x86/x86_64"

8 years agoARM: Add vldm/vstm assembler support.
Artem Serov [Fri, 15 Jul 2016 14:01:13 +0000 (15:01 +0100)]
ARM: Add vldm/vstm assembler support.

Change-Id: Id97417de8ebd07fc1fbee5d17e4b1c620a2c44cc

8 years agoARM64: Use libvixld when compiling for debug mode.
Alexandre Rames [Thu, 11 Aug 2016 16:04:14 +0000 (17:04 +0100)]
ARM64: Use libvixld when compiling for debug mode.

VIXL debug mode checks are valuable to catch dangerous code that can
lead to bugs.

This patch includes a couple of fixes for issues spotted by VIXL in debug mode.

Change-Id: I388ae1ffd9256ad74d0b6ce06f79cc7927a5f28a

8 years agox86/x86-64: Shorter fast-path for read barrier field load.
Vladimir Marko [Thu, 11 Aug 2016 13:16:57 +0000 (14:16 +0100)]
x86/x86-64: Shorter fast-path for read barrier field load.

Test: Tested with ART_USE_READ_BARRIER=true on host.
Bug: 29966877
Bug: 12687968
Change-Id: I73359495910dacb2cc28f1a21ef9e610bab5a476

8 years agoMerge "ARM/ARM64: Improve assembler macros for kSaveEverything frame." am: 33699c9529
Vladimir Marko [Thu, 11 Aug 2016 09:13:03 +0000 (09:13 +0000)]
Merge "ARM/ARM64: Improve assembler macros for kSaveEverything frame." am: 33699c9529
am: e6c10af9d2

Change-Id: I72873189b2b6a46e2e59093e62ce0bb1c7274d12

8 years agoMerge "ARM/ARM64: Improve assembler macros for kSaveEverything frame."
Vladimir Marko [Thu, 11 Aug 2016 09:10:05 +0000 (09:10 +0000)]
Merge "ARM/ARM64: Improve assembler macros for kSaveEverything frame."
am: 33699c9529

Change-Id: Idf569faf84dd37c71b5a75622142e76f933b79df

8 years agoMerge "ARM/ARM64: Improve assembler macros for kSaveEverything frame."
Vladimir Marko [Thu, 11 Aug 2016 09:01:22 +0000 (09:01 +0000)]
Merge "ARM/ARM64: Improve assembler macros for kSaveEverything frame."

8 years agoMerge "ART: Check for more low-space situations in zygote" am: 8cf44dbedd
Andreas Gampe [Thu, 11 Aug 2016 05:49:22 +0000 (05:49 +0000)]
Merge "ART: Check for more low-space situations in zygote" am: 8cf44dbedd
am: 247dba71fb

Change-Id: I04d1c19c5818bfe324cb34c56e2e8a60516ff446

8 years agoMerge "ART: Check for more low-space situations in zygote"
Andreas Gampe [Thu, 11 Aug 2016 05:46:24 +0000 (05:46 +0000)]
Merge "ART: Check for more low-space situations in zygote"
am: 8cf44dbedd

Change-Id: I11ebd60a509a49034a44479f74f29d9d640ff0ca

8 years agoMerge "ART: Check for more low-space situations in zygote"
Treehugger Robot [Thu, 11 Aug 2016 05:38:00 +0000 (05:38 +0000)]
Merge "ART: Check for more low-space situations in zygote"

8 years agoART: Check for more low-space situations in zygote
Andreas Gampe [Wed, 10 Aug 2016 03:19:18 +0000 (20:19 -0700)]
ART: Check for more low-space situations in zygote

Even if a boot image exists and can be loaded, the rest of the
platform may not be able to boot. We previously only checked
after full image generation and missed this case.

Also prune the cache if there wasn't even space to put the boot
marker.

(cherry picked from commit f242f66cf7137ef681e44a494758976e11579260)

Bug: 30765660
Test: m test-art-host
Change-Id: Icd43746e681c62ce2e4e8745fb17bda65ca60372

8 years agoMerge "Fix pending exception failure for encoded statics" am: 34110807ea
Mathieu Chartier [Thu, 11 Aug 2016 00:51:03 +0000 (00:51 +0000)]
Merge "Fix pending exception failure for encoded statics" am: 34110807ea
am: 2ad1aa1833

Change-Id: I931d0654264e244fff33cb505519a3dc5ce16dfe

8 years agoMerge "Fix pending exception failure for encoded statics"
Mathieu Chartier [Thu, 11 Aug 2016 00:48:05 +0000 (00:48 +0000)]
Merge "Fix pending exception failure for encoded statics"
am: 34110807ea

Change-Id: Ie0be2f627c540bd22888e3a8e327c8efc23c80f3

8 years agoMerge "Fix pending exception failure for encoded statics"
Treehugger Robot [Thu, 11 Aug 2016 00:37:21 +0000 (00:37 +0000)]
Merge "Fix pending exception failure for encoded statics"

8 years agoFix pending exception failure for encoded statics
Mathieu Chartier [Wed, 10 Aug 2016 20:57:39 +0000 (13:57 -0700)]
Fix pending exception failure for encoded statics

ReadValueToField may allocate a string and cause OOME, we were
not checking this each loop iteration. Throwing an exception
with a pending exception causes an abort.

Bug: 30690988

Test: test-art-host

Change-Id: I2c9751bf0544cf115d9d8e914e58ebccc81bcbf4

8 years agoFull enable new round implementation on x86/x86_64
Aart Bik [Wed, 10 Aug 2016 21:05:54 +0000 (14:05 -0700)]
Full enable new round implementation on x86/x86_64

Rationale:
Running JIT on Fugu does not always provide a constant area.
In such cases, we need to construct FP constants through stack.
This only applies to x86.

Test: 580-checker-round

BUG=26327751

Change-Id: I7e2c80dafbafbe647cfe9ecb039920bb534c666a

8 years agoARM/ARM64: Improve assembler macros for kSaveEverything frame.
Vladimir Marko [Wed, 10 Aug 2016 11:30:05 +0000 (12:30 +0100)]
ARM/ARM64: Improve assembler macros for kSaveEverything frame.

On ARM, use vpush/vpop {d0-d15} instead of {s0-s31}.
On ARM64, use 16-byte aligned stp/ldp for FP registers.

Test: Run ART test suite on Nexus 9.
Bug: 30212852
Change-Id: I36c04d3f1f7e03661c501977c3c9ffa7d2942d2f

8 years agoMerge "Fix negative array size checking" am: 38dd0e8f0a
Mathieu Chartier [Wed, 10 Aug 2016 19:18:12 +0000 (19:18 +0000)]
Merge "Fix negative array size checking" am: 38dd0e8f0a
am: 38f37ffcab

Change-Id: If77850f9d2e2abeb65b3e87ad94366c8b22a358b

8 years agoMerge "Fix negative array size checking"
Mathieu Chartier [Wed, 10 Aug 2016 19:15:43 +0000 (19:15 +0000)]
Merge "Fix negative array size checking"
am: 38dd0e8f0a

Change-Id: Icd6eba521a54f33d5c2c422aacca20923b8e0967

8 years agoMerge "Fix negative array size checking"
Treehugger Robot [Wed, 10 Aug 2016 19:06:01 +0000 (19:06 +0000)]
Merge "Fix negative array size checking"

8 years agoFix negative array size checking
Mathieu Chartier [Wed, 10 Aug 2016 17:08:58 +0000 (10:08 -0700)]
Fix negative array size checking

Mask out the alignment after the size check. Was broken in previous
CL.

Test: target test 412 --64 with CC + baker

Bug: 30162165
Change-Id: Ic4eb7229fb742490cd9193baf0faa2be6b454f38

8 years agoMerge "ART: Fix JIT profile saver" am: f2b1529b09
Serguei Katkov [Wed, 10 Aug 2016 16:14:30 +0000 (16:14 +0000)]
Merge "ART: Fix JIT profile saver" am: f2b1529b09
am: 9fe11b1723

Change-Id: I05870590ad318191e02abbee147b6b383bbd29f9

8 years agoMerge "ART: Fix JIT profile saver"
Serguei Katkov [Wed, 10 Aug 2016 16:11:32 +0000 (16:11 +0000)]
Merge "ART: Fix JIT profile saver"
am: f2b1529b09

Change-Id: Iadbd6f1101de48515396b26cb0bafc2087dbd631

8 years agoMerge "ART: Fix JIT profile saver"
Treehugger Robot [Wed, 10 Aug 2016 16:06:07 +0000 (16:06 +0000)]
Merge "ART: Fix JIT profile saver"

8 years agoART: Fix JIT profile saver
Serguei Katkov [Mon, 1 Aug 2016 10:47:04 +0000 (17:47 +0700)]
ART: Fix JIT profile saver

We miss the case when jit activity notification count exceeds
the threshold. Fix it.

Bug: 30583550
Test: manual test in master

Change-Id: Ib10a34d3c2f5d3cf674b1c4d7a3c1204784865d3
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
8 years agoMerge "Rename callee save enumerators." am: 066187de25
Vladimir Marko [Wed, 10 Aug 2016 14:35:25 +0000 (14:35 +0000)]
Merge "Rename callee save enumerators." am: 066187de25
am: fe3313d2c1

Change-Id: Iee64da6b5868175af03c813f584ca3ad8ee75bb7

8 years agoMerge "Rename callee save enumerators."
Vladimir Marko [Wed, 10 Aug 2016 14:32:27 +0000 (14:32 +0000)]
Merge "Rename callee save enumerators."
am: 066187de25

Change-Id: I3172a5e9dd37dc75746a0a63d4758558d0c00b7b

8 years agoMerge "Rename callee save enumerators."
Vladimir Marko [Wed, 10 Aug 2016 14:28:27 +0000 (14:28 +0000)]
Merge "Rename callee save enumerators."

8 years agoMerge "Instruction: Add new formats 45cc and 4rcc." am: 3de6f3f9c9
Narayan Kamath [Wed, 10 Aug 2016 14:25:54 +0000 (14:25 +0000)]
Merge "Instruction: Add new formats 45cc and 4rcc." am: 3de6f3f9c9
am: 62d4f6e9d7

Change-Id: I414c747cda50e509cc340a6818819df5945e27ca

8 years agoMerge "Instruction: Add new formats 45cc and 4rcc."
Narayan Kamath [Wed, 10 Aug 2016 14:22:26 +0000 (14:22 +0000)]
Merge "Instruction: Add new formats 45cc and 4rcc."
am: 3de6f3f9c9

Change-Id: Icae8eb59fd0b65477411b3da965a9b6fc2464203

8 years agoMerge "Instruction: Add new formats 45cc and 4rcc."
Narayan Kamath [Wed, 10 Aug 2016 14:15:28 +0000 (14:15 +0000)]
Merge "Instruction: Add new formats 45cc and 4rcc."

8 years agoMerge "ARM: Embed constants in add/sub-long." am: 4997d14c8d
Vladimir Marko [Wed, 10 Aug 2016 13:40:52 +0000 (13:40 +0000)]
Merge "ARM: Embed constants in add/sub-long." am: 4997d14c8d
am: 19dc202334

Change-Id: If618a1aa319bd6ab0c5f6a6aff6e67dd39c85de2

8 years agoMerge "ARM: Embed constants in add/sub-long."
Vladimir Marko [Wed, 10 Aug 2016 13:37:25 +0000 (13:37 +0000)]
Merge "ARM: Embed constants in add/sub-long."
am: 4997d14c8d

Change-Id: I0adf61fab5b5b17e29839542c6406d4e1fa5cc73

8 years agoMerge "ARM: Embed constants in add/sub-long."
Vladimir Marko [Wed, 10 Aug 2016 13:29:15 +0000 (13:29 +0000)]
Merge "ARM: Embed constants in add/sub-long."

8 years agoRename callee save enumerators.
Vladimir Marko [Wed, 3 Aug 2016 17:49:58 +0000 (18:49 +0100)]
Rename callee save enumerators.

And related image method enumerators, macros, etc.
Clean up some entrypoint assembly comments.

This is a follow-up to
    https://android-review.googlesource.com/252348

Test: Run ART test suite on host and Nexus 9.
Bug: 30212852
Change-Id: I2707342d4255c88c547655be83ed97a67e12ae9e

8 years agoInstruction: Add new formats 45cc and 4rcc.
Narayan Kamath [Wed, 3 Aug 2016 11:46:23 +0000 (12:46 +0100)]
Instruction: Add new formats 45cc and 4rcc.

These are new 4 byte formats with the following properties.

- The first three (16 bit) words of these instructions have the same
  format as 35c and 3rc respectively.
- The fourth 16 bit word encodes an additional constant index reference.

This change includes placeholder opcodes for invoke-polymorphic and
invoke-polymorphic/range which will be the first dex instructions that
use this new format. In addition to a method_idx that gives the invoked
method, these instructions also provide a proto_idx which gives the
(static) type signature of the call site.

The only reason these are included in this change is because we need
an instruction with a given format to write a unit_test using the Instruction
API.

bug: 30550796
test: make test-art-host

Change-Id: I02612ddee47169757175a8079d82f811f6545945

8 years agoMerge "Revert experimental lambda feature." am: c218427ab9
Narayan Kamath [Wed, 10 Aug 2016 10:30:11 +0000 (10:30 +0000)]
Merge "Revert experimental lambda feature." am: c218427ab9
am: d891421c02

Change-Id: Ie7f703345ad2e5d1a9ff194ca9a2756d4544bf85

8 years agoMerge "Revert experimental lambda feature."
Narayan Kamath [Wed, 10 Aug 2016 10:26:44 +0000 (10:26 +0000)]
Merge "Revert experimental lambda feature."
am: c218427ab9

Change-Id: Id73fbf20e9f119552f1a0b623575d6caf8b414bf

8 years agoMerge "Revert experimental lambda feature."
Narayan Kamath [Wed, 10 Aug 2016 10:20:49 +0000 (10:20 +0000)]
Merge "Revert experimental lambda feature."

8 years agoMerge "JDWP: fix method argument count" am: 45b1718769
Sebastien Hertz [Wed, 10 Aug 2016 05:30:56 +0000 (05:30 +0000)]
Merge "JDWP: fix method argument count" am: 45b1718769
am: 28e1f63aa7

Change-Id: Icc7f2730d8dc13618da6512df7b3d29eb6556a34

8 years agoMerge "JDWP: fix method argument count"
Sebastien Hertz [Wed, 10 Aug 2016 05:27:26 +0000 (05:27 +0000)]
Merge "JDWP: fix method argument count"
am: 45b1718769

Change-Id: Ifeaec3aced92c63c81eff1b795d19a3e58def03c

8 years agoMerge "JDWP: fix method argument count"
Sebastien Hertz [Wed, 10 Aug 2016 05:18:48 +0000 (05:18 +0000)]
Merge "JDWP: fix method argument count"

8 years agoMerge "Add a graph coloring art test option" am: e4520c185d
Matthew Gharrity [Wed, 10 Aug 2016 04:00:22 +0000 (04:00 +0000)]
Merge "Add a graph coloring art test option" am: e4520c185d
am: 4febaf55e2

Change-Id: I241eae25259b0ba5e8633918359afe9d5c933e39

8 years agoMerge "Add a graph coloring art test option"
Matthew Gharrity [Wed, 10 Aug 2016 03:57:21 +0000 (03:57 +0000)]
Merge "Add a graph coloring art test option"
am: e4520c185d

Change-Id: Iaa861f3c5d314f28e54b9ca0a11bdaaf8bbb75c6

8 years agoMerge "Add a graph coloring art test option"
Treehugger Robot [Wed, 10 Aug 2016 03:52:13 +0000 (03:52 +0000)]
Merge "Add a graph coloring art test option"

8 years agoMerge "ART: Extract JNI macro assembler for arm" am: dfdf1e5343
Andreas Gampe [Wed, 10 Aug 2016 00:35:13 +0000 (00:35 +0000)]
Merge "ART: Extract JNI macro assembler for arm" am: dfdf1e5343
am: e4e212b588

Change-Id: Ia6179a7697832163d4530fdfbc41d1e1d83923c5