OSDN Git Service

android-x86/art.git
8 years agoMerge "Revert "ART: Weaken DCHECK""
Nicolas Geoffray [Wed, 23 Mar 2016 15:36:43 +0000 (15:36 +0000)]
Merge "Revert "ART: Weaken DCHECK""
am: 3920099

* commit '3920099f578fd8015777bc3c1c7392a08b1e08e7':
  Revert "ART: Weaken DCHECK"

8 years agoMerge "Revert "ART: Temporarily disable test""
Nicolas Geoffray [Wed, 23 Mar 2016 15:36:42 +0000 (15:36 +0000)]
Merge "Revert "ART: Temporarily disable test""
am: 3504ca2

* commit '3504ca23eb2f5846d464f0da5b122d284e00641d':
  Revert "ART: Temporarily disable test"

8 years agoMerge "Update run-test 097-duplicate-method"
Sebastien Hertz [Wed, 23 Mar 2016 15:36:42 +0000 (15:36 +0000)]
Merge "Update run-test 097-duplicate-method"
am: e9b6bea

* commit 'e9b6bea979ee9a450ebc4b5611514ba3f82f24d8':
  Update run-test 097-duplicate-method

8 years agoMerge "Revert "Use compiler filter to determine oat file status.""
Nicolas Geoffray [Wed, 23 Mar 2016 15:36:41 +0000 (15:36 +0000)]
Merge "Revert "Use compiler filter to determine oat file status.""
am: 7ddf7e9

* commit '7ddf7e944121528239dc8afc70cbc14027f561ac':
  Revert "Use compiler filter to determine oat file status."

8 years agoMerge "Improve ProfileSaver to cache data and do minimal I/O" into nyc-dev
Calin Juravle [Wed, 23 Mar 2016 12:47:21 +0000 (12:47 +0000)]
Merge "Improve ProfileSaver to cache data and do minimal I/O" into nyc-dev
am: c7bb728

* commit 'c7bb72887b0cbad6b8c6a550baa6524011d91c76':
  Improve ProfileSaver to cache data and do minimal I/O

8 years agoMerge "Improve ProfileSaver to cache data and do minimal I/O" into nyc-dev
Calin Juravle [Wed, 23 Mar 2016 12:35:26 +0000 (12:35 +0000)]
Merge "Improve ProfileSaver to cache data and do minimal I/O" into nyc-dev

8 years agoImprove ProfileSaver to cache data and do minimal I/O
Calin Juravle [Fri, 18 Mar 2016 16:23:40 +0000 (16:23 +0000)]
Improve ProfileSaver to cache data and do minimal I/O

This CLs introducing caching to further optimize the I/O performed by
the ProfileSaver. The cache stats are also recorded.

Resolved classes are captured and cached after 2 seconds but written
later during application lifetime.

Methods are also cached and the write got smarter to avoid
reading/writing them if it's not needed.

On non scientific experiments the size of the cache reaches just a few
hundreds uint16_t values kept in set, so its impact is minimal.

In terms of how much data we write. In the same non scientific
experiments this reduces the total bytes written by at least 2-3x. In
the first few minutes of after the boot gmscore writes ~3KB (down from
9kb) and quicksearchlauncher writes ~20KB (down from 40KB).

Bug: 27600652

Change-Id: I3a4e7051ccf04ac8fbd5896d328692db773e979d

8 years agoLet tests inform Jack of the min api version
Yohann Roussel [Wed, 23 Mar 2016 08:23:35 +0000 (08:23 +0000)]
Let tests inform Jack of the min api version
am: 38c0da4

* commit '38c0da49e93309378f14babb9c9bf92691b4f76d':
  Let tests inform Jack of the min api version

8 years agoMerge "Revert "ART: Weaken DCHECK""
Nicolas Geoffray [Wed, 23 Mar 2016 08:22:29 +0000 (08:22 +0000)]
Merge "Revert "ART: Weaken DCHECK""

8 years agoRevert "ART: Weaken DCHECK"
Nicolas Geoffray [Wed, 23 Mar 2016 08:22:12 +0000 (08:22 +0000)]
Revert "ART: Weaken DCHECK"

Change that triggered this got reverted. This "fix" needs more investigation.

This reverts commit 1ee29d3dd3fbbf5df7821b70f45c49275c878e63.

Change-Id: Iee9e88f0e993edc0c7212e36d48ded1d31209156

8 years agoMerge "Revert "ART: Temporarily disable test""
Nicolas Geoffray [Wed, 23 Mar 2016 08:21:35 +0000 (08:21 +0000)]
Merge "Revert "ART: Temporarily disable test""

8 years agoRevert "ART: Temporarily disable test"
Nicolas Geoffray [Wed, 23 Mar 2016 08:21:19 +0000 (08:21 +0000)]
Revert "ART: Temporarily disable test"

Offending change has been reverted.

Bug: 27689078

This reverts commit 51135830a760ff647e5eb164d744abc769b006a7.

Change-Id: I794127eb9f2c0dfb08039eecffd777b7d94f0ed6

8 years agoMerge "Update run-test 097-duplicate-method"
Sebastien Hertz [Wed, 23 Mar 2016 08:04:17 +0000 (08:04 +0000)]
Merge "Update run-test 097-duplicate-method"

8 years agoMerge "Revert "Use compiler filter to determine oat file status.""
Nicolas Geoffray [Wed, 23 Mar 2016 06:42:39 +0000 (06:42 +0000)]
Merge "Revert "Use compiler filter to determine oat file status.""

8 years agoRevert "Use compiler filter to determine oat file status."
Nicolas Geoffray [Wed, 23 Mar 2016 06:42:05 +0000 (06:42 +0000)]
Revert "Use compiler filter to determine oat file status."

Bots are red. Tentative reverting as this is likely the offender.

Bug: 27689078

This reverts commit a62d2f04a6ecf804f8a78e722a6ca8ccb2dfa931.

Change-Id: I3ec6947a5a4be878ff81f26f17dc36a209734e2a

8 years agoMerge "ART: Weaken DCHECK"
Andreas Gampe [Wed, 23 Mar 2016 05:52:06 +0000 (05:52 +0000)]
Merge "ART: Weaken DCHECK"
am: 3e86d67

* commit '3e86d670e478459e3f82ac3e41dd7de809caed50':
  ART: Weaken DCHECK

8 years agoMerge "ART: Temporarily disable test"
Andreas Gampe [Wed, 23 Mar 2016 05:52:06 +0000 (05:52 +0000)]
Merge "ART: Temporarily disable test"
am: 0197bb5

* commit '0197bb59a87583c2363cedd85a72bd401f38338b':
  ART: Temporarily disable test

8 years agoMerge "ART: Weaken DCHECK"
Andreas Gampe [Wed, 23 Mar 2016 05:05:36 +0000 (05:05 +0000)]
Merge "ART: Weaken DCHECK"

8 years agoART: Weaken DCHECK
Andreas Gampe [Wed, 23 Mar 2016 05:03:46 +0000 (22:03 -0700)]
ART: Weaken DCHECK

Returns may be either plain or quickened.

Change-Id: Iee343c02fe3e02512c0ed60508525495a7cd5efb

8 years agoMerge "ART: Temporarily disable test"
Andreas Gampe [Wed, 23 Mar 2016 05:02:50 +0000 (05:02 +0000)]
Merge "ART: Temporarily disable test"

8 years agoART: Temporarily disable test
Andreas Gampe [Wed, 23 Mar 2016 04:29:59 +0000 (21:29 -0700)]
ART: Temporarily disable test

For investigation.

Bug: 27689078
Change-Id: Ibcd24f90f68ac64119dfad9b17a42bed252ff009

8 years agoMerge "Delete too spammy VLOG(heap) in ReleasePrimitiveArray"
Mathieu Chartier [Wed, 23 Mar 2016 01:21:38 +0000 (01:21 +0000)]
Merge "Delete too spammy VLOG(heap) in ReleasePrimitiveArray"
am: be4f66c

* commit 'be4f66c498a5b3da4af5171e948aa1688d1093d2':
  Delete too spammy VLOG(heap) in ReleasePrimitiveArray

8 years agoMerge "Delete too spammy VLOG(heap) in ReleasePrimitiveArray"
Mathieu Chartier [Wed, 23 Mar 2016 01:01:56 +0000 (01:01 +0000)]
Merge "Delete too spammy VLOG(heap) in ReleasePrimitiveArray"

8 years agoMerge "Use compiler filter to determine oat file status."
Richard Uhler [Wed, 23 Mar 2016 01:00:23 +0000 (01:00 +0000)]
Merge "Use compiler filter to determine oat file status."
am: 317a3d8

* commit '317a3d8077410680e0cca57d83b8cafeddd5ba62':
  Use compiler filter to determine oat file status.

8 years agoMerge "Rename test to avoid too long file names."
Nicolas Geoffray [Wed, 23 Mar 2016 01:00:22 +0000 (01:00 +0000)]
Merge "Rename test to avoid too long file names."
am: fb98df3

* commit 'fb98df39c6265d13002137203c6457c00ba5e63e':
  Rename test to avoid too long file names.

8 years agoMerge "Disable test for now."
Nicolas Geoffray [Wed, 23 Mar 2016 01:00:22 +0000 (01:00 +0000)]
Merge "Disable test for now."
am: 2794b41

* commit '2794b41641c36af5af92fa79f260968a8cffd8d3':
  Disable test for now.

8 years agoMerge "Optimizing: Reduce GraphChecker memory usage."
Vladimir Marko [Wed, 23 Mar 2016 01:00:22 +0000 (01:00 +0000)]
Merge "Optimizing: Reduce GraphChecker memory usage."
am: 48e7224

* commit '48e722432bb6e19df7bba02427e4a707e671af06':
  Optimizing: Reduce GraphChecker memory usage.

8 years agoMerge "ART: Clean up arena allocation memory tracking."
Vladimir Marko [Wed, 23 Mar 2016 01:00:21 +0000 (01:00 +0000)]
Merge "ART: Clean up arena allocation memory tracking."
am: 9a3c1fa

* commit '9a3c1fa119350ebd390c63cc464e0a373dd296dd':
  ART: Clean up arena allocation memory tracking.

8 years agoMerge "Tighten art::HNeg type constraints on its input."
Roland Levillain [Wed, 23 Mar 2016 01:00:20 +0000 (01:00 +0000)]
Merge "Tighten art::HNeg type constraints on its input."
am: 6fa06e6

* commit '6fa06e6f5a92cd318021afad9b036126438b2de4':
  Tighten art::HNeg type constraints on its input.

8 years agoMerge "MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics."
Alexey Frunze [Wed, 23 Mar 2016 01:00:20 +0000 (01:00 +0000)]
Merge "MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics."
am: 2a07b80

* commit '2a07b80dfbfb869aabe96c88b10e07d26c0ce137':
  MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics.

8 years agoMerge "Fix missing header inclusion in art/runtime/thread.cc."
Roland Levillain [Wed, 23 Mar 2016 01:00:19 +0000 (01:00 +0000)]
Merge "Fix missing header inclusion in art/runtime/thread.cc."
am: db17ce1

* commit 'db17ce13157bb2d8562d1b09682ee55fe69088e4':
  Fix missing header inclusion in art/runtime/thread.cc.

8 years agoMerge "Rename test to avoid too long filenames."
Nicolas Geoffray [Wed, 23 Mar 2016 01:00:18 +0000 (01:00 +0000)]
Merge "Rename test to avoid too long filenames."
am: c507fb6

* commit 'c507fb6d11c38065c4898e79e4cfaaf3ef904079':
  Rename test to avoid too long filenames.

8 years agoMerge "Add an ImtConflictTable to better resolve IMT conflicts."
Nicolas Geoffray [Wed, 23 Mar 2016 01:00:17 +0000 (01:00 +0000)]
Merge "Add an ImtConflictTable to better resolve IMT conflicts."
am: 1f4364d

* commit '1f4364d180d231a7d086eb0641deec30f71d02e6':
  Add an ImtConflictTable to better resolve IMT conflicts.

8 years agoMerge "Use compiler filter to determine oat file status."
Richard Uhler [Wed, 23 Mar 2016 00:28:32 +0000 (00:28 +0000)]
Merge "Use compiler filter to determine oat file status."

8 years agoUse compiler filter to determine oat file status.
Richard Uhler [Fri, 18 Mar 2016 22:05:30 +0000 (15:05 -0700)]
Use compiler filter to determine oat file status.

Record the compiler filter in the oat header. Use that to determine
when the oat file is up-to-date with respect to a target compiler
filter level.

New xxx-profile filter levels are added to specify if a profile should
be used instead of testing for the presence of a profile file.

This change should allow for different compiler-filters to be set for
different package manager use cases.

Bug: 27689078
Change-Id: Id6706d0ed91b45f307142692ea4316aa9713b023

8 years agoMerge "Rename test to avoid too long file names."
Nicolas Geoffray [Tue, 22 Mar 2016 22:25:52 +0000 (22:25 +0000)]
Merge "Rename test to avoid too long file names."

8 years agoRename test to avoid too long file names.
Nicolas Geoffray [Tue, 22 Mar 2016 22:25:01 +0000 (22:25 +0000)]
Rename test to avoid too long file names.

Change-Id: Ife227f73c7baf1d05bcc6949faadf92753332f8d

8 years agoDelete too spammy VLOG(heap) in ReleasePrimitiveArray
Mathieu Chartier [Tue, 22 Mar 2016 22:19:47 +0000 (15:19 -0700)]
Delete too spammy VLOG(heap) in ReleasePrimitiveArray

Change-Id: I7a482ba366d7ad3e5d1689ae615dbcacbc7a41a6

8 years agoMerge "Disable test for now."
Nicolas Geoffray [Tue, 22 Mar 2016 21:50:13 +0000 (21:50 +0000)]
Merge "Disable test for now."

8 years agoDisable test for now.
Nicolas Geoffray [Tue, 22 Mar 2016 21:47:16 +0000 (21:47 +0000)]
Disable test for now.

bug:27794971
Change-Id: I31e1b2472271c6f54c9e0b7bf75fbdf7ebeba73d

8 years agoMerge "Optimizing: Reduce GraphChecker memory usage."
Vladimir Marko [Tue, 22 Mar 2016 19:02:00 +0000 (19:02 +0000)]
Merge "Optimizing: Reduce GraphChecker memory usage."

8 years agoMerge "ART: Clean up arena allocation memory tracking."
Vladimir Marko [Tue, 22 Mar 2016 18:38:46 +0000 (18:38 +0000)]
Merge "ART: Clean up arena allocation memory tracking."

8 years agoOptimizing: Reduce GraphChecker memory usage.
Vladimir Marko [Tue, 22 Mar 2016 17:51:29 +0000 (17:51 +0000)]
Optimizing: Reduce GraphChecker memory usage.

Bug: 27690481
Change-Id: I15ce5524d94fc1780da02e6471bede66b3a1b82a

8 years agoMerge "Tighten art::HNeg type constraints on its input."
Roland Levillain [Tue, 22 Mar 2016 16:38:18 +0000 (16:38 +0000)]
Merge "Tighten art::HNeg type constraints on its input."

8 years agoART: Clean up arena allocation memory tracking.
Vladimir Marko [Tue, 22 Mar 2016 16:26:33 +0000 (16:26 +0000)]
ART: Clean up arena allocation memory tracking.

Remove unused allocation types, mostly from removed Quick.
Move logging one level up to capture memory used by stack
maps during AOT compilation. Raise the reporting threshold
to 8MiB to limit the output to the worst offenders.

Change-Id: I8c7a01bfa90bc8ec5eab66187eb6850a022f3543

8 years agoMerge "MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics."
Roland Levillain [Tue, 22 Mar 2016 16:19:02 +0000 (16:19 +0000)]
Merge "MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics."

8 years agoMerge "Fix missing header inclusion in art/runtime/thread.cc."
Roland Levillain [Tue, 22 Mar 2016 16:01:54 +0000 (16:01 +0000)]
Merge "Fix missing header inclusion in art/runtime/thread.cc."

8 years agoFix missing header inclusion in art/runtime/thread.cc.
Roland Levillain [Tue, 22 Mar 2016 15:52:22 +0000 (15:52 +0000)]
Fix missing header inclusion in art/runtime/thread.cc.

The file art/runtime/thread.cc was missing an #include of
art/runtime/gc/accounting/heap_bitmap-inl.h, which is
required by art::ReferenceMapVisitor::VisitDeclaringClass to
find the (inlined) implementation of
art::gc::accounting::HeapBitmap::Test.

This fixes the MIPS32 build.

Change-Id: I00a8bc85d8b32cfed02309e13e437f0cfd0d493e

8 years agoMerge "Rename test to avoid too long filenames."
Nicolas Geoffray [Tue, 22 Mar 2016 15:38:56 +0000 (15:38 +0000)]
Merge "Rename test to avoid too long filenames."

8 years agoRename test to avoid too long filenames.
Nicolas Geoffray [Tue, 22 Mar 2016 15:38:11 +0000 (15:38 +0000)]
Rename test to avoid too long filenames.

Change-Id: Ic969c3f303fe7a0c415f670f268421906496ab39

8 years agoMerge "Add an ImtConflictTable to better resolve IMT conflicts."
Nicolas Geoffray [Tue, 22 Mar 2016 15:34:36 +0000 (15:34 +0000)]
Merge "Add an ImtConflictTable to better resolve IMT conflicts."

8 years agoAdd an ImtConflictTable to better resolve IMT conflicts.
Nicolas Geoffray [Sun, 13 Mar 2016 22:22:31 +0000 (22:22 +0000)]
Add an ImtConflictTable to better resolve IMT conflicts.

- Attach a ImtConflictTable to conflict runtime ArtMethod.
- Initially 0, a new one will be created at the first hit of
  the conflict method.
- If the assembly code does not find a target method in the table,
  we will create a new one again, copying the data from the previous
  table and adding the new mapping.

Implemented for arm/arm64/x86/x64.

bug:27556801
bug:24769046

Change-Id: Ie74d1c77cf73d451a1142bdc5e3683f9f84bb4e7

8 years agoMerge "Optimizing: Fix a new valgrind error in image_test."
Vladimir Marko [Tue, 22 Mar 2016 14:03:33 +0000 (14:03 +0000)]
Merge "Optimizing: Fix a new valgrind error in image_test."
am: 0339bee

* commit '0339bee5b1be39669606c4ba57edd42a0bacf0ff':
  Optimizing: Fix a new valgrind error in image_test.

8 years agoMerge "Optimizing: Fix a new valgrind error in image_test."
Vladimir Marko [Tue, 22 Mar 2016 13:55:17 +0000 (13:55 +0000)]
Merge "Optimizing: Fix a new valgrind error in image_test."

8 years agoMerge "Disable two tests for no-prebuild."
Nicolas Geoffray [Tue, 22 Mar 2016 13:03:29 +0000 (13:03 +0000)]
Merge "Disable two tests for no-prebuild."
am: 1aafce4

* commit '1aafce4bb4b158349dcac1166aa049960461a686':
  Disable two tests for no-prebuild.

8 years agoMerge "Revamp run-test 431-optimizing-arith-shifts."
Roland Levillain [Tue, 22 Mar 2016 12:57:27 +0000 (12:57 +0000)]
Merge "Revamp run-test 431-optimizing-arith-shifts."
am: 948a2a7

* commit '948a2a7df4d818b7c1b07cd02aa21797f1c5fc58':
  Revamp run-test 431-optimizing-arith-shifts.

8 years agoMerge "Disable two tests for no-prebuild."
Nicolas Geoffray [Tue, 22 Mar 2016 12:56:22 +0000 (12:56 +0000)]
Merge "Disable two tests for no-prebuild."

8 years agoDisable two tests for no-prebuild.
Nicolas Geoffray [Tue, 22 Mar 2016 12:55:30 +0000 (12:55 +0000)]
Disable two tests for no-prebuild.

bug:27784033
Change-Id: Ib4fc86cf970e6f008da006cad1bf18e58fb84346

8 years agoMerge "Revamp run-test 431-optimizing-arith-shifts."
Roland Levillain [Tue, 22 Mar 2016 12:49:54 +0000 (12:49 +0000)]
Merge "Revamp run-test 431-optimizing-arith-shifts."

8 years agoOptimizing: Fix a new valgrind error in image_test.
Vladimir Marko [Tue, 22 Mar 2016 12:31:54 +0000 (12:31 +0000)]
Optimizing: Fix a new valgrind error in image_test.

Bug: 27651442
Bug: 27151098
Change-Id: I23a428be68ccf9f9557df01ee7e920eeeb8da2ba

8 years agoTighten art::HNeg type constraints on its input.
Roland Levillain [Tue, 22 Mar 2016 11:54:37 +0000 (11:54 +0000)]
Tighten art::HNeg type constraints on its input.

Ensure art::HNeg is only passed a type having the kind of
its input.  For a boolean, byte, short, or char input, it
means HNeg's type should be int.

Bug: 27684275
Change-Id: Ic8442c62090a8ab65590754874a14a0deb7acd8d

8 years agoMerge "Fix braino in JitCodeCache."
Nicolas Geoffray [Tue, 22 Mar 2016 11:49:58 +0000 (11:49 +0000)]
Merge "Fix braino in JitCodeCache."
am: 0c25da0

* commit '0c25da0276f5b6f6119793ae9d45d1bca8172c2b':
  Fix braino in JitCodeCache.

8 years agoMerge "Fix braino in JitCodeCache."
Nicolas Geoffray [Tue, 22 Mar 2016 11:38:50 +0000 (11:38 +0000)]
Merge "Fix braino in JitCodeCache."

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

This is necessarry for compiling source code with default method.

Bug: 27371864

(cherry picked from commit 4b49567218c41e80c3448bbbcaa7e944f789780e)

Change-Id: I78ce48ce8f5224e20e0d75f63f10033721ad06e8

8 years agoMerge "ART: remove nested include in arch_test"
buzbee [Tue, 22 Mar 2016 11:28:23 +0000 (11:28 +0000)]
Merge "ART: remove nested include in arch_test"
am: eecf60d

* commit 'eecf60d51b481647c8508f22b3d6ce437773ea0c':
  ART: remove nested include in arch_test

8 years agoFix braino in JitCodeCache.
Nicolas Geoffray [Tue, 22 Mar 2016 11:25:20 +0000 (11:25 +0000)]
Fix braino in JitCodeCache.

A OatQuickMethodHeader can never have its entry point be the
interpreter entrypoint.

Clear hotness counter of methods in more relevant places.

Change-Id: I0563a57eace2e0e4fe2abc76f5e293ddf47b25e3

8 years agoMerge "ART: remove nested include in arch_test"
Bill Buzbee [Tue, 22 Mar 2016 11:20:32 +0000 (11:20 +0000)]
Merge "ART: remove nested include in arch_test"

8 years agoMerge "Revert "Revert "Enable compilation of secondary dex files"""
Nicolas Geoffray [Tue, 22 Mar 2016 11:19:43 +0000 (11:19 +0000)]
Merge "Revert "Revert "Enable compilation of secondary dex files"""
am: a373a33

* commit 'a373a33d33b8a5b4fd0d4c35645e2e4353ebde9b':
  Revert "Revert "Enable compilation of secondary dex files""

8 years agoMerge "Revert "Revert "Enable compilation of secondary dex files"""
Nicolas Geoffray [Tue, 22 Mar 2016 11:09:36 +0000 (11:09 +0000)]
Merge "Revert "Revert "Enable compilation of secondary dex files"""

8 years agoMerge "Update Makefile and scripts after Quick removal."
Nicolas Geoffray [Tue, 22 Mar 2016 10:59:54 +0000 (10:59 +0000)]
Merge "Update Makefile and scripts after Quick removal."
am: e2aad5d

* commit 'e2aad5d8dba805e510476ded22737a2adffbef72':
  Update Makefile and scripts after Quick removal.

8 years agoMerge "Update Makefile and scripts after Quick removal."
Nicolas Geoffray [Tue, 22 Mar 2016 10:52:46 +0000 (10:52 +0000)]
Merge "Update Makefile and scripts after Quick removal."

8 years agoMerge "Suppress MIPS32 assembler warnings"
Goran Jakovljevic [Tue, 22 Mar 2016 10:43:18 +0000 (10:43 +0000)]
Merge "Suppress MIPS32 assembler warnings"
am: e989fe0

* commit 'e989fe08717ae6725d6bf7655289b6d0005126ae':
  Suppress MIPS32 assembler warnings

8 years agoUpdate Makefile and scripts after Quick removal.
Nicolas Geoffray [Tue, 22 Mar 2016 10:43:01 +0000 (10:43 +0000)]
Update Makefile and scripts after Quick removal.

Change-Id: I7610b34da337d81d9176ceca74e55ab85642a72b

8 years agoMerge "Suppress MIPS32 assembler warnings"
Roland Levillain [Tue, 22 Mar 2016 10:35:59 +0000 (10:35 +0000)]
Merge "Suppress MIPS32 assembler warnings"

8 years agoUpdate run-test 097-duplicate-method
Sebastien Hertz [Tue, 22 Mar 2016 07:32:34 +0000 (08:32 +0100)]
Update run-test 097-duplicate-method

Runs the test with a precompiled classes.dex and re-enables it.

We need to build a dex file with duplicate methods. We cannot do that
with Jack (this is invalid) or smali (it does not keep duplicate
methods, only one is in the dex). Therefore, having a precompiled
dex file allows to run the test on whatever toolchain.

In the future, we could update the test if a tool allows to generate
it again.

Change-Id: I3803aa0c2e99ca61d58b36e088d9bbe199e07d3c

8 years agoRevert "Revert "Enable compilation of secondary dex files""
Nicolas Geoffray [Tue, 22 Mar 2016 09:52:40 +0000 (09:52 +0000)]
Revert "Revert "Enable compilation of secondary dex files""

Bug: 26719109

This reverts commit d98a52f0bc6c58e8e538de8335ab9bcb6ae73aa7.

Change-Id: I523675eb6d647fe773dd57b6e1cc398927bb066e

8 years agoMerge "Remove Quick from tree."
Nicolas Geoffray [Tue, 22 Mar 2016 09:49:15 +0000 (09:49 +0000)]
Merge "Remove Quick from tree."
am: 2fac35e

* commit '2fac35e21a3c0a0510cb1e5a824cf2cf4e4097ac':
  Remove Quick from tree.

8 years agoMerge "Remove Quick from tree."
Nicolas Geoffray [Tue, 22 Mar 2016 09:41:41 +0000 (09:41 +0000)]
Merge "Remove Quick from tree."

8 years agoMerge "Remove bogus DCHECK()."
Vladimir Marko [Tue, 22 Mar 2016 09:20:24 +0000 (09:20 +0000)]
Merge "Remove bogus DCHECK()."
am: 988a8ff

* commit '988a8ff4c8ee3239096c877151bdf0359bf9411e':
  Remove bogus DCHECK().

8 years agoMerge "Remove bogus DCHECK()."
Vladimir Marko [Tue, 22 Mar 2016 09:11:36 +0000 (09:11 +0000)]
Merge "Remove bogus DCHECK()."

8 years agoAdd sanity checking to declaring class visiting
Mathieu Chartier [Tue, 22 Mar 2016 03:53:33 +0000 (03:53 +0000)]
Add sanity checking to declaring class visiting
am: b33b1dc

* commit 'b33b1dc78d178060ff0f4327d448fd3a89df51de':
  Add sanity checking to declaring class visiting

8 years agoMerge "Add sanity checking to declaring class visiting"
Mathieu Chartier [Tue, 22 Mar 2016 03:17:16 +0000 (03:17 +0000)]
Merge "Add sanity checking to declaring class visiting"
am: 1a9018b

* commit '1a9018ba74841ac507b96f0e0dd6b86b22778ca6':
  Add sanity checking to declaring class visiting

8 years agoMerge "Add sanity checking to declaring class visiting"
Mathieu Chartier [Tue, 22 Mar 2016 03:08:50 +0000 (03:08 +0000)]
Merge "Add sanity checking to declaring class visiting"

8 years agoAdd sanity checking to declaring class visiting
Mathieu Chartier [Mon, 21 Mar 2016 21:05:56 +0000 (14:05 -0700)]
Add sanity checking to declaring class visiting

When we have an unmarked declaring class in the image, it will
SIGSEGV due to the bitmap being read-only. Print some useful
info to try and debug this.

This probably hurts performance a bit, TODO disable when the bug is
fixed.

Bug: 27493510

(cherry picked from commit b33b1dc78d178060ff0f4327d448fd3a89df51de)

Change-Id: I0c25afd5a6101a71fa1494e12dc019ba64bf43be

8 years agoAdd sanity checking to declaring class visiting
Mathieu Chartier [Mon, 21 Mar 2016 21:05:56 +0000 (14:05 -0700)]
Add sanity checking to declaring class visiting

When we have an unmarked declaring class in the image, it will
SIGSEGV due to the bitmap being read-only. Print some useful
info to try and debug this.

This probably hurts performance a bit, TODO disable when the bug is
fixed.

Bug: 27493510

Change-Id: Ida0c09cb8e41c1c2ff5cd9d07cbf0d34d6802511

8 years agoMerge "Generalize induction and range analysis across type conversions."
Aart Bik [Mon, 21 Mar 2016 23:00:52 +0000 (23:00 +0000)]
Merge "Generalize induction and range analysis across type conversions."
am: 9060376

* commit '9060376f38cb03353c82ddf15844156414249b19':
  Generalize induction and range analysis across type conversions.

8 years agoMerge "Generalize induction and range analysis across type conversions."
Aart Bik [Mon, 21 Mar 2016 22:52:06 +0000 (22:52 +0000)]
Merge "Generalize induction and range analysis across type conversions."

8 years agoMIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics.
Alexey Frunze [Fri, 18 Mar 2016 00:21:45 +0000 (17:21 -0700)]
MIPS32: Implement UnsafeCASInt and UnsafeCASObject intrinsics.

Change-Id: Ie871763b9a36075fd3d70ee6e2e241ae1ccc36cf

8 years agoART: remove nested include in arch_test
buzbee [Mon, 21 Mar 2016 22:11:04 +0000 (15:11 -0700)]
ART: remove nested include in arch_test

arch_test #includes asm_support.h while inside the art namespace.
We've gotten away with this until now because the files that
asm_support.h includes had already been included earlier (and thus,
were empty via the #ifdef guard).  However, adding new #includes to
asm_support.h results in art::art:: namespace ugliness.

Change-Id: Ie2671c456bb631976b4280f29a5656b086138047

8 years agoDisable LZ4HC compressed images
Mathieu Chartier [Mon, 21 Mar 2016 20:10:10 +0000 (20:10 +0000)]
Disable LZ4HC compressed images
am: 086e279

* commit '086e279ff9c739da617c9fb50fababf74ed52890':
  Disable LZ4HC compressed images

8 years agoGeneralize induction and range analysis across type conversions.
Aart Bik [Wed, 16 Mar 2016 17:49:38 +0000 (10:49 -0700)]
Generalize induction and range analysis across type conversions.

Rationale:
This changelist implements allowing narrowing conversions within
inductions and loop control. More induction and loops recognized,
more bounds eliminated. We all win. The basic idea is pretty simple
(record type with detected induction) but one has to get all the
details right, as illustrated by the many new unit tests.

BUG=27151098

Change-Id: I254020bfa5fa623799b31bbbb5ccc97d4d5a0100

8 years agoMerge "Move process state into runtime"
Mathieu Chartier [Mon, 21 Mar 2016 19:52:35 +0000 (19:52 +0000)]
Merge "Move process state into runtime"
am: 6a32929

* commit '6a329292736c3dd74e9c8cb319c2a233d07fe524':
  Move process state into runtime

8 years agoMerge "Disable LZ4HC compressed images"
Mathieu Chartier [Mon, 21 Mar 2016 19:47:35 +0000 (19:47 +0000)]
Merge "Disable LZ4HC compressed images"
am: 4485c69

* commit '4485c6964ad414d5c6d0535622cfad1c0a6b640f':
  Disable LZ4HC compressed images

8 years agoMerge "Move process state into runtime"
Mathieu Chartier [Mon, 21 Mar 2016 19:45:04 +0000 (19:45 +0000)]
Merge "Move process state into runtime"

8 years agoDisable LZ4HC compressed images
Mathieu Chartier [Fri, 18 Mar 2016 02:19:15 +0000 (19:19 -0700)]
Disable LZ4HC compressed images

Seem to get randomly compressed incorrectly on volantis. Added
verifiation in the image writer.

Using LZ4HC now silently uses LZ4. This is still safe since both use
the same decompression code.

Bug: 27560444

(cherry picked from commit 9894fc8079a5c6eb72e04099bdbd3239b75cf491)

Change-Id: Ic0d78f419884d7ef2e29948835c942fbb68e66da

8 years agoMerge "Disable LZ4HC compressed images"
Mathieu Chartier [Mon, 21 Mar 2016 19:37:48 +0000 (19:37 +0000)]
Merge "Disable LZ4HC compressed images"

8 years agoMove process state into runtime
Mathieu Chartier [Mon, 21 Mar 2016 18:47:03 +0000 (18:47 +0000)]
Move process state into runtime
am: f8484c8

* commit 'f8484c8b55f4b423048f94dfabbe44110a039a9b':
  Move process state into runtime

8 years agoMove process state into runtime
Mathieu Chartier [Sat, 19 Mar 2016 01:45:41 +0000 (18:45 -0700)]
Move process state into runtime

Clean up.

Bug: 27420435

(cherry picked from commit f8484c8b55f4b423048f94dfabbe44110a039a9b)

Change-Id: Ia20781ee36e6a31c88ca41d3866b26813cff434d

8 years agoMove process state into runtime
Mathieu Chartier [Sat, 19 Mar 2016 01:45:41 +0000 (18:45 -0700)]
Move process state into runtime

Clean up.

Bug: 27420435

Change-Id: I8fff84ed1b29a12310094b10fb6382268e69d54b

8 years agoDisable LZ4HC compressed images
Mathieu Chartier [Fri, 18 Mar 2016 02:19:15 +0000 (19:19 -0700)]
Disable LZ4HC compressed images

Seem to get randomly compressed incorrectly on volantis. Added
verifiation in the image writer.

Using LZ4HC now silently uses LZ4. This is still safe since both use
the same decompression code.

Bug: 27560444

Change-Id: I652eee7498dc84994993be3a5b0447ec5b246304