OSDN Git Service

android-x86/art.git
8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev am: 06fe300
Richard Uhler [Fri, 1 Apr 2016 17:37:39 +0000 (17:37 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev am: 06fe300
am: e964a55

* commit 'e964a55534c481ec60715fa0724b4539b0c0f43b':
  Refine OatFileAssistant.MakeUpToDate failure result.

Change-Id: Ic85fbc14a57c34b5bf5e866f7d944a6d93844dba

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev
Richard Uhler [Fri, 1 Apr 2016 17:32:48 +0000 (17:32 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev
am: 06fe300

* commit '06fe3008c1a1069fd4864a06271b73ad9c9d82a5':
  Refine OatFileAssistant.MakeUpToDate failure result.

Change-Id: I507794b72484ca26d19ee0165765049b81d34461

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev
Richard Uhler [Fri, 1 Apr 2016 17:26:18 +0000 (17:26 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result." into nyc-dev

8 years agoMerge "ART: Better support for arraycopy in unstarted runtime" am: 01afcbb am: 93e9e5b
Andreas Gampe [Fri, 1 Apr 2016 17:19:11 +0000 (17:19 +0000)]
Merge "ART: Better support for arraycopy in unstarted runtime" am: 01afcbb am: 93e9e5b
am: a9bee5a

* commit 'a9bee5a1b302292556fc1966678f2a5689bd2522':
  ART: Better support for arraycopy in unstarted runtime

Change-Id: I6cc9a4c87b43ce692453b59b9e75d3cf800ba166

8 years agoMerge "Fix thumb bit in the oatdump symbolizer." am: 85f5de0 am: 89a9c6f
David Srbecky [Fri, 1 Apr 2016 17:19:10 +0000 (17:19 +0000)]
Merge "Fix thumb bit in the oatdump symbolizer." am: 85f5de0 am: 89a9c6f
am: 1566a44

* commit '1566a4428f53a66e7bd285b748ad442b87635b3d':
  Fix thumb bit in the oatdump symbolizer.

Change-Id: Ib5ed49ca2e2223017c4c21c00ddc01fc995bc594

8 years agoMerge "ART: Better support for arraycopy in unstarted runtime" am: 01afcbb
Andreas Gampe [Fri, 1 Apr 2016 17:14:44 +0000 (17:14 +0000)]
Merge "ART: Better support for arraycopy in unstarted runtime" am: 01afcbb
am: 93e9e5b

* commit '93e9e5b26a3f003e9b23f4c527abca98cb7ccc4d':
  ART: Better support for arraycopy in unstarted runtime

Change-Id: I63f88e82f50a38189e5db0de0312b844c9102760

8 years agoMerge "Fix thumb bit in the oatdump symbolizer." am: 85f5de0
David Srbecky [Fri, 1 Apr 2016 17:14:44 +0000 (17:14 +0000)]
Merge "Fix thumb bit in the oatdump symbolizer." am: 85f5de0
am: 89a9c6f

* commit '89a9c6f0d9d01ce4d2d17ebe6f6974426c09b7ec':
  Fix thumb bit in the oatdump symbolizer.

Change-Id: Ifd4f61b08f731d22c19854f1fa0bf13cb2af319f

8 years agoMerge "ART: Better support for arraycopy in unstarted runtime"
Andreas Gampe [Fri, 1 Apr 2016 16:57:03 +0000 (16:57 +0000)]
Merge "ART: Better support for arraycopy in unstarted runtime"
am: 01afcbb

* commit '01afcbba19e40db984d41974086d63bbdd9cb955':
  ART: Better support for arraycopy in unstarted runtime

Change-Id: Ie07033b1ece4b782aebe54053b3ef6b0f1c24b82

8 years agoMerge "Fix thumb bit in the oatdump symbolizer."
David Srbecky [Fri, 1 Apr 2016 16:57:03 +0000 (16:57 +0000)]
Merge "Fix thumb bit in the oatdump symbolizer."
am: 85f5de0

* commit '85f5de08d02515b36e381834967d5d047d5bbcc4':
  Fix thumb bit in the oatdump symbolizer.

Change-Id: I00b82e10fd47a07a5183fa4ee77f2fed03719185

8 years agoMerge "ART: Better support for arraycopy in unstarted runtime"
Andreas Gampe [Fri, 1 Apr 2016 16:51:47 +0000 (16:51 +0000)]
Merge "ART: Better support for arraycopy in unstarted runtime"

8 years agoMerge "Fix thumb bit in the oatdump symbolizer."
David Srbecky [Fri, 1 Apr 2016 16:46:32 +0000 (16:46 +0000)]
Merge "Fix thumb bit in the oatdump symbolizer."

8 years agoART: Better support for arraycopy in unstarted runtime
Andreas Gampe [Thu, 31 Mar 2016 20:30:53 +0000 (13:30 -0700)]
ART: Better support for arraycopy in unstarted runtime

Extend the System.arraycopy() cutout in the unstarted runtime
to support arrays with differing component types.

Add tests.

Bug: 27805718
Change-Id: Iaacd95a372e9bfa26e9055a06b0d8f0335b8d6d1

8 years agoMerge "Fix a test info referencing AMD64 instead of ARM64." am: cf0f856 am: fb8aa37
Vladimir Marko [Fri, 1 Apr 2016 15:02:57 +0000 (15:02 +0000)]
Merge "Fix a test info referencing AMD64 instead of ARM64." am: cf0f856 am: fb8aa37
am: db934a9

* commit 'db934a943cc274e3ed1da48ef5b76178d9e8d441':
  Fix a test info referencing AMD64 instead of ARM64.

Change-Id: Ie05ee31a915abf9278c3768dea66d47ac3cf1071

8 years agoMerge "Fix a test info referencing AMD64 instead of ARM64." am: cf0f856
Vladimir Marko [Fri, 1 Apr 2016 14:58:39 +0000 (14:58 +0000)]
Merge "Fix a test info referencing AMD64 instead of ARM64." am: cf0f856
am: fb8aa37

* commit 'fb8aa3731618d4ac72847f4b00dfe4439efeffd8':
  Fix a test info referencing AMD64 instead of ARM64.

Change-Id: Idc18f1e55771d8db3602b9f93a24ccdba6cc35f9

8 years agoMerge "Fix a test info referencing AMD64 instead of ARM64."
Vladimir Marko [Fri, 1 Apr 2016 14:54:15 +0000 (14:54 +0000)]
Merge "Fix a test info referencing AMD64 instead of ARM64."
am: cf0f856

* commit 'cf0f8560f41467331427418584687830932e66ed':
  Fix a test info referencing AMD64 instead of ARM64.

Change-Id: I671632338d20c41db344a50d1d0d95b0fc8670aa

8 years agoMerge "Fix a test info referencing AMD64 instead of ARM64."
Vladimir Marko [Fri, 1 Apr 2016 14:40:08 +0000 (14:40 +0000)]
Merge "Fix a test info referencing AMD64 instead of ARM64."

8 years agoFix a test info referencing AMD64 instead of ARM64.
Vladimir Marko [Fri, 1 Apr 2016 13:35:01 +0000 (14:35 +0100)]
Fix a test info referencing AMD64 instead of ARM64.

Change-Id: I195551b984c9ad1dce2bbf978c78831c5b98c803

8 years agoMerge "Pack stack map entries on bit level to save space." am: fe2b137 am: 68b519e
David Srbecky [Fri, 1 Apr 2016 12:49:12 +0000 (12:49 +0000)]
Merge "Pack stack map entries on bit level to save space." am: fe2b137 am: 68b519e
am: 50a6287

* commit '50a6287c96e4e0561830daf23274bfbd2da33cae':
  Pack stack map entries on bit level to save space.

Change-Id: Ied0e6e672ddfb5d1f169186c3632f7939e5a6a90

8 years agoMerge "Pack stack map entries on bit level to save space." am: fe2b137
David Srbecky [Fri, 1 Apr 2016 12:44:52 +0000 (12:44 +0000)]
Merge "Pack stack map entries on bit level to save space." am: fe2b137
am: 68b519e

* commit '68b519ed51a8a5b878ea2eee146666f66e3ef04e':
  Pack stack map entries on bit level to save space.

Change-Id: I3f0e56de158e1aed998df05c6f7b4be4878ff9b0

8 years agoMerge "Pack stack map entries on bit level to save space."
David Srbecky [Fri, 1 Apr 2016 12:40:37 +0000 (12:40 +0000)]
Merge "Pack stack map entries on bit level to save space."
am: fe2b137

* commit 'fe2b13717879abae993603534a145372e3110aae':
  Pack stack map entries on bit level to save space.

Change-Id: Ia9259d72fcb9359df456db94256a83f5d43c4f35

8 years agoMerge "Pack stack map entries on bit level to save space."
Calin Juravle [Fri, 1 Apr 2016 12:28:51 +0000 (12:28 +0000)]
Merge "Pack stack map entries on bit level to save space."

8 years agoMerge "unstarted_runtime: Update references to decimal format classes." am: 5c26e43...
Narayan Kamath [Fri, 1 Apr 2016 11:41:30 +0000 (11:41 +0000)]
Merge "unstarted_runtime: Update references to decimal format classes." am: 5c26e43 am: 003f558
am: 3e234a2

* commit '3e234a2076d4e26debe9bdff14ce1912efea3a7e':
  unstarted_runtime: Update references to decimal format classes.

Change-Id: If0eb6a62311100354ba7da39c3b14dc4908010c5

8 years agoMerge "unstarted_runtime: Add additional cutouts" am: 739253e am: 4f7473e
Narayan Kamath [Fri, 1 Apr 2016 11:41:30 +0000 (11:41 +0000)]
Merge "unstarted_runtime: Add additional cutouts" am: 739253e am: 4f7473e
am: 486a931

* commit '486a931f038f760c54092929c00e32499870debf':
  unstarted_runtime: Add additional cutouts

Change-Id: I598cc35b68967e402922addf80e9c5a480e96cb9

8 years agoMerge "unstarted_runtime: Update references to decimal format classes." am: 5c26e43
Narayan Kamath [Fri, 1 Apr 2016 11:37:15 +0000 (11:37 +0000)]
Merge "unstarted_runtime: Update references to decimal format classes." am: 5c26e43
am: 003f558

* commit '003f558021b2fe523e85f1e294cc07cb84287c47':
  unstarted_runtime: Update references to decimal format classes.

Change-Id: I931b28f729b5e60bf72577b493cefb463d8f2152

8 years agoMerge "unstarted_runtime: Add additional cutouts" am: 739253e
Narayan Kamath [Fri, 1 Apr 2016 11:37:15 +0000 (11:37 +0000)]
Merge "unstarted_runtime: Add additional cutouts" am: 739253e
am: 4f7473e

* commit '4f7473e73555f46c48584ac2825bf456b8908dc9':
  unstarted_runtime: Add additional cutouts

Change-Id: Ia17b7ac5e639f651d6946a83dac24daef695959e

8 years agoMerge "unstarted_runtime: Update references to decimal format classes."
Narayan Kamath [Fri, 1 Apr 2016 11:33:09 +0000 (11:33 +0000)]
Merge "unstarted_runtime: Update references to decimal format classes."
am: 5c26e43

* commit '5c26e430fbeaf56e3a5da4e3f167ff35fbb71ef9':
  unstarted_runtime: Update references to decimal format classes.

Change-Id: I432614698ea6cb09b30ed61a1ad4774d55ecf28f

8 years agoMerge "unstarted_runtime: Add additional cutouts"
Narayan Kamath [Fri, 1 Apr 2016 11:33:09 +0000 (11:33 +0000)]
Merge "unstarted_runtime: Add additional cutouts"
am: 739253e

* commit '739253e0546b90a54d704324ce971b82cff84adc':
  unstarted_runtime: Add additional cutouts

Change-Id: I5661c1cf92895c76980b156ae16c4637788c51ba

8 years agoMerge "unstarted_runtime: Update references to decimal format classes."
Narayan Kamath [Fri, 1 Apr 2016 11:26:45 +0000 (11:26 +0000)]
Merge "unstarted_runtime: Update references to decimal format classes."

8 years agounstarted_runtime: Update references to decimal format classes.
Narayan Kamath [Wed, 30 Mar 2016 14:41:54 +0000 (15:41 +0100)]
unstarted_runtime: Update references to decimal format classes.

We had a few special cases for thread local buffers and instances
created by our formatters / parsers. Update them to point to the
OpenJdk equivalents of the same classes.

bug: 27265238
Change-Id: Ida36a89bf414aeabea64b25004e193c770f906c2

8 years agoMerge "unstarted_runtime: Add additional cutouts"
Narayan Kamath [Fri, 1 Apr 2016 11:25:58 +0000 (11:25 +0000)]
Merge "unstarted_runtime: Add additional cutouts"

8 years agounstarted_runtime: Add additional cutouts
Narayan Kamath [Wed, 30 Mar 2016 12:11:18 +0000 (13:11 +0100)]
unstarted_runtime: Add additional cutouts

These allow us to initialize a further 90 classes. getIntVolatile
was used by the static initializer for ThreadLocal, which is used
quite frequently. This class was compile time initializable for M.

java.lang.System.getSecurityManager : 5 classes
sun.misc.Unsafe.getIntVolatile : 85 classes

bug: 27265238
Change-Id: I7e9820112bc87aec47c9b1b40ec6ba4f56172916

8 years agoMerge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev am...
Andreas Gampe [Fri, 1 Apr 2016 03:06:51 +0000 (03:06 +0000)]
Merge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev am: c4d6084
am: a826afb

* commit 'a826afbddc6c49538613b1562b7ddfafc7e7ea75':
  Revert "ART: Resolve all classes even when verify-profile"

Change-Id: I66414df78e1639baef50cea21d9ecd4605e99ba4

8 years agoMerge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev
Andreas Gampe [Fri, 1 Apr 2016 03:02:51 +0000 (03:02 +0000)]
Merge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev
am: c4d6084

* commit 'c4d608488630222f96257c720c92b60a7bdd99fa':
  Revert "ART: Resolve all classes even when verify-profile"

Change-Id: I55ca1396d3cd72dc3cf8ed04db1a8d13c4a9b825

8 years agoMerge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev
Andreas Gampe [Fri, 1 Apr 2016 02:58:09 +0000 (02:58 +0000)]
Merge "Revert "ART: Resolve all classes even when verify-profile"" into nyc-dev

8 years agoMerge "ART: Actually run tests cross arch for oatdump" am: afc4829 am: 71bde08
Andreas Gampe [Fri, 1 Apr 2016 01:34:27 +0000 (01:34 +0000)]
Merge "ART: Actually run tests cross arch for oatdump" am: afc4829 am: 71bde08
am: 5da7cb7

* commit '5da7cb76dd7b5cde1edd93aae75cb79ecae464ce':
  ART: Actually run tests cross arch for oatdump

Change-Id: I869a6cbe25e7c42c9bea9e2fbc24d82940a39b7b

8 years agoMerge "ART: Actually run tests cross arch for oatdump" am: afc4829
Andreas Gampe [Fri, 1 Apr 2016 01:30:21 +0000 (01:30 +0000)]
Merge "ART: Actually run tests cross arch for oatdump" am: afc4829
am: 71bde08

* commit '71bde0810fdc7e1faa9e1f601bbcbf74a2db837d':
  ART: Actually run tests cross arch for oatdump

Change-Id: I678e935a7ab2ec489d3f19e1639ca7dae03644fe

8 years agoMerge "ART: Actually run tests cross arch for oatdump"
Andreas Gampe [Fri, 1 Apr 2016 01:26:06 +0000 (01:26 +0000)]
Merge "ART: Actually run tests cross arch for oatdump"
am: afc4829

* commit 'afc4829d593c173e8e9bdca90257a4cc8a104537':
  ART: Actually run tests cross arch for oatdump

Change-Id: I18204d0b9268456fd489d3d65c0a752dca5ea032

8 years agoMerge "ART: Do not run verification under lock" into nyc-dev am: 5f803f0
Andreas Gampe [Fri, 1 Apr 2016 01:26:06 +0000 (01:26 +0000)]
Merge "ART: Do not run verification under lock" into nyc-dev am: 5f803f0
am: 896781f

* commit '896781f0b1bf6034ca5cdb8fe087e8ecd71d23ec':
  ART: Do not run verification under lock

Change-Id: I1af5662ce056eb16ddc6584ae0040c73f567301d

8 years agoMerge "ART: Do not run verification under lock" into nyc-dev
Andreas Gampe [Fri, 1 Apr 2016 01:21:37 +0000 (01:21 +0000)]
Merge "ART: Do not run verification under lock" into nyc-dev
am: 5f803f0

* commit '5f803f0f7a5211ecda636293530e18c24b855d49':
  ART: Do not run verification under lock

Change-Id: I109a0ddbff391510d600684cb51b8421505bb257

8 years agoMerge "ART: Actually run tests cross arch for oatdump"
Andreas Gampe [Fri, 1 Apr 2016 01:13:17 +0000 (01:13 +0000)]
Merge "ART: Actually run tests cross arch for oatdump"

8 years agoMerge "ART: Do not run verification under lock" into nyc-dev
Andreas Gampe [Fri, 1 Apr 2016 01:08:44 +0000 (01:08 +0000)]
Merge "ART: Do not run verification under lock" into nyc-dev

8 years agoRevert "ART: Resolve all classes even when verify-profile"
Andreas Gampe [Fri, 1 Apr 2016 00:49:34 +0000 (17:49 -0700)]
Revert "ART: Resolve all classes even when verify-profile"

This reverts commit 82e8c1ff6d58e98a52725eeefc6c2407470239d2.

The deadlock is fixed by 884f3b83ed6b2a378535ac6b2be57d6b2e22de09.

Bug: 27924355

8 years agoART: Do not run verification under lock
Andreas Gampe [Thu, 31 Mar 2016 02:52:58 +0000 (19:52 -0700)]
ART: Do not run verification under lock

Do not hold the object lock for the duration of the verification.
Instead, use the kStatusVerifying indicator to wait, similar to
resolution.

Bug: 27924355

(cherry picked from commit 884f3b83ed6b2a378535ac6b2be57d6b2e22de09)

Change-Id: Ie831f47dd830756a1b7002ca9c792f8ff67570dc

8 years agoMerge changes from topic \'image_verify\' am: 19a4784 am: 36d4ec6
Mathieu Chartier [Thu, 31 Mar 2016 23:18:22 +0000 (23:18 +0000)]
Merge changes from topic \'image_verify\' am: 19a4784 am: 36d4ec6
am: e84e385

* commit 'e84e3856cc82a4780cc975f172898df25112b303':
  Disable checks for b/27493510
  Add verification for image ArtMethod declaring classes

Change-Id: Ie4fdf2bddf00b86d2536b7366715fcf8b3f485fc

8 years agoMerge changes from topic \'image_verify\' am: 19a4784
Mathieu Chartier [Thu, 31 Mar 2016 23:14:54 +0000 (23:14 +0000)]
Merge changes from topic \'image_verify\' am: 19a4784
am: 36d4ec6

* commit '36d4ec60f1d5963b69326cc61e2a6db0fff54ea7':
  Disable checks for b/27493510
  Add verification for image ArtMethod declaring classes

Change-Id: I33809874b914d560b214f7363e0f1d4aeeadc8a6

8 years agoMerge changes from topic \'image_verify\'
Mathieu Chartier [Thu, 31 Mar 2016 23:11:31 +0000 (23:11 +0000)]
Merge changes from topic \'image_verify\'
am: 19a4784

* commit '19a4784ce1b9c6a0b3d3cdb91a182baa7adbb946':
  Disable checks for b/27493510
  Add verification for image ArtMethod declaring classes

Change-Id: I6caf7ce96acbc0fade0010f9924f5b94f75ead45

8 years agoMerge "ART: Do not run verification under lock" am: a455ec2 am: ff5d050
Andreas Gampe [Thu, 31 Mar 2016 23:05:02 +0000 (23:05 +0000)]
Merge "ART: Do not run verification under lock" am: a455ec2 am: ff5d050
am: 78b6d38

* commit '78b6d38a2ea466ffc94c67806140c00f52a55220':
  ART: Do not run verification under lock

Change-Id: I59b261727bcb96d37ae281737ae769a09125a66c

8 years agoMerge "ART: Add support for DexFile compiler filter function" am: e669556 am: efdf9fb
Andreas Gampe [Thu, 31 Mar 2016 23:05:02 +0000 (23:05 +0000)]
Merge "ART: Add support for DexFile compiler filter function" am: e669556 am: efdf9fb
am: df6d01e

* commit 'df6d01e9d15cf9ce9f89d6d9c6d40e2738b237a7':
  ART: Add support for DexFile compiler filter function

Change-Id: I5e006b1e597efca6ab8e3e34d7a32248fcc5daf2

8 years agoMerge changes from topic 'image_verify'
Mathieu Chartier [Thu, 31 Mar 2016 23:03:07 +0000 (23:03 +0000)]
Merge changes from topic 'image_verify'

* changes:
  Disable checks for b/27493510
  Add verification for image ArtMethod declaring classes

8 years agoMerge "ART: Do not run verification under lock" am: a455ec2
Andreas Gampe [Thu, 31 Mar 2016 23:01:50 +0000 (23:01 +0000)]
Merge "ART: Do not run verification under lock" am: a455ec2
am: ff5d050

* commit 'ff5d050631ff042283a18bfa37bec0057db2b450':
  ART: Do not run verification under lock

Change-Id: Ibbbd44a0d6121ba4464a092a48ac15baeacaf5ec

8 years agoMerge "ART: Add support for DexFile compiler filter function" am: e669556
Andreas Gampe [Thu, 31 Mar 2016 23:01:50 +0000 (23:01 +0000)]
Merge "ART: Add support for DexFile compiler filter function" am: e669556
am: efdf9fb

* commit 'efdf9fb98d356d40ead1f51397bba51ec27ddb96':
  ART: Add support for DexFile compiler filter function

Change-Id: Ic7621816f9ea6fd54f37b890f224fdb97f29389e

8 years agoMerge "ART: Do not run verification under lock"
Andreas Gampe [Thu, 31 Mar 2016 22:58:18 +0000 (22:58 +0000)]
Merge "ART: Do not run verification under lock"
am: a455ec2

* commit 'a455ec2db2f4a59c524a7a3d3eabca046ed5dd29':
  ART: Do not run verification under lock

Change-Id: Iab0d138734de8a5af733728ffe9e52dde8208fe0

8 years agoMerge "ART: Add support for DexFile compiler filter function"
Andreas Gampe [Thu, 31 Mar 2016 22:58:17 +0000 (22:58 +0000)]
Merge "ART: Add support for DexFile compiler filter function"
am: e669556

* commit 'e6695569f086df8d0e9ab0d898aed13b1f1ea740':
  ART: Add support for DexFile compiler filter function

Change-Id: Id5ef8876f37cc1048fa1f06a35e51122b3d3567e

8 years agoMerge "ART: Do not run verification under lock"
Andreas Gampe [Thu, 31 Mar 2016 22:55:31 +0000 (22:55 +0000)]
Merge "ART: Do not run verification under lock"

8 years agoDisable checks for b/27493510
Mathieu Chartier [Thu, 31 Mar 2016 22:05:45 +0000 (15:05 -0700)]
Disable checks for b/27493510

Disabled for performance now that the bug is fixed. Still enabled
for debug builds.

Bug: 27493510

(cherry picked from commit 8790c7f9f7d684bff40d5731b2d8e3462ef8ed90)

Change-Id: I049d4319bca1114bd11a35bb13fc9d80c993260c

8 years agoART: Do not run verification under lock
Andreas Gampe [Thu, 31 Mar 2016 02:52:58 +0000 (19:52 -0700)]
ART: Do not run verification under lock

Do not hold the object lock for the duration of the verification.
Instead, use the kStatusVerifying indicator to wait, similar to
resolution.

Bug: 27924355
Change-Id: Ie831f47dd830756a1b7002ca9c792f8ff67570dc

8 years agoAdd verification for image ArtMethod declaring classes
Mathieu Chartier [Tue, 8 Mar 2016 00:13:54 +0000 (16:13 -0800)]
Add verification for image ArtMethod declaring classes

Try and see if any ArtMethods in the image have declaring classes
that are not marked in the heap live bitmap. Trying to mark these
would cause a SIGSEGV since the bitmap is read only.

TODO: Disable for performance.

(cherry-picked from commit 03c1dd9858962071bf3f0c988abc39e0e6ed7a1e)

Bug: 27493510
Change-Id: I231b07b84d98dcd7ee1557c18956c86264058ee1

8 years agoMerge "ART: Add support for DexFile compiler filter function"
Andreas Gampe [Thu, 31 Mar 2016 22:52:51 +0000 (22:52 +0000)]
Merge "ART: Add support for DexFile compiler filter function"

8 years agoDisable checks for b/27493510 am: 8790c7f
Mathieu Chartier [Thu, 31 Mar 2016 22:50:49 +0000 (22:50 +0000)]
Disable checks for b/27493510 am: 8790c7f
am: b72e3e7

* commit 'b72e3e78dac79a55bdd1f55741b5f01dfed63254':
  Disable checks for b/27493510

Change-Id: Ibf583762d1da88a3e9d4e9526bf72dff5488791d

8 years agoDisable checks for b/27493510
Mathieu Chartier [Thu, 31 Mar 2016 22:47:19 +0000 (22:47 +0000)]
Disable checks for b/27493510
am: 8790c7f

* commit '8790c7f9f7d684bff40d5731b2d8e3462ef8ed90':
  Disable checks for b/27493510

Change-Id: If3a564e20bfd268e9660a1c972853dbe150d4917

8 years agoRefine OatFileAssistant.MakeUpToDate failure result.
Richard Uhler [Wed, 30 Mar 2016 19:17:55 +0000 (12:17 -0700)]
Refine OatFileAssistant.MakeUpToDate failure result.

Avoid misleading log messages if MakeUpToDate fails because we decided
not to compile dex code.

Bug: 27641809
(cherry picked from commit 1e860619cdcc9c0b6a202a247c50cf7633ac7b74)

Change-Id: Iab6f8ff2756393bfe3a7be4643e908be648bd10d

8 years agoMerge "Remove obsolete ANDROID_COMPILE_WITH_JACK" am: 835e023 am: d07afb5
Sebastien Hertz [Thu, 31 Mar 2016 22:18:24 +0000 (22:18 +0000)]
Merge "Remove obsolete ANDROID_COMPILE_WITH_JACK" am: 835e023 am: d07afb5
am: d93a7a9

* commit 'd93a7a945181dda99a8c4355e61b939542a5da3a':
  Remove obsolete ANDROID_COMPILE_WITH_JACK

Change-Id: I0d7c7389b32a4480bf7076f0759572dc65f715cb

8 years agoMerge "Add way to disable resolving for stack walk" am: b1e4b48 am: a611377
Mathieu Chartier [Thu, 31 Mar 2016 22:18:24 +0000 (22:18 +0000)]
Merge "Add way to disable resolving for stack walk" am: b1e4b48 am: a611377
am: aa0a2ff

* commit 'aa0a2fffcce7afa673b36439718d04be07701686':
  Add way to disable resolving for stack walk

Change-Id: I7c78a2360876bdab08813b8659c5a565a6212f40

8 years agoMerge "Remove obsolete ANDROID_COMPILE_WITH_JACK" am: 835e023
Sebastien Hertz [Thu, 31 Mar 2016 22:15:12 +0000 (22:15 +0000)]
Merge "Remove obsolete ANDROID_COMPILE_WITH_JACK" am: 835e023
am: d07afb5

* commit 'd07afb559168765ee1fbb24f33314dfd329f3db9':
  Remove obsolete ANDROID_COMPILE_WITH_JACK

Change-Id: If47a28193709bc6ce41e35e76b1a7923bcc08fec

8 years agoMerge "Add way to disable resolving for stack walk" am: b1e4b48
Mathieu Chartier [Thu, 31 Mar 2016 22:15:12 +0000 (22:15 +0000)]
Merge "Add way to disable resolving for stack walk" am: b1e4b48
am: a611377

* commit 'a611377de7573b2fa38e3d6ab3ff6d81ff87d67e':
  Add way to disable resolving for stack walk

Change-Id: I72ab04f95f2251fcf12d6d11cb9317cd17b7abb8

8 years agoDisable checks for b/27493510
Mathieu Chartier [Thu, 31 Mar 2016 22:05:45 +0000 (15:05 -0700)]
Disable checks for b/27493510

Disabled for performance now that the bug is fixed. Still enabled
for debug builds.

Bug: 27493510
Change-Id: I4838b63d79163b97b47e13b201349a72c352ff38

8 years agoMerge "Remove obsolete ANDROID_COMPILE_WITH_JACK"
Sebastien Hertz [Thu, 31 Mar 2016 22:11:55 +0000 (22:11 +0000)]
Merge "Remove obsolete ANDROID_COMPILE_WITH_JACK"
am: 835e023

* commit '835e02367727fd981330b64ba938ecd7f675b408':
  Remove obsolete ANDROID_COMPILE_WITH_JACK

Change-Id: I6af8c6dacad62482cbee673df05d50ed7ea8d2f7

8 years agoMerge "Add way to disable resolving for stack walk"
Mathieu Chartier [Thu, 31 Mar 2016 22:11:55 +0000 (22:11 +0000)]
Merge "Add way to disable resolving for stack walk"
am: b1e4b48

* commit 'b1e4b48c97d79530c863d80453c3d5d9aab056cc':
  Add way to disable resolving for stack walk

Change-Id: I45e1f29a5e50a8a51055b0839d919200774f92cd

8 years agoMerge "Remove obsolete ANDROID_COMPILE_WITH_JACK"
Ying Wang [Thu, 31 Mar 2016 22:05:04 +0000 (22:05 +0000)]
Merge "Remove obsolete ANDROID_COMPILE_WITH_JACK"

8 years agoMerge "Add way to disable resolving for stack walk"
Mathieu Chartier [Thu, 31 Mar 2016 21:59:35 +0000 (21:59 +0000)]
Merge "Add way to disable resolving for stack walk"

8 years agoAdd way to disable resolving for stack walk am: be2892b
Mathieu Chartier [Thu, 31 Mar 2016 21:56:08 +0000 (21:56 +0000)]
Add way to disable resolving for stack walk am: be2892b
am: 8a2e59c

* commit '8a2e59c1378a55ef462e8522affb6a74114c0310':
  Add way to disable resolving for stack walk

Change-Id: If3d7fa039c5920bb1d38b88360cac61c577d9d81

8 years agoAdd way to disable resolving for stack walk
Mathieu Chartier [Thu, 31 Mar 2016 21:52:52 +0000 (21:52 +0000)]
Add way to disable resolving for stack walk
am: be2892b

* commit 'be2892bf771435eb451c74297b553f7dc9fea4ca':
  Add way to disable resolving for stack walk

Change-Id: Ib03ce9d113032af97fbf3093e58dacffd46b77f8

8 years agoAdd way to disable resolving for stack walk
Mathieu Chartier [Thu, 31 Mar 2016 18:07:09 +0000 (11:07 -0700)]
Add way to disable resolving for stack walk

Only occurs for walking the inlined frames case.

Bug: 27857910

(cherry picked from commit be2892bf771435eb451c74297b553f7dc9fea4ca)

Change-Id: Ied92be96f2f74ba02c02168f704443b95e7a4b04

8 years agoMerge "Obtain stack trace outside of critical section" am: 6872412 am: e9bc522
Mathieu Chartier [Thu, 31 Mar 2016 21:20:04 +0000 (21:20 +0000)]
Merge "Obtain stack trace outside of critical section" am: 6872412 am: e9bc522
am: e0370e5

* commit 'e0370e52dd8babfee2a549eec84ef507f8262553':
  Obtain stack trace outside of critical section

Change-Id: I256caf348d50a7c8480ece6726aae3820fc654ce

8 years agoMerge "Obtain stack trace outside of critical section" am: 6872412
Mathieu Chartier [Thu, 31 Mar 2016 21:13:45 +0000 (21:13 +0000)]
Merge "Obtain stack trace outside of critical section" am: 6872412
am: e9bc522

* commit 'e9bc5227dae30d8589d6e53f8876e7b7bbf2463f':
  Obtain stack trace outside of critical section

Change-Id: I15ee74349d9002d93ff064a26a1eb55a0c215b53

8 years agoPack stack map entries on bit level to save space.
David Srbecky [Fri, 12 Feb 2016 21:58:43 +0000 (21:58 +0000)]
Pack stack map entries on bit level to save space.

Use only the minimum number of bits required to store stack map data.
For example, if native_pc needs 5 bits and dex_pc needs 3 bits, they
will share the first byte of the stack map entry.

The header is changed to store bit offsets of the fields rather than
byte sizes. Offsets also make it easier to access later fields without
calculating sum of all previous sizes.

All of the header fields are byte sized or encoded as ULEB128 instead
of the previous fixed size encoding. This shrinks it by about half.

It saves 3.6 MB from non-debuggable boot.oat (AOSP).
It saves 3.1 MB from debuggable boot.oat (AOSP).

It saves 2.8 MB (of 99.4 MB) from /system/framework/arm/ (GOOG).
It saves 1.0 MB (of 27.8 MB) from /system/framework/oat/arm/ (GOOG).

Field loads from stackmaps seem to get around 10% faster.
(based on the time it takes to load all stackmap entries from boot.oat)

Bug: 27640410
Change-Id: I8bf0996b4eb24300c1b0dfc6e9d99fe85d04a1b7

8 years agoMerge "Obtain stack trace outside of critical section"
Mathieu Chartier [Thu, 31 Mar 2016 21:10:31 +0000 (21:10 +0000)]
Merge "Obtain stack trace outside of critical section"
am: 6872412

* commit '68724122b444e531d65413b1d9039f6e5fca52b3':
  Obtain stack trace outside of critical section

Change-Id: If75300fc1ea558b5f838e5c521d10cf96a325750

8 years agoMerge "Obtain stack trace outside of critical section"
Mathieu Chartier [Thu, 31 Mar 2016 21:05:30 +0000 (21:05 +0000)]
Merge "Obtain stack trace outside of critical section"

8 years agoAdd way to disable resolving for stack walk
Mathieu Chartier [Thu, 31 Mar 2016 18:07:09 +0000 (11:07 -0700)]
Add way to disable resolving for stack walk

Only occurs for walking the inlined frames case.

Bug: 27857910

Change-Id: Idb90254879ebae4c756ee1a3d235999ae589a2a8

8 years agoMerge "Obtain stack trace outside of critical section" into nyc-dev am: 91deb8a
Mathieu Chartier [Thu, 31 Mar 2016 20:10:36 +0000 (20:10 +0000)]
Merge "Obtain stack trace outside of critical section" into nyc-dev am: 91deb8a
am: 18c18f6

* commit '18c18f6bbf52908ed42ec486dc4827914d24337b':
  Obtain stack trace outside of critical section

Change-Id: I6cd9bad02db66345cc13b2ce36d825f9b463ec03

8 years agoMerge "Obtain stack trace outside of critical section" into nyc-dev
Mathieu Chartier [Thu, 31 Mar 2016 20:07:29 +0000 (20:07 +0000)]
Merge "Obtain stack trace outside of critical section" into nyc-dev
am: 91deb8a

* commit '91deb8a52894c1e8f0d1cb18147bb74083cebb00':
  Obtain stack trace outside of critical section

Change-Id: I91a679fde7900c4406221cdcbbb3609e69206a52

8 years agoObtain stack trace outside of critical section
Mathieu Chartier [Tue, 29 Mar 2016 21:02:55 +0000 (14:02 -0700)]
Obtain stack trace outside of critical section

Fixes deadlock if the stack walk does allocations, changed stack
trace format to prevent slowdown.

Added missing GetInterfaceMethodIfProxy to fix a crash in maps.

Bug: 27857910

(cherry picked from commit 23428587d32361736d4c5e0ba7270c7602695a43)

Change-Id: I64373bcd87a68fdd1b58fb855db2b16c9f6ed36b

8 years agoMerge "Obtain stack trace outside of critical section" into nyc-dev
Mathieu Chartier [Thu, 31 Mar 2016 19:59:38 +0000 (19:59 +0000)]
Merge "Obtain stack trace outside of critical section" into nyc-dev

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result." am: fd9ac38 am: 6adc6fe
Richard Uhler [Thu, 31 Mar 2016 19:42:29 +0000 (19:42 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result." am: fd9ac38 am: 6adc6fe
am: be22bab

* commit 'be22bab9ade6572d6ce1f60705c895852ec4e3ba':
  Refine OatFileAssistant.MakeUpToDate failure result.

Change-Id: Ic3ec1f7fed3650157d567a8bd57724f641e9b53f

8 years agoMerge "Only log excessive timeouts if those appear accidental" into nyc-dev am: b655c37
Hans Boehm [Thu, 31 Mar 2016 19:36:17 +0000 (19:36 +0000)]
Merge "Only log excessive timeouts if those appear accidental" into nyc-dev am: b655c37
am: da66c7c

* commit 'da66c7c8d89f619ac2e3788bcdb456e87f028fac':
  Only log excessive timeouts if those appear accidental

Change-Id: Ie6aa9a69671f8665e46a2cf5ffc4c420fc164eae

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result." am: fd9ac38
Richard Uhler [Thu, 31 Mar 2016 19:36:16 +0000 (19:36 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result." am: fd9ac38
am: 6adc6fe

* commit '6adc6fe4bcadccf2f2aaa6a6159e975dd93eb5f8':
  Refine OatFileAssistant.MakeUpToDate failure result.

Change-Id: If78fa58cc605f4999c966585225aa383c7447eec

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result."
Richard Uhler [Thu, 31 Mar 2016 19:32:59 +0000 (19:32 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result."
am: fd9ac38

* commit 'fd9ac384741435902d4fc03034f4cbaafaa85780':
  Refine OatFileAssistant.MakeUpToDate failure result.

Change-Id: I58b3390da7f9d704405516873c2bf528c726c46d

8 years agoMerge "Only log excessive timeouts if those appear accidental" into nyc-dev
Hans Boehm [Thu, 31 Mar 2016 19:32:59 +0000 (19:32 +0000)]
Merge "Only log excessive timeouts if those appear accidental" into nyc-dev
am: b655c37

* commit 'b655c37fd00876fa61ea6a41e317028866283028':
  Only log excessive timeouts if those appear accidental

Change-Id: I886bd1094723dec9a55ae11b32886bc1dd348b5b

8 years agoMerge "Refine OatFileAssistant.MakeUpToDate failure result."
Richard Uhler [Thu, 31 Mar 2016 19:27:54 +0000 (19:27 +0000)]
Merge "Refine OatFileAssistant.MakeUpToDate failure result."

8 years agoMerge "Only log excessive timeouts if those appear accidental" into nyc-dev
Hans Boehm [Thu, 31 Mar 2016 19:25:13 +0000 (19:25 +0000)]
Merge "Only log excessive timeouts if those appear accidental" into nyc-dev

8 years agoART: Add support for DexFile compiler filter function am: fd97429
Andreas Gampe [Thu, 31 Mar 2016 18:27:51 +0000 (18:27 +0000)]
ART: Add support for DexFile compiler filter function am: fd97429
am: 95c7c53

* commit '95c7c537691db81b82cfd15168c75d0acd56cdc4':
  ART: Add support for DexFile compiler filter function

Change-Id: I87496b07c97012e6e20870e349f4fb73609ca0d3

8 years agoART: Add support for DexFile compiler filter function
Andreas Gampe [Thu, 31 Mar 2016 18:24:53 +0000 (18:24 +0000)]
ART: Add support for DexFile compiler filter function
am: fd97429

* commit 'fd97429f258acde6ee24a6f74c9050b2343e40cd':
  ART: Add support for DexFile compiler filter function

Change-Id: I09e3971bdb40af4400f15c08420e335f6dfa422e

8 years agoART: Add support for DexFile compiler filter function
Andreas Gampe [Thu, 31 Mar 2016 00:19:48 +0000 (17:19 -0700)]
ART: Add support for DexFile compiler filter function

Add support for getting a non-profile-guided version of a given
compiler filter.

Bug: 27921071

(cherry picked from commit fd97429f258acde6ee24a6f74c9050b2343e40cd)

Change-Id: I54735b61732e6a5c9dc62425d04bc740dd365083

8 years agoMerge "Remove many `instrumentation` variables from goto interpreter." am: 9590a53...
Vladimir Marko [Thu, 31 Mar 2016 18:13:27 +0000 (18:13 +0000)]
Merge "Remove many `instrumentation` variables from goto interpreter." am: 9590a53 am: 82be946
am: 34ddfa0

* commit '34ddfa034f6e22f9c8d5121c39aaa6019efd8ec4':
  Remove many `instrumentation` variables from goto interpreter.

Change-Id: I7281e53f71b6c9bef2dbe238921c9f56699febd8

8 years agoFix thumb bit in the oatdump symbolizer.
David Srbecky [Thu, 31 Mar 2016 17:17:59 +0000 (18:17 +0100)]
Fix thumb bit in the oatdump symbolizer.

MethodDebugInfo expects code address without the bit set.
Therefore we need to clear it before passing it to the DWARF writer.

Change-Id: I37586b19f2a3fc95107abb6204a34e95a3816936

8 years agoMerge "Remove many `instrumentation` variables from goto interpreter." am: 9590a53
Vladimir Marko [Thu, 31 Mar 2016 18:07:12 +0000 (18:07 +0000)]
Merge "Remove many `instrumentation` variables from goto interpreter." am: 9590a53
am: 82be946

* commit '82be9464f9f160df4bd9086a0f69f254455dcf88':
  Remove many `instrumentation` variables from goto interpreter.

Change-Id: I2beeb39a9a813b7af208ff38076dd3985737edae

8 years agoMerge "Remove many `instrumentation` variables from goto interpreter."
Vladimir Marko [Thu, 31 Mar 2016 18:04:17 +0000 (18:04 +0000)]
Merge "Remove many `instrumentation` variables from goto interpreter."
am: 9590a53

* commit '9590a5388ae80c7edba96de777eb5f96a896e681':
  Remove many `instrumentation` variables from goto interpreter.

Change-Id: I8f119dbab35a9391a2de261e922cd4f7c52376c4

8 years agoMerge "Remove many `instrumentation` variables from goto interpreter."
Vladimir Marko [Thu, 31 Mar 2016 17:53:44 +0000 (17:53 +0000)]
Merge "Remove many `instrumentation` variables from goto interpreter."

8 years agoObtain stack trace outside of critical section
Mathieu Chartier [Tue, 29 Mar 2016 21:02:55 +0000 (14:02 -0700)]
Obtain stack trace outside of critical section

Fixes deadlock if the stack walk does allocations, changed stack
trace format to prevent slowdown.

Added missing GetInterfaceMethodIfProxy to fix a crash in maps.

Bug: 27857910

Change-Id: Iba86b7390a87349c38785297ac76751417b0fc87

8 years agoOnly log excessive timeouts if those appear accidental
Hans Boehm [Mon, 28 Mar 2016 21:36:23 +0000 (14:36 -0700)]
Only log excessive timeouts if those appear accidental

Do not generate a log message even when timeout would cause us to wake
up past the end of Linux time, if the timeout specification looks like
it was meant to wait forever.  Avoids log spam.

Bug: 27723547
Change-Id: I98d0fc1b1813a10ad906282957675b85bd933472
(cherry picked from commit fe76a629e7f9932c8e6a476d25358445273d893d)