OSDN Git Service

android-x86/art.git
8 years agoMerge "Let tests informa Jack of the min api version"
Yohann Roussel [Mon, 21 Mar 2016 16:47:58 +0000 (16:47 +0000)]
Merge "Let tests informa Jack of the min api version"
am: 985125b

* commit '985125b33f27220608cbdb87d87bc24e36325156':
  Let tests informa Jack of the min api version

8 years agoMerge "Let tests informa Jack of the min api version"
Yohann Roussel [Mon, 21 Mar 2016 16:39:59 +0000 (16:39 +0000)]
Merge "Let tests informa Jack of the min api version"

8 years agoLet tests informa Jack of the min api version
Yohann Roussel [Mon, 21 Mar 2016 15:26:02 +0000 (16:26 +0100)]
Let tests informa Jack of the min api version

This is necessarry for compiling source code with default method.

Bug: 27371864

Change-Id: I8c9d3690e403729facd2e868cbda761b3488b2f6

8 years agoMerge "MIPS32: sun.misc.Unsafe get/put intrinsics."
Chris Larsen [Mon, 21 Mar 2016 15:25:37 +0000 (15:25 +0000)]
Merge "MIPS32: sun.misc.Unsafe get/put intrinsics."
am: ae207db

* commit 'ae207dbf2cb73ef3cfff6dd5c502920dee4d4366':
  MIPS32: sun.misc.Unsafe get/put intrinsics.

8 years agoMerge "Pacify g++ about a set-but-unused variable."
Roland Levillain [Mon, 21 Mar 2016 15:20:52 +0000 (15:20 +0000)]
Merge "Pacify g++ about a set-but-unused variable."
am: 73139dd

* commit '73139dd7c12906975e835ae6e6707266626fed2a':
  Pacify g++ about a set-but-unused variable.

8 years agoMerge "MIPS32: sun.misc.Unsafe get/put intrinsics."
Roland Levillain [Mon, 21 Mar 2016 15:18:43 +0000 (15:18 +0000)]
Merge "MIPS32: sun.misc.Unsafe get/put intrinsics."

8 years agoMerge "Pacify g++ about a set-but-unused variable."
Roland Levillain [Mon, 21 Mar 2016 15:13:15 +0000 (15:13 +0000)]
Merge "Pacify g++ about a set-but-unused variable."

8 years agoMerge "Code cleanup between debugger and jit."
Nicolas Geoffray [Mon, 21 Mar 2016 14:59:22 +0000 (14:59 +0000)]
Merge "Code cleanup between debugger and jit."
am: 1153282

* commit '1153282aa91292b740289ab7612a481e5c6bc167':
  Code cleanup between debugger and jit.

8 years agoMerge "Code cleanup between debugger and jit."
Nicolas Geoffray [Mon, 21 Mar 2016 14:53:09 +0000 (14:53 +0000)]
Merge "Code cleanup between debugger and jit."

8 years agoCode cleanup between debugger and jit.
Nicolas Geoffray [Fri, 18 Mar 2016 09:40:17 +0000 (09:40 +0000)]
Code cleanup between debugger and jit.

This is to allow secondary dex files to be fully compiled.

- No need to do full deopt anymore for breakpoints: code in boot.oat
  is deoptimized as soon as the debugger attaches (and we decided that
  existing frames could not be debugged), and application being
  debugged is compiled debuggable.

- jit should only call UpdateMethodsCode if exit stubs are not
  installed due to lock violation otherwise (the lock level of the
  jit code cache is lower than the deoptimization lock).
  This part needs an overall cleanup beyond the scope of this change.

Change-Id: I38d85dcb270db746c1d6b0ceb7893a1aad8c9655

8 years agoPacify g++ about a set-but-unused variable.
Roland Levillain [Mon, 21 Mar 2016 14:09:54 +0000 (14:09 +0000)]
Pacify g++ about a set-but-unused variable.

This fixes the MIPS32 build.

Change-Id: Ic1e6d4627d69a3701c2f3e8fdd784d97a4e41ba5

8 years agoMerge "Check if the type of an instruction is erroneous before inlining."
Nicolas Geoffray [Mon, 21 Mar 2016 11:43:48 +0000 (11:43 +0000)]
Merge "Check if the type of an instruction is erroneous before inlining."
am: 459898d

* commit '459898dc4470559ba1e1d578bc52a914d1f573f5':
  Check if the type of an instruction is erroneous before inlining.

8 years agoMerge "Check if the type of an instruction is erroneous before inlining."
Nicolas Geoffray [Mon, 21 Mar 2016 11:38:27 +0000 (11:38 +0000)]
Merge "Check if the type of an instruction is erroneous before inlining."

8 years agoMerge "Call HuntForOriginalReference to get to the null."
Nicolas Geoffray [Mon, 21 Mar 2016 11:34:33 +0000 (11:34 +0000)]
Merge "Call HuntForOriginalReference to get to the null."
am: 3cf5f5c

* commit '3cf5f5ccdb32d035f021dcef11222092b8d20b0b':
  Call HuntForOriginalReference to get to the null.

8 years agoMerge "Call HuntForOriginalReference to get to the null."
Nicolas Geoffray [Mon, 21 Mar 2016 11:27:10 +0000 (11:27 +0000)]
Merge "Call HuntForOriginalReference to get to the null."

8 years agoCheck if the type of an instruction is erroneous before inlining.
Nicolas Geoffray [Fri, 18 Mar 2016 11:36:20 +0000 (11:36 +0000)]
Check if the type of an instruction is erroneous before inlining.

We can get HInstructions typed with a class that is in an error state.
For such classes, we cannot look at the vtable or imt table as they
are not cleanly populated.

bug:27683927

Change-Id: I0d64ca470e1cb6cf9b40e9f02bb9b0bb12c2bac1

8 years agoMerge remote-tracking branch 'goog/master' into nyc-dev
Nicolas Geoffray [Mon, 21 Mar 2016 09:07:48 +0000 (09:07 +0000)]
Merge remote-tracking branch 'goog/master' into nyc-dev

bug:25492619
bug:27520994
bug:27624718

Change-Id: I8dd1e90724f7b9694a1d493ce61f669123dd3ac4

8 years agoCall HuntForOriginalReference to get to the null.
Nicolas Geoffray [Fri, 18 Mar 2016 16:25:38 +0000 (16:25 +0000)]
Call HuntForOriginalReference to get to the null.

The null constant might be hiding under a HBoundType
(which we could clean up in instruction simplifier, but
that is orthogonal).

bug:27683874
Change-Id: Ide8ec5bcd439ec0fca5e54175ebeedc5a9f679a3

8 years agoMerge "Fix mising "." am: 0d0796e
Nicolas Geoffray [Sat, 19 Mar 2016 11:47:02 +0000 (11:47 +0000)]
Merge "Fix mising "." am: 0d0796e
am: b7788e2

* commit 'b7788e23737e221799770b8ea2887b3134fe6223':
  Fix mising ".

8 years agoMerge "Fix mising "."
Nicolas Geoffray [Sat, 19 Mar 2016 11:44:41 +0000 (11:44 +0000)]
Merge "Fix mising "."
am: 0d0796e

* commit '0d0796eb5db4cbc51fd826b370595ba6871264a1':
  Fix mising ".

8 years agoMerge "Fix mising "."
Nicolas Geoffray [Sat, 19 Mar 2016 11:37:04 +0000 (11:37 +0000)]
Merge "Fix mising "."

8 years agoFix mising ".
Nicolas Geoffray [Sat, 19 Mar 2016 10:25:41 +0000 (10:25 +0000)]
Fix mising ".

Change-Id: I2116d97162b8ab6d01fa633650532e190959cad4

8 years agoMerge "Add patchoat check that input oat file has patch section." am: 443e7ee
Jeff Hao [Fri, 18 Mar 2016 23:37:45 +0000 (23:37 +0000)]
Merge "Add patchoat check that input oat file has patch section." am: 443e7ee
am: fd2cd8e

* commit 'fd2cd8e49d6d6dab12d526a7485ea152aa744552':
  Add patchoat check that input oat file has patch section.

8 years agoMerge "Add patchoat check that input oat file has patch section." into nyc-dev am...
Jeff Hao [Fri, 18 Mar 2016 23:33:22 +0000 (23:33 +0000)]
Merge "Add patchoat check that input oat file has patch section." into nyc-dev am: 99d0151
am: 61464e2

* commit '61464e2bc934739a19df8a87527d1d7ed36c7f66':
  Add patchoat check that input oat file has patch section.

8 years agoMerge "Add patchoat check that input oat file has patch section."
Jeff Hao [Fri, 18 Mar 2016 23:33:21 +0000 (23:33 +0000)]
Merge "Add patchoat check that input oat file has patch section."
am: 443e7ee

* commit '443e7eeaf6783325dde27b6b20b57ea344cd6a36':
  Add patchoat check that input oat file has patch section.

8 years agoMerge "Add patchoat check that input oat file has patch section." into nyc-dev
Jeff Hao [Fri, 18 Mar 2016 23:31:04 +0000 (23:31 +0000)]
Merge "Add patchoat check that input oat file has patch section." into nyc-dev
am: 99d0151

* commit '99d0151eff70325a7615e860d2483ac7856ee75c':
  Add patchoat check that input oat file has patch section.

8 years agoMerge "Add patchoat check that input oat file has patch section." into nyc-dev
Jeff Hao [Fri, 18 Mar 2016 23:26:51 +0000 (23:26 +0000)]
Merge "Add patchoat check that input oat file has patch section." into nyc-dev

8 years agoMerge "Add patchoat check that input oat file has patch section."
Jeff Hao [Fri, 18 Mar 2016 23:23:40 +0000 (23:23 +0000)]
Merge "Add patchoat check that input oat file has patch section."

8 years agoMerge changes from topic \'verify-profile\' am: 4892106
Mathieu Chartier [Fri, 18 Mar 2016 23:02:43 +0000 (23:02 +0000)]
Merge changes from topic \'verify-profile\' am: 4892106
am: 6991d13

* commit '6991d136b66d79d15ecf90efcda42bcb25a96671':
  Fix incorrect dex2oat check
  Add verify-profile compiler filter

8 years agoMerge changes from topic \'verify-profile\'
Mathieu Chartier [Fri, 18 Mar 2016 23:00:33 +0000 (23:00 +0000)]
Merge changes from topic \'verify-profile\'
am: 4892106

* commit '48921060720e3ff7596e397d09af221fb057eeff':
  Fix incorrect dex2oat check
  Add verify-profile compiler filter

8 years agoMerge changes from topic 'verify-profile'
Mathieu Chartier [Fri, 18 Mar 2016 22:54:42 +0000 (22:54 +0000)]
Merge changes from topic 'verify-profile'

* changes:
  Fix incorrect dex2oat check
  Add verify-profile compiler filter

8 years agoFix incorrect dex2oat check
Mathieu Chartier [Fri, 18 Mar 2016 22:29:16 +0000 (15:29 -0700)]
Fix incorrect dex2oat check

Should have been VerifyOnlyProfile.

Bug: 27688727

(cherry picked from commit 821dad8f384f8c520f062a317b3b66c78aa12b47)

Change-Id: I451ce8264115283132bc9e34708331a5c62817bf

8 years agoFix incorrect dex2oat check am: 821dad8
Mathieu Chartier [Fri, 18 Mar 2016 22:40:42 +0000 (22:40 +0000)]
Fix incorrect dex2oat check am: 821dad8
am: 88eb928

* commit '88eb92803582415517409018bb8d88ba7b382b6a':
  Fix incorrect dex2oat check

8 years agoFix incorrect dex2oat check
Mathieu Chartier [Fri, 18 Mar 2016 22:36:32 +0000 (22:36 +0000)]
Fix incorrect dex2oat check
am: 821dad8

* commit '821dad8f384f8c520f062a317b3b66c78aa12b47':
  Fix incorrect dex2oat check

8 years agoFix incorrect dex2oat check
Mathieu Chartier [Fri, 18 Mar 2016 22:29:16 +0000 (15:29 -0700)]
Fix incorrect dex2oat check

Should have been VerifyOnlyProfile.

Bug: 27688727
Change-Id: Ieec38904196ce756c2b1d8057dbf6d1e8a58c81d

8 years agoAdd patchoat check that input oat file has patch section.
Jeff Hao [Fri, 18 Mar 2016 04:32:45 +0000 (21:32 -0700)]
Add patchoat check that input oat file has patch section.

Do this check before opening the output file in case this could be
causing the file to become truncated.

Bug: 27723864

(cherry-picked from commit 99503b9805def2ed7d4fe4bf285c6fdd8ddce6ed)

Change-Id: Icf71016adae5404e4f8588f2f5e23da6405ef2e7

8 years agoAdd patchoat check that input oat file has patch section.
Jeff Hao [Fri, 18 Mar 2016 04:32:45 +0000 (21:32 -0700)]
Add patchoat check that input oat file has patch section.

Do this check before opening the output file in case this could be
causing the file to become truncated.

Bug: 27723864

(cherry-picked from commit 99503b9805def2ed7d4fe4bf285c6fdd8ddce6ed)

Change-Id: I2134ec65fb6d9582f4eb4c2619a5ffb7b987eaa6

8 years agoMerge "Add patchoat check that input oat file has patch section."
Jeff Hao [Fri, 18 Mar 2016 22:22:46 +0000 (22:22 +0000)]
Merge "Add patchoat check that input oat file has patch section."

8 years agoAdd verify-profile compiler filter
Mathieu Chartier [Thu, 17 Mar 2016 02:08:31 +0000 (19:08 -0700)]
Add verify-profile compiler filter

Only verifies and dex2dex compiles classes in the profile. Goal
is to reduce application launch time.

~2x faster than interpret-only for Facebook.

Bug: 27688727

(cherry picked from commit a079e3aa62cceb76c1c1811e6e09bcaf75e20289)

Change-Id: Iad5aa1adee3aa6c2408820e8cbbab2d4412021b8

8 years agoMerge "Add verify-profile compiler filter" into nyc-dev am: cc4c168
Mathieu Chartier [Fri, 18 Mar 2016 22:19:06 +0000 (22:19 +0000)]
Merge "Add verify-profile compiler filter" into nyc-dev am: cc4c168
am: a885de7

* commit 'a885de7008472fe6fcdbcd35531b09099937ed5c':
  Add verify-profile compiler filter

8 years agoMerge "Add verify-profile compiler filter" into nyc-dev
Mathieu Chartier [Fri, 18 Mar 2016 22:16:18 +0000 (22:16 +0000)]
Merge "Add verify-profile compiler filter" into nyc-dev
am: cc4c168

* commit 'cc4c1686a1e7125ec8b64341e573cc0959936dd3':
  Add verify-profile compiler filter

8 years agoMerge "Add verify-profile compiler filter" into nyc-dev
Mathieu Chartier [Fri, 18 Mar 2016 22:07:10 +0000 (22:07 +0000)]
Merge "Add verify-profile compiler filter" into nyc-dev

8 years agoMerge "ART: Speed up stack guard page install" am: 895375b
Andreas Gampe [Fri, 18 Mar 2016 20:13:47 +0000 (20:13 +0000)]
Merge "ART: Speed up stack guard page install" am: 895375b
am: 1d1e89c

* commit '1d1e89c5ab3aa6c938df285f6e85545baab1042d':
  ART: Speed up stack guard page install

8 years agoMerge "ART: Speed up stack guard page install" into nyc-dev am: 6716fc2
Andreas Gampe [Fri, 18 Mar 2016 20:13:46 +0000 (20:13 +0000)]
Merge "ART: Speed up stack guard page install" into nyc-dev am: 6716fc2
am: c5319f4

* commit 'c5319f48c5fe464b2a81393bc35beabdd1cb3725':
  ART: Speed up stack guard page install

8 years agoMerge "ART: Speed up stack guard page install"
Andreas Gampe [Fri, 18 Mar 2016 20:11:29 +0000 (20:11 +0000)]
Merge "ART: Speed up stack guard page install"
am: 895375b

* commit '895375bb30716a488bf7b8234e900d1e15de1d21':
  ART: Speed up stack guard page install

8 years agoMerge "ART: Speed up stack guard page install" into nyc-dev
Andreas Gampe [Fri, 18 Mar 2016 20:09:10 +0000 (20:09 +0000)]
Merge "ART: Speed up stack guard page install" into nyc-dev
am: 6716fc2

* commit '6716fc2c4d68647f7840511d24ed94a95976c43c':
  ART: Speed up stack guard page install

8 years agoMerge "ART: Speed up stack guard page install" into nyc-dev
Andreas Gampe [Fri, 18 Mar 2016 20:05:01 +0000 (20:05 +0000)]
Merge "ART: Speed up stack guard page install" into nyc-dev

8 years agoAdd verify-profile compiler filter
Mathieu Chartier [Thu, 17 Mar 2016 02:08:31 +0000 (19:08 -0700)]
Add verify-profile compiler filter

Only verifies and dex2dex compiles classes in the profile. Goal
is to reduce application launch time.

~2x faster than interpret-only for Facebook.

Bug: 27688727
Change-Id: Ic9979c4f7ba4930298d0983c4e3c70c63500213f

8 years agoMerge "ART: Speed up stack guard page install"
Andreas Gampe [Fri, 18 Mar 2016 20:03:50 +0000 (20:03 +0000)]
Merge "ART: Speed up stack guard page install"

8 years agoART: Speed up stack guard page install
Andreas Gampe [Fri, 18 Mar 2016 04:27:19 +0000 (21:27 -0700)]
ART: Speed up stack guard page install

Only the main thread doesn't have its stack mapped in under normal
conditions. Reading each page is a lot of overhead and we should
try to avoid it.

Rewrite to first try a (non-fatal) protect. If the outcome is a
success, finish. Otherwise do the stack mapping, and try again.

Bug: 27718174

(cherry picked from commit 2c2d2a05eaf81d07df27418f8dfd68de6fa28ac1)

Change-Id: I16b214567585ed2f09970f618ccdec7eed219fd3

8 years agoART: Speed up stack guard page install
Andreas Gampe [Fri, 18 Mar 2016 04:27:19 +0000 (21:27 -0700)]
ART: Speed up stack guard page install

Only the main thread doesn't have its stack mapped in under normal
conditions. Reading each page is a lot of overhead and we should
try to avoid it.

Rewrite to first try a (non-fatal) protect. If the outcome is a
success, finish. Otherwise do the stack mapping, and try again.

Bug: 27718174
Change-Id: I16b214567585ed2f09970f618ccdec7eed219fd3

8 years agoMerge "Improve resolved classes saving strategy" into nyc-dev am: 4ea8bec
Calin Juravle [Fri, 18 Mar 2016 16:32:13 +0000 (16:32 +0000)]
Merge "Improve resolved classes saving strategy" into nyc-dev am: 4ea8bec
am: cff4736

* commit 'cff4736f1c4d2f15a065766d2215115e8b44057c':
  Improve resolved classes saving strategy

8 years agoMerge "Improve resolved classes saving strategy" into nyc-dev
Calin Juravle [Fri, 18 Mar 2016 16:30:01 +0000 (16:30 +0000)]
Merge "Improve resolved classes saving strategy" into nyc-dev
am: 4ea8bec

* commit '4ea8becfbfd73ac03ece671956d7c2cb3bc755af':
  Improve resolved classes saving strategy

8 years agoMerge "Improve resolved classes saving strategy" into nyc-dev
Calin Juravle [Fri, 18 Mar 2016 16:26:32 +0000 (16:26 +0000)]
Merge "Improve resolved classes saving strategy" into nyc-dev

8 years agoMerge "Ensure art::HRor support boolean, byte, short and char inputs." am: 38ceb62
Roland Levillain [Fri, 18 Mar 2016 16:24:58 +0000 (16:24 +0000)]
Merge "Ensure art::HRor support boolean, byte, short and char inputs." am: 38ceb62
am: 76236cd

* commit '76236cdd1dffd6b1e57a7246301ef88005f19024':
  Ensure art::HRor support boolean, byte, short and char inputs.

8 years agoMerge "Ensure art::HRor support boolean, byte, short and char inputs."
Roland Levillain [Fri, 18 Mar 2016 16:22:42 +0000 (16:22 +0000)]
Merge "Ensure art::HRor support boolean, byte, short and char inputs."
am: 38ceb62

* commit '38ceb62339514a8012695673b9e1110d13546f02':
  Ensure art::HRor support boolean, byte, short and char inputs.

8 years agoMerge "Ensure art::HRor support boolean, byte, short and char inputs."
Roland Levillain [Fri, 18 Mar 2016 16:16:41 +0000 (16:16 +0000)]
Merge "Ensure art::HRor support boolean, byte, short and char inputs."

8 years agoMerge "Disable jsr166.Collection8Test tests from running." am: b1aff6c
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 16:14:53 +0000 (16:14 +0000)]
Merge "Disable jsr166.Collection8Test tests from running." am: b1aff6c
am: cec585e

* commit 'cec585e367a87cb20ffc8301c5ed8959664157e3':
  Disable jsr166.Collection8Test tests from running.

8 years agoImprove resolved classes saving strategy
Calin Juravle [Thu, 17 Mar 2016 17:07:52 +0000 (17:07 +0000)]
Improve resolved classes saving strategy

If we already have a non empty profile file it means that we already
saved once the resolved classes. So there's no need to hurry up and
start the profile saver eagerly after 2s.

Bug: 27600652
Change-Id: I92ac5869bf68c8d6cbac8fc1503fe3c4930241b4

8 years agoMerge "Disable jsr166.Collection8Test tests from running."
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 16:11:54 +0000 (16:11 +0000)]
Merge "Disable jsr166.Collection8Test tests from running."
am: b1aff6c

* commit 'b1aff6c7f248632028b6a62a17f02675007c9ce3':
  Disable jsr166.Collection8Test tests from running.

8 years agoRevert "Revert "Fix issue with proxy invocation on default methods"" am: 5457b86
Alex Light [Fri, 18 Mar 2016 16:11:54 +0000 (16:11 +0000)]
Revert "Revert "Fix issue with proxy invocation on default methods"" am: 5457b86
am: 069143f

* commit '069143f0109676553701fd7c2a0f7d6c6af6e6a7':
  Revert "Revert "Fix issue with proxy invocation on default methods""

8 years agoRevert "Revert "Fix issue with proxy invocation on default methods""
Alex Light [Fri, 18 Mar 2016 16:09:41 +0000 (16:09 +0000)]
Revert "Revert "Fix issue with proxy invocation on default methods""
am: 5457b86

* commit '5457b86f9dc02045436cc53327c4b6383805cb6a':
  Revert "Revert "Fix issue with proxy invocation on default methods""

8 years agoMerge "Disable jsr166.Collection8Test tests from running."
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 16:05:02 +0000 (16:05 +0000)]
Merge "Disable jsr166.Collection8Test tests from running."

8 years agoDisable jsr166.Collection8Test tests from running.
Przemyslaw Szczepaniak [Fri, 18 Mar 2016 15:38:14 +0000 (15:38 +0000)]
Disable jsr166.Collection8Test tests from running.

This class shouldn't be run on its own, it's made to
be extended.

Bug: 27673907
Change-Id: If224104736344697947f9549b5e8a0bb513416dc

8 years agoRevert "Revert "Fix issue with proxy invocation on default methods""
Alex Light [Wed, 16 Mar 2016 23:09:45 +0000 (16:09 -0700)]
Revert "Revert "Fix issue with proxy invocation on default methods""

This reverts commit daf58c80d42f024aae0cb94ebd2c0bd61ebbf240.

Bug: 27621360

(cherry picked from commit e9dd04f633fcffc485f8d74861f39f66fc8bc522)

Change-Id: I56fccf19ae80451be4c316ba14911c667cbe9e47

8 years agoEnsure art::HRor support boolean, byte, short and char inputs.
Roland Levillain [Fri, 18 Mar 2016 14:04:28 +0000 (14:04 +0000)]
Ensure art::HRor support boolean, byte, short and char inputs.

Also extend tests covering the IntegerRotateLeft,
LongRotateLeft, IntegerRotateRight and LongRotateRight
intrinsics and their translation into an art::HRor
instruction.

Bug: 27682579
Change-Id: I89f6ea6a7315659a172482bf09875cfb7e7422a1

8 years agoMerge "Generate native debug stackmaps before calls as well." am: e943c3b
David Srbecky [Fri, 18 Mar 2016 12:46:42 +0000 (12:46 +0000)]
Merge "Generate native debug stackmaps before calls as well." am: e943c3b
am: b6989f6

* commit 'b6989f61852a6a83689dcfa96e5d45b07b7aa26a':
  Generate native debug stackmaps before calls as well.

8 years agoMerge "Generate native debug stackmaps before calls as well."
David Srbecky [Fri, 18 Mar 2016 12:44:23 +0000 (12:44 +0000)]
Merge "Generate native debug stackmaps before calls as well."
am: e943c3b

* commit 'e943c3b831dc0da4a6b09e940ae25c3285850e96':
  Generate native debug stackmaps before calls as well.

8 years agoMerge "Generate native debug stackmaps before calls as well."
David Srbecky [Fri, 18 Mar 2016 12:37:03 +0000 (12:37 +0000)]
Merge "Generate native debug stackmaps before calls as well."

8 years agoAdd patchoat check that input oat file has patch section.
Jeff Hao [Fri, 18 Mar 2016 04:32:45 +0000 (21:32 -0700)]
Add patchoat check that input oat file has patch section.

Do this check before opening the output file in case this could be
causing the file to become truncated.

Bug: 27723864
Change-Id: I4e612eaaa55d4667afc8099c516a23d32a9ab7f4

8 years agoFix zygote handling of when secondary image is out of date. am: 02d97c3
Jeff Hao [Fri, 18 Mar 2016 02:21:49 +0000 (02:21 +0000)]
Fix zygote handling of when secondary image is out of date. am: 02d97c3
am: 3d6d07c

* commit '3d6d07c4de9b6766712dda351522a799d8183323':
  Fix zygote handling of when secondary image is out of date.

8 years agoFix zygote handling of when secondary image is out of date.
Jeff Hao [Fri, 18 Mar 2016 02:19:08 +0000 (02:19 +0000)]
Fix zygote handling of when secondary image is out of date.
am: 02d97c3

* commit '02d97c3727a4c7fb611b73fac1a0ff19568de2c9':
  Fix zygote handling of when secondary image is out of date.

8 years agoFix zygote handling of when secondary image is out of date.
Jeff Hao [Tue, 15 Mar 2016 01:50:49 +0000 (18:50 -0700)]
Fix zygote handling of when secondary image is out of date.

Simple fix for case when primary image is current, but a secondary image
is out of date. Will want to do a cleaner fix in the future.

Bug: 27340451

(cherry-picked from commit b8510d2311964489342d8875ef7f5b681ba874b4)

Change-Id: I034f001834d84b2a4aa367da722543091a2a7b3a

8 years agoMerge "Remove TEMP_FAILURE_RETRY for unlink" am: 7c06aef
Dimitry Ivanov [Fri, 18 Mar 2016 00:32:27 +0000 (00:32 +0000)]
Merge "Remove TEMP_FAILURE_RETRY for unlink" am: 7c06aef
am: c015f33

* commit 'c015f33a378fb816379cfbc2379f468e2af4e0ed':
  Remove TEMP_FAILURE_RETRY for unlink

8 years agoMerge "Remove TEMP_FAILURE_RETRY for unlink"
Dimitry Ivanov [Fri, 18 Mar 2016 00:30:10 +0000 (00:30 +0000)]
Merge "Remove TEMP_FAILURE_RETRY for unlink"
am: 7c06aef

* commit '7c06aef061fa176331b77a88c1ff2c6ae401a5f0':
  Remove TEMP_FAILURE_RETRY for unlink

8 years agoMerge "Remove TEMP_FAILURE_RETRY for unlink"
Dimitry Ivanov [Fri, 18 Mar 2016 00:20:44 +0000 (00:20 +0000)]
Merge "Remove TEMP_FAILURE_RETRY for unlink"

8 years agoMerge changes Ib979b2a4,I35b3fed2,I356acd03 am: 0f1b6b7
Hiroshi Yamauchi [Thu, 17 Mar 2016 23:36:38 +0000 (23:36 +0000)]
Merge changes Ib979b2a4,I35b3fed2,I356acd03 am: 0f1b6b7
am: db7b8cf

* commit 'db7b8cfebf9fd0a710a12e7a70defa8a794b996e':
  Revert "Ignore 145-alloc-tracking-stress run-test failures with CC."
  Revert "Ignore 145-alloc-tracking-stress failures in interpreter with CC."
  Revert "Ignore 145-alloc-tracking-stress failures with JIT and CC."

8 years agoMerge changes Ib979b2a4,I35b3fed2,I356acd03
Hiroshi Yamauchi [Thu, 17 Mar 2016 23:25:21 +0000 (23:25 +0000)]
Merge changes Ib979b2a4,I35b3fed2,I356acd03
am: 0f1b6b7

* commit '0f1b6b76e67144349fc0a66c25f0ba13f5efb45a':
  Revert "Ignore 145-alloc-tracking-stress run-test failures with CC."
  Revert "Ignore 145-alloc-tracking-stress failures in interpreter with CC."
  Revert "Ignore 145-alloc-tracking-stress failures with JIT and CC."

8 years agoMerge changes Ib979b2a4,I35b3fed2,I356acd03
Hiroshi Yamauchi [Thu, 17 Mar 2016 23:17:23 +0000 (23:17 +0000)]
Merge changes Ib979b2a4,I35b3fed2,I356acd03

* changes:
  Revert "Ignore 145-alloc-tracking-stress run-test failures with CC."
  Revert "Ignore 145-alloc-tracking-stress failures in interpreter with CC."
  Revert "Ignore 145-alloc-tracking-stress failures with JIT and CC."

8 years agoMerge "Complete the 1.8 unsafe memory fences tests." am: 0f47487
Aart Bik [Thu, 17 Mar 2016 23:05:16 +0000 (23:05 +0000)]
Merge "Complete the 1.8 unsafe memory fences tests." am: 0f47487
am: 1343b1d

* commit '1343b1d0b77a391ab64fba459611d7fcc7606d14':
  Complete the 1.8 unsafe memory fences tests.

8 years agoMerge "Complete the 1.8 unsafe memory fences tests."
Aart Bik [Thu, 17 Mar 2016 23:00:42 +0000 (23:00 +0000)]
Merge "Complete the 1.8 unsafe memory fences tests."
am: 0f47487

* commit '0f474872afa353ac30012e679d77fa622e574d78':
  Complete the 1.8 unsafe memory fences tests.

8 years agoRemove TEMP_FAILURE_RETRY for unlink
Dimitry Ivanov [Thu, 17 Mar 2016 22:59:38 +0000 (15:59 -0700)]
Remove TEMP_FAILURE_RETRY for unlink

unlink(2) does not generate EINTR error

Change-Id: I546b00a61b8ffcbd43b01f5ae6ff31f335be00ab

8 years agoMerge "Complete the 1.8 unsafe memory fences tests."
Aart Bik [Thu, 17 Mar 2016 22:52:06 +0000 (22:52 +0000)]
Merge "Complete the 1.8 unsafe memory fences tests."

8 years agoRevert "Ignore 145-alloc-tracking-stress run-test failures with CC."
Hiroshi Yamauchi [Thu, 17 Mar 2016 21:58:20 +0000 (14:58 -0700)]
Revert "Ignore 145-alloc-tracking-stress run-test failures with CC."

This reverts commit eeed32cd6b9d6949dd1e0ebbea6ea897e58bb2b8.

Bug: 27467554

8 years agoRevert "Ignore 145-alloc-tracking-stress failures in interpreter with CC."
Hiroshi Yamauchi [Thu, 17 Mar 2016 21:57:58 +0000 (14:57 -0700)]
Revert "Ignore 145-alloc-tracking-stress failures in interpreter with CC."

This reverts commit fee85561670331f38e0676baadc9be422d3d079c.

Bug: 27467554

8 years agoRevert "Ignore 145-alloc-tracking-stress failures with JIT and CC."
Hiroshi Yamauchi [Thu, 17 Mar 2016 21:57:25 +0000 (14:57 -0700)]
Revert "Ignore 145-alloc-tracking-stress failures with JIT and CC."

This reverts commit 3296585f5879a9563214f178f97ee689fc651758.

Bug: 27467554
Change-Id: I356acd036f55605a782a83ab971d9808f10d0ed8

8 years agoMerge "Do not JIT boot image during native-debugging (keep AOT code instead)." am...
David Srbecky [Thu, 17 Mar 2016 20:34:13 +0000 (20:34 +0000)]
Merge "Do not JIT boot image during native-debugging (keep AOT code instead)." am: e9e98f1
am: b8dfff1

* commit 'b8dfff14c6a1c374fe45f94aa0e2f94349892533':
  Do not JIT boot image during native-debugging (keep AOT code instead).

8 years agoMerge "Do not JIT boot image during native-debugging (keep AOT code instead)."
David Srbecky [Thu, 17 Mar 2016 20:31:57 +0000 (20:31 +0000)]
Merge "Do not JIT boot image during native-debugging (keep AOT code instead)."
am: e9e98f1

* commit 'e9e98f12eb5dbe81db90d56c65c8872cabaa855d':
  Do not JIT boot image during native-debugging (keep AOT code instead).

8 years agoMerge "Do not JIT boot image during native-debugging (keep AOT code instead)."
David Srbecky [Thu, 17 Mar 2016 20:24:29 +0000 (20:24 +0000)]
Merge "Do not JIT boot image during native-debugging (keep AOT code instead)."

8 years agoComplete the 1.8 unsafe memory fences tests.
Aart Bik [Fri, 11 Mar 2016 23:37:58 +0000 (15:37 -0800)]
Complete the 1.8 unsafe memory fences tests.

Rationale:
The tests for the fences were still TODO, and this
change list completes them. Java does not quite allow
for a weak memory order on just the signal, but this
is as close as a real unit test as I can think of.
Also added a test suggested by Hans.

BUG=26264765

Change-Id: I2dcb9b02fa63f72daf4c39b3744ff2010888713e

8 years agoMerge "Revert "Revert "Fix issue with proxy invocation on default methods""" am:...
Alex Light [Thu, 17 Mar 2016 18:50:59 +0000 (18:50 +0000)]
Merge "Revert "Revert "Fix issue with proxy invocation on default methods""" am: 7f3397b
am: 7348116

* commit '73481167d3553218a9a76e915c6dc5aefba06e62':
  Revert "Revert "Fix issue with proxy invocation on default methods""

8 years agoMerge "Make run-test give extra time when doing gc-stress runs." am: 1160f2e
Alex Light [Thu, 17 Mar 2016 18:50:59 +0000 (18:50 +0000)]
Merge "Make run-test give extra time when doing gc-stress runs." am: 1160f2e
am: 1a33d89

* commit '1a33d898a40b7a5a943294812a4f5f3af382c7e6':
  Make run-test give extra time when doing gc-stress runs.

8 years agoMerge "Revert "Revert "Fix issue with proxy invocation on default methods"""
Alex Light [Thu, 17 Mar 2016 18:07:47 +0000 (18:07 +0000)]
Merge "Revert "Revert "Fix issue with proxy invocation on default methods"""
am: 7f3397b

* commit '7f3397bec51bdeb7dfe76a17ea9d3279ddf79345':
  Revert "Revert "Fix issue with proxy invocation on default methods""

8 years agoMerge "Make run-test give extra time when doing gc-stress runs."
Alex Light [Thu, 17 Mar 2016 18:05:36 +0000 (18:05 +0000)]
Merge "Make run-test give extra time when doing gc-stress runs."
am: 1160f2e

* commit '1160f2e14d61f95f3fb6bea03acb5451ad926acc':
  Make run-test give extra time when doing gc-stress runs.

8 years agoMerge "Revert "Revert "Fix issue with proxy invocation on default methods"""
Alex Light [Thu, 17 Mar 2016 18:02:06 +0000 (18:02 +0000)]
Merge "Revert "Revert "Fix issue with proxy invocation on default methods"""

8 years agoMerge "Make run-test give extra time when doing gc-stress runs."
Alex Light [Thu, 17 Mar 2016 17:53:47 +0000 (17:53 +0000)]
Merge "Make run-test give extra time when doing gc-stress runs."

8 years agoMerge "Revert "Revert "Assembly TLAB allocation fast path for arm64.""" am: 275f97e
Hiroshi Yamauchi [Thu, 17 Mar 2016 17:42:27 +0000 (17:42 +0000)]
Merge "Revert "Revert "Assembly TLAB allocation fast path for arm64.""" am: 275f97e
am: 74f6c2e

* commit '74f6c2ec3631c0afad712bd9c84937b27367b542':
  Revert "Revert "Assembly TLAB allocation fast path for arm64.""

8 years agoMerge "Revert "Revert "Assembly TLAB allocation fast path for arm64."""
Hiroshi Yamauchi [Thu, 17 Mar 2016 17:35:06 +0000 (17:35 +0000)]
Merge "Revert "Revert "Assembly TLAB allocation fast path for arm64."""
am: 275f97e

* commit '275f97e225f534582b446eb7b9eb00c6757255d9':
  Revert "Revert "Assembly TLAB allocation fast path for arm64.""

8 years agoMerge "resolve merge conflicts of c19c1c2 to nyc-dev-plus-aosp" into nyc-dev-plus...
Calin Juravle [Thu, 17 Mar 2016 17:30:13 +0000 (17:30 +0000)]
Merge "resolve merge conflicts of c19c1c2 to nyc-dev-plus-aosp" into nyc-dev-plus-aosp
am: bce19ce

* commit 'bce19ce7dff918c12604614a5e27d02b78e877a4':
  Add ProfileSaver stats and dump them during SigQuit

8 years agoMerge "Revert "Revert "Assembly TLAB allocation fast path for arm64."""
Hiroshi Yamauchi [Thu, 17 Mar 2016 17:27:11 +0000 (17:27 +0000)]
Merge "Revert "Revert "Assembly TLAB allocation fast path for arm64."""