OSDN Git Service

android-x86/art.git
9 years agoam 83dfe22e: am 26b97f87: Merge "Add support for inlining already sharpened interface...
Nicolas Geoffray [Tue, 9 Jun 2015 16:41:27 +0000 (16:41 +0000)]
am 83dfe22e: am 26b97f87: Merge "Add support for inlining already sharpened interface calls."

* commit '83dfe22eb6d405e42ee14ccab90f28566f9b93bf':
  Add support for inlining already sharpened interface calls.

9 years agoam 26b97f87: Merge "Add support for inlining already sharpened interface calls."
Nicolas Geoffray [Tue, 9 Jun 2015 16:28:50 +0000 (16:28 +0000)]
am 26b97f87: Merge "Add support for inlining already sharpened interface calls."

* commit '26b97f87dcd86934f8b75e018c80bb4e8d501b03':
  Add support for inlining already sharpened interface calls.

9 years agoam 9719c730: am 6b0d6c62: Merge "Bring back verbosity override"
Sebastien Hertz [Tue, 9 Jun 2015 16:28:49 +0000 (16:28 +0000)]
am 9719c730: am 6b0d6c62: Merge "Bring back verbosity override"

* commit '9719c730aaa6607723c25b63f83a9f82525f1774':
  Bring back verbosity override

9 years agoam 6b0d6c62: Merge "Bring back verbosity override"
Sebastien Hertz [Tue, 9 Jun 2015 16:19:44 +0000 (16:19 +0000)]
am 6b0d6c62: Merge "Bring back verbosity override"

* commit '6b0d6c62cbfad62c42e426de1641f2ff7473a446':
  Bring back verbosity override

9 years agoMerge "Add support for inlining already sharpened interface calls."
Nicolas Geoffray [Tue, 9 Jun 2015 16:19:14 +0000 (16:19 +0000)]
Merge "Add support for inlining already sharpened interface calls."

9 years agoMerge "Bring back verbosity override"
Sebastien Hertz [Tue, 9 Jun 2015 16:05:14 +0000 (16:05 +0000)]
Merge "Bring back verbosity override"

9 years agoam be0e1d64: am 559f11f0: Merge "Follow up on CL 151605"
Sebastien Hertz [Tue, 9 Jun 2015 15:58:16 +0000 (15:58 +0000)]
am be0e1d64: am 559f11f0: Merge "Follow up on CL 151605"

* commit 'be0e1d645a2ec43160bae82e920ed3fabc62e87e':
  Follow up on CL 151605

9 years agoam 0aa6b215: am a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance...
Nicolas Geoffray [Tue, 9 Jun 2015 15:46:08 +0000 (15:46 +0000)]
am 0aa6b215: am a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""

* commit '0aa6b215b0ca0a3dc0f92780d5498562e358bae6':
  Revert "Revert "Pass current method to HNewInstance and HNewArray.""

9 years agoam 559f11f0: Merge "Follow up on CL 151605"
Sebastien Hertz [Tue, 9 Jun 2015 15:45:53 +0000 (15:45 +0000)]
am 559f11f0: Merge "Follow up on CL 151605"

* commit '559f11f0d5f6b932e5b01f2a7c26604908b7d48d':
  Follow up on CL 151605

9 years agoMerge "Follow up on CL 151605"
Sebastien Hertz [Tue, 9 Jun 2015 15:36:58 +0000 (15:36 +0000)]
Merge "Follow up on CL 151605"

9 years agoam a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""
Nicolas Geoffray [Tue, 9 Jun 2015 15:32:44 +0000 (15:32 +0000)]
am a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""

* commit 'a4207b70a1b607a192a447bcc4929b2689dc23d2':
  Revert "Revert "Pass current method to HNewInstance and HNewArray.""

9 years agoMerge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""
Nicolas Geoffray [Tue, 9 Jun 2015 15:24:08 +0000 (15:24 +0000)]
Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""

9 years agoFollow up on CL 151605
Sebastien Hertz [Tue, 9 Jun 2015 12:09:14 +0000 (14:09 +0200)]
Follow up on CL 151605

- Fixes return type of StackedShadowFrameRecord::GetType
- Makes StackedShadowFrameType an enum class (scoped enum)
- Moves DeoptimizationReturnValueRecord and StackedShadowFrameRecord
  to thread.cc file and use forward declaration in thread.h header
- Fixes tools/generate-operator-out.py for scoped enum classes.

Bug: 20845490
Change-Id: I6b67e288b1db563699161e58ec2e2330d42dd8f5

9 years agoam 69b71b2a: am aa77f6e5: Merge "Fix a crash in optimizing compiler with the current...
Nicolas Geoffray [Tue, 9 Jun 2015 15:07:12 +0000 (15:07 +0000)]
am 69b71b2a: am aa77f6e5: Merge "Fix a crash in optimizing compiler with the current method."

* commit '69b71b2a87ea3d944d4e155b4772b8520d2cbdfd':
  Fix a crash in optimizing compiler with the current method.

9 years agoRevert "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:34:25 +0000 (10:34 +0100)]
Revert "Revert "Pass current method to HNewInstance and HNewArray.""

Problem exposed by this change was fixed in:
https://android-review.googlesource.com/#/c/154031/

This reverts commit 7b0e353b49ac3f464c662f20e20e240f0231afff.

Change-Id: I680c13dc9db9ba223ab11c7af255222860b4e6d2

9 years agoam aa77f6e5: Merge "Fix a crash in optimizing compiler with the current method."
Nicolas Geoffray [Tue, 9 Jun 2015 15:00:41 +0000 (15:00 +0000)]
am aa77f6e5: Merge "Fix a crash in optimizing compiler with the current method."

* commit 'aa77f6e5839b2ad3bf8ca2c06a44ec92e2667af1':
  Fix a crash in optimizing compiler with the current method.

9 years agoMerge "Fix a crash in optimizing compiler with the current method."
Nicolas Geoffray [Tue, 9 Jun 2015 14:51:21 +0000 (14:51 +0000)]
Merge "Fix a crash in optimizing compiler with the current method."

9 years agoAdd support for inlining already sharpened interface calls.
Nicolas Geoffray [Tue, 9 Jun 2015 14:43:38 +0000 (15:43 +0100)]
Add support for inlining already sharpened interface calls.

Change-Id: Ia6b557c5e98e493b187b1f30da0c62449d9dd4d4

9 years agoFix a crash in optimizing compiler with the current method.
Nicolas Geoffray [Tue, 9 Jun 2015 13:12:28 +0000 (14:12 +0100)]
Fix a crash in optimizing compiler with the current method.

Crash was due to overwriting the location of the current method
in the slow path of an intrinsic.

Change-Id: I6ca58ef5b3cea19925e60b9500aef543bc5f71ef

9 years agoBring back verbosity override
Sebastien Hertz [Mon, 1 Jun 2015 06:28:18 +0000 (08:28 +0200)]
Bring back verbosity override

Brings back the possibility to override verbosity locally (after
command-line parser changes). Also adds a test for "-verbose:deopt"
command-line option.

Change-Id: I634d5226ef473ec4d965d620e973e9e677c0069d

9 years agoam 21cb6571: Quick: Fix LoopRepeatingTopologicalSortIterator.
Vladimir Marko [Tue, 9 Jun 2015 13:01:26 +0000 (13:01 +0000)]
am 21cb6571: Quick: Fix LoopRepeatingTopologicalSortIterator.

* commit '21cb657159b3e93cc888685ade83f8fc519290be':
  Quick: Fix LoopRepeatingTopologicalSortIterator.

9 years agoam 4cc72fbd: am 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and...
Nicolas Geoffray [Tue, 9 Jun 2015 09:54:53 +0000 (09:54 +0000)]
am 4cc72fbd: am 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and HNewArray.""

* commit '4cc72fbd7e0fcecb90498740e26868471c0d9d53':
  Revert "Pass current method to HNewInstance and HNewArray."

9 years agoam 255d5572: am 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."
Vladimir Marko [Tue, 9 Jun 2015 09:54:51 +0000 (09:54 +0000)]
am 255d5572: am 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."

* commit '255d5572c0d7dd87dfcd49aa653ce0acc2dd543b':
  Quick: Fix LoopRepeatingTopologicalSortIterator.

9 years agoam 6c433b70: am b0c85983: Merge "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 09:54:50 +0000 (09:54 +0000)]
am 6c433b70: am b0c85983: Merge "Pass current method to HNewInstance and HNewArray."

* commit '6c433b70b35600ca99a2cb5d4d2f28c26dc487ba':
  Pass current method to HNewInstance and HNewArray.

9 years agoam bde51076: am f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticO...
Nicolas Geoffray [Tue, 9 Jun 2015 09:47:20 +0000 (09:47 +0000)]
am bde51076: am f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""

* commit 'bde5107685ab7350cb4defc9a82d7e521037bf81':
  Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""

9 years agoam 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:46:59 +0000 (09:46 +0000)]
am 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and HNewArray.""

* commit '7c5e26b3ea5262c0aea3374148750e81340a4bf9':
  Revert "Pass current method to HNewInstance and HNewArray."

9 years agoam 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."
Vladimir Marko [Tue, 9 Jun 2015 09:46:58 +0000 (09:46 +0000)]
am 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."

* commit '93ce3528cbf61579a0f2929ae56f0dd1fe554973':
  Quick: Fix LoopRepeatingTopologicalSortIterator.

9 years agoam b0c85983: Merge "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 09:46:57 +0000 (09:46 +0000)]
am b0c85983: Merge "Pass current method to HNewInstance and HNewArray."

* commit 'b0c85983741d695fc568b61a1e0d8f318cd4828f':
  Pass current method to HNewInstance and HNewArray.

9 years agoMerge "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:26:04 +0000 (09:26 +0000)]
Merge "Revert "Pass current method to HNewInstance and HNewArray.""

9 years agoRevert "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 09:25:50 +0000 (09:25 +0000)]
Revert "Pass current method to HNewInstance and HNewArray."

082-inline-execute fails on x86.

This reverts commit e21aa42e1341d34250742abafdd83311ad9fa737.

Change-Id: Ib3fd25faee2e0128001e40d3d51a74f959bc4449

9 years agoQuick: Fix LoopRepeatingTopologicalSortIterator.
Vladimir Marko [Mon, 8 Jun 2015 15:39:02 +0000 (16:39 +0100)]
Quick: Fix LoopRepeatingTopologicalSortIterator.

Always push the loop head on the loop head stack. This fixes
a bug where we failed to return to an unnatural loop head to
recalculate its GVN data.

Bug: 17410955

(cherry picked from commit 67c8c942e9dfcabd548351db75e6d3b8b5165afa)

Change-Id: I44b9a17cbcd7307d1cc70ac564b99e29803723c5

9 years agoMerge "Quick: Fix LoopRepeatingTopologicalSortIterator."
Vladimir Marko [Tue, 9 Jun 2015 09:05:36 +0000 (09:05 +0000)]
Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."

9 years agoMerge "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 08:13:15 +0000 (08:13 +0000)]
Merge "Pass current method to HNewInstance and HNewArray."

9 years agoam f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""
Nicolas Geoffray [Tue, 9 Jun 2015 08:07:44 +0000 (08:07 +0000)]
am f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""

* commit 'f7bd8fafdf3bbf05fbcfc659cd798b3fd59051d5':
  Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""

9 years agoMerge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""
Nicolas Geoffray [Tue, 9 Jun 2015 07:55:16 +0000 (07:55 +0000)]
Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""

9 years agoam 2c09847e: am 430afefe: Merge "Enable 64-bit CFI tests."
David Srbecky [Tue, 9 Jun 2015 02:05:27 +0000 (02:05 +0000)]
am 2c09847e: am 430afefe: Merge "Enable 64-bit CFI tests."

* commit '2c09847e991493c9cecfbe15473095538e22d3ce':
  Enable 64-bit CFI tests.

9 years agoam 430afefe: Merge "Enable 64-bit CFI tests."
David Srbecky [Tue, 9 Jun 2015 01:53:38 +0000 (01:53 +0000)]
am 430afefe: Merge "Enable 64-bit CFI tests."

* commit '430afefe1cced35cf5eb12ce7a6dcbfc5007c97e':
  Enable 64-bit CFI tests.

9 years agoMerge "Enable 64-bit CFI tests."
David Srbecky [Tue, 9 Jun 2015 01:41:11 +0000 (01:41 +0000)]
Merge "Enable 64-bit CFI tests."

9 years agoEnable 64-bit CFI tests.
David Srbecky [Tue, 9 Jun 2015 00:21:23 +0000 (01:21 +0100)]
Enable 64-bit CFI tests.

Those should work now since we have switched to ELF-64.

Change-Id: Id95b8b309843b30864a860c745d16b50d7f88bda

9 years agoam 749266dc: am 0f683394: Merge "More LOW_4G optimizations"
Mathieu Chartier [Mon, 8 Jun 2015 20:08:08 +0000 (20:08 +0000)]
am 749266dc: am 0f683394: Merge "More LOW_4G optimizations"

* commit '749266dce69971d76175ddbbba782001b1b4ac21':
  More LOW_4G optimizations

9 years agoam ffd42ee5: Merge "More LOW_4G optimizations" into mnc-dev
Mathieu Chartier [Mon, 8 Jun 2015 18:55:45 +0000 (18:55 +0000)]
am ffd42ee5: Merge "More LOW_4G optimizations" into mnc-dev

* commit 'ffd42ee5b4eb7de14b7d6b253655a9d231eb1271':
  More LOW_4G optimizations

9 years agoam 0f683394: Merge "More LOW_4G optimizations"
Mathieu Chartier [Mon, 8 Jun 2015 18:49:24 +0000 (18:49 +0000)]
am 0f683394: Merge "More LOW_4G optimizations"

* commit '0f6833940b4c58884ebab685d8d22e56c02be0d5':
  More LOW_4G optimizations

9 years agoMerge "More LOW_4G optimizations"
Mathieu Chartier [Mon, 8 Jun 2015 18:33:42 +0000 (18:33 +0000)]
Merge "More LOW_4G optimizations"

9 years agoMerge "More LOW_4G optimizations" into mnc-dev
Mathieu Chartier [Mon, 8 Jun 2015 18:33:25 +0000 (18:33 +0000)]
Merge "More LOW_4G optimizations" into mnc-dev

9 years agoMore LOW_4G optimizations
Mathieu Chartier [Thu, 4 Jun 2015 23:22:41 +0000 (16:22 -0700)]
More LOW_4G optimizations

Eagerly try to map at an address when it doesn't overlap with
the ART known maps.

Reduces time spent creating the heap on N9 from ~100ms to ~10ms.

(cherry picked from commit 3ae250c16bae3462e040b844dbc2e2fc732d67ba)

Bug: 20727525
Change-Id: Ie8982ca9d1f3158104b2b53b992c3a28841fc443

9 years agoam 6248f62c: am a56b2e09: Merge "Fix nested deoptimization."
Mingyao Yang [Mon, 8 Jun 2015 18:02:33 +0000 (18:02 +0000)]
am 6248f62c: am a56b2e09: Merge "Fix nested deoptimization."

* commit '6248f62cbb8d562d6ee734c79d5964d051213d52':
  Fix nested deoptimization.

9 years agoam a56b2e09: Merge "Fix nested deoptimization."
Mingyao Yang [Mon, 8 Jun 2015 17:50:14 +0000 (17:50 +0000)]
am a56b2e09: Merge "Fix nested deoptimization."

* commit 'a56b2e09cc311d3b8eb9384decc76a13ed5da6e9':
  Fix nested deoptimization.

9 years agoMerge "Fix nested deoptimization."
Mingyao Yang [Mon, 8 Jun 2015 17:41:30 +0000 (17:41 +0000)]
Merge "Fix nested deoptimization."

9 years agoQuick: Fix LoopRepeatingTopologicalSortIterator.
Vladimir Marko [Mon, 8 Jun 2015 15:39:02 +0000 (16:39 +0100)]
Quick: Fix LoopRepeatingTopologicalSortIterator.

Always push the loop head on the loop head stack. This fixes
a bug where we failed to return to an unnatural loop head to
recalculate its GVN data.

Bug: 17410955
Change-Id: I3a2c3225e5d16268c3f56f7f90228759c7da37a9

9 years agoRevert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""
Nicolas Geoffray [Thu, 4 Jun 2015 17:21:04 +0000 (18:21 +0100)]
Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""

Fix was to special case baseline for x86, which does not have enough
registers to allocate the current method.

This reverts commit c345f141f11faad177aa9635a78088d00cf66086.

Change-Id: I5997aa52f8d4df373ae5ff4d4150dac0c44c4c10

9 years agoam b362cdcf: Merge "Revert "Revert "Turn off duplicate-classes checking""" into mnc-dev
Andreas Gampe [Mon, 8 Jun 2015 17:04:00 +0000 (17:04 +0000)]
am b362cdcf: Merge "Revert "Revert "Turn off duplicate-classes checking""" into mnc-dev

* commit 'b362cdcf2cec5847bb0a0b96e52d02c0a413a0e5':
  Revert "Revert "Turn off duplicate-classes checking""

9 years agoam ac619adf: am 8c4cce0a: Merge "Revert "Support for inlining virtual and interface...
Nicolas Geoffray [Mon, 8 Jun 2015 16:59:12 +0000 (16:59 +0000)]
am ac619adf: am 8c4cce0a: Merge "Revert "Support for inlining virtual and interface calls.""

* commit 'ac619adf7775d0efab5b85ec0dec4e4f2f2d2620':
  Revert "Support for inlining virtual and interface calls."

9 years agoam 25d5cc2d: am c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""
Nicolas Geoffray [Mon, 8 Jun 2015 16:59:11 +0000 (16:59 +0000)]
am 25d5cc2d: am c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""

* commit '25d5cc2d4ee15cde2caa3d68365cc6feb1f7568d':
  Revert "Do a type check for knowing if we can inline."

9 years agoam 3ddb2e6c: am ccd6337f: Merge "ART: Reload class on miranda method in verifier"
Andreas Gampe [Mon, 8 Jun 2015 16:42:51 +0000 (16:42 +0000)]
am 3ddb2e6c: am ccd6337f: Merge "ART: Reload class on miranda method in verifier"

* commit '3ddb2e6c33ef18395b1d13b2b1df7781b34eef41':
  ART: Reload class on miranda method in verifier

9 years agoam b0f1d9d0: am eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""
Andreas Gampe [Mon, 8 Jun 2015 16:42:50 +0000 (16:42 +0000)]
am b0f1d9d0: am eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""

* commit 'b0f1d9d0912ed48a88979e51e4b9597ff30011ad':
  Revert "Revert "Turn off duplicate-classes checking""

9 years agoam 7a7537ca: (-s ours) am 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn...
Andreas Gampe [Mon, 8 Jun 2015 16:42:48 +0000 (16:42 +0000)]
am 7a7537ca: (-s ours) am 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""

* commit '7a7537ca2a4e55a8b4ae2682ab226943b121d81f':
  Revert "DO NOT MERGE ART: Turn off duplicate-classes checking"

9 years agoam 118f2f74: (-s ours) am 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off dupli...
Andreas Gampe [Mon, 8 Jun 2015 16:42:47 +0000 (16:42 +0000)]
am 118f2f74: (-s ours) am 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"

* commit '118f2f74a04a9cd143a79652ad7fa665f3118f5d':
  DO NOT MERGE ART: Turn off duplicate-classes checking

9 years agoam 8c4cce0a: Merge "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Mon, 8 Jun 2015 16:02:08 +0000 (16:02 +0000)]
am 8c4cce0a: Merge "Revert "Support for inlining virtual and interface calls.""

* commit '8c4cce0abe6cfa8f4157cfa42b18474d9536c159':
  Revert "Support for inlining virtual and interface calls."

9 years agoam c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""
Nicolas Geoffray [Mon, 8 Jun 2015 16:02:04 +0000 (16:02 +0000)]
am c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""

* commit 'c2c22074a4d24a53e66a4aa2afbb039746fef498':
  Revert "Do a type check for knowing if we can inline."

9 years agoMerge "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Mon, 8 Jun 2015 15:54:38 +0000 (15:54 +0000)]
Merge "Revert "Support for inlining virtual and interface calls.""

9 years agoRevert "Support for inlining virtual and interface calls."
Nicolas Geoffray [Mon, 8 Jun 2015 15:52:23 +0000 (15:52 +0000)]
Revert "Support for inlining virtual and interface calls."

Fails for some apps.

bug: 21674542

This reverts commit 1d5006c34d75758752bf3499892e3d5beb11d5dc.

Change-Id: Ia74b5e54d59f8ffe9992591324a12f71efb67af4

9 years agoMerge "Revert "Do a type check for knowing if we can inline.""
Nicolas Geoffray [Mon, 8 Jun 2015 15:53:30 +0000 (15:53 +0000)]
Merge "Revert "Do a type check for knowing if we can inline.""

9 years agoRevert "Do a type check for knowing if we can inline."
Nicolas Geoffray [Mon, 8 Jun 2015 15:53:16 +0000 (15:53 +0000)]
Revert "Do a type check for knowing if we can inline."

Fails for some apps.
bug:21674542

This reverts commit 7ce4b3d4c1c562959a8a3640df764ab50f1cbdf1.

Change-Id: Ie25852c022391834858b2f5e34e8c7aeb1c3b3dd

9 years agoPass current method to HNewInstance and HNewArray.
Nicolas Geoffray [Mon, 8 Jun 2015 14:35:07 +0000 (15:35 +0100)]
Pass current method to HNewInstance and HNewArray.

Also remove unsed CodeGenerator::LoadCurrentMethod.

Change-Id: I4b8d3f2a30b8e2c76b6b329a72555483c993cb73

9 years agoFix nested deoptimization.
Mingyao Yang [Mon, 18 May 2015 19:12:50 +0000 (12:12 -0700)]
Fix nested deoptimization.

Handle nested deoptimization cases. Create a stacked shadow frame
records to keep track of deoptimization shadow frames. Shadow frames
under construction can be tracked in the same stack.

Bug: 20845490
Change-Id: I768285792c29e7c3cfcd21e7a2600802506024d8

9 years agoam ccd6337f: Merge "ART: Reload class on miranda method in verifier"
Andreas Gampe [Sun, 7 Jun 2015 22:44:52 +0000 (22:44 +0000)]
am ccd6337f: Merge "ART: Reload class on miranda method in verifier"

* commit 'ccd6337f31d13706c602f3d9436e9b4025075b63':
  ART: Reload class on miranda method in verifier

9 years agoam eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""
Andreas Gampe [Sun, 7 Jun 2015 22:44:51 +0000 (22:44 +0000)]
am eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""

* commit 'eb4598948fdf013241f8f8598c559f0ce92eb8b4':
  Revert "Revert "Turn off duplicate-classes checking""

9 years agoam 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes...
Andreas Gampe [Sun, 7 Jun 2015 22:44:49 +0000 (22:44 +0000)]
am 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""

* commit '7048c40488532843dd2fad9730c3ab16be613e13':
  Revert "DO NOT MERGE ART: Turn off duplicate-classes checking"

9 years agoam 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"
Andreas Gampe [Sun, 7 Jun 2015 22:44:48 +0000 (22:44 +0000)]
am 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"

* commit '346bf29623ca0e9471064406a5d29d461f1b27ae':
  DO NOT MERGE ART: Turn off duplicate-classes checking

9 years agoMerge "ART: Reload class on miranda method in verifier"
Andreas Gampe [Sun, 7 Jun 2015 22:39:51 +0000 (22:39 +0000)]
Merge "ART: Reload class on miranda method in verifier"

9 years agoMerge "Revert "Revert "Turn off duplicate-classes checking"""
Andreas Gampe [Sun, 7 Jun 2015 22:36:15 +0000 (22:36 +0000)]
Merge "Revert "Revert "Turn off duplicate-classes checking"""

9 years agoMerge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""
Andreas Gampe [Sun, 7 Jun 2015 22:36:00 +0000 (22:36 +0000)]
Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""

9 years agoMerge "DO NOT MERGE ART: Turn off duplicate-classes checking"
Andreas Gampe [Sun, 7 Jun 2015 22:35:42 +0000 (22:35 +0000)]
Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"

9 years agoART: Reload class on miranda method in verifier
Andreas Gampe [Fri, 5 Jun 2015 05:19:58 +0000 (22:19 -0700)]
ART: Reload class on miranda method in verifier

When checking the receiver of a call and we have a miranda method,
reload the class from the method index instead of using the declared
class - which is the interface class, not the abstract class.

Bug: 21646347
Change-Id: I5bceab75c3b76233cb42ea5cf0214d32c8149994

9 years agoRevert "Revert "Turn off duplicate-classes checking""
Andreas Gampe [Wed, 3 Jun 2015 22:43:16 +0000 (15:43 -0700)]
Revert "Revert "Turn off duplicate-classes checking""

This reverts commit 18a1827a159f1b235f3fcc934f428059185f550e.

Bug: 21333911

(cherry picked from commit 0fc16a09b4d2323f9c2b6aabc81ce120b278329b)

Change-Id: I8cb96efbf7151b238f3ee137a938b20ddfaf0ebc

9 years agoRevert "DO NOT MERGE ART: Turn off duplicate-classes checking"
Andreas Gampe [Thu, 21 May 2015 20:33:40 +0000 (20:33 +0000)]
Revert "DO NOT MERGE ART: Turn off duplicate-classes checking"

This reverts commit aafcfca5fe545365ef377fff2897b8a908f03e71.

Bug: 21333911

(cherry picked from commit 18a1827a159f1b235f3fcc934f428059185f550e)

Change-Id: Ibbc6b1be8bebc1d0ab9c5955b34eb89f40577baa

9 years agoDO NOT MERGE ART: Turn off duplicate-classes checking
Andreas Gampe [Wed, 20 May 2015 21:48:10 +0000 (14:48 -0700)]
DO NOT MERGE ART: Turn off duplicate-classes checking

Bug: 21333911

(cherry picked from commit aafcfca5fe545365ef377fff2897b8a908f03e71)

Change-Id: I9832526a6d2996aadb459e3ec0930cbaf151478a

9 years agoMerge "Revert "Revert "Turn off duplicate-classes checking""" into mnc-dev
Andreas Gampe [Sun, 7 Jun 2015 21:35:46 +0000 (21:35 +0000)]
Merge "Revert "Revert "Turn off duplicate-classes checking""" into mnc-dev

9 years agoam 4f03acef: Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt" into...
Andreas Gampe [Sat, 6 Jun 2015 04:18:30 +0000 (04:18 +0000)]
am 4f03acef: Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt" into mnc-dev

* commit '4f03acef5c12934518bb9fb5ade8ff39de1561fc':
  ART: Add SetSpecialSignalHandlerFn to version-script.txt

9 years agoam a05be673: am c1d8da19: Merge "ART: Add SetSpecialSignalHandlerFn to version-script...
Andreas Gampe [Sat, 6 Jun 2015 04:11:52 +0000 (04:11 +0000)]
am a05be673: am c1d8da19: Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt"

* commit 'a05be673d8d8bb1ca98ac6bd02e82b1d4c844c7c':
  ART: Add SetSpecialSignalHandlerFn to version-script.txt

9 years agoam c1d8da19: Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt"
Andreas Gampe [Sat, 6 Jun 2015 03:59:39 +0000 (03:59 +0000)]
am c1d8da19: Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt"

* commit 'c1d8da19488f78f06c9c7b09cfcce9523d755d51':
  ART: Add SetSpecialSignalHandlerFn to version-script.txt

9 years agoMerge "ART: Add SetSpecialSignalHandlerFn to version-script.txt" into mnc-dev
Andreas Gampe [Sat, 6 Jun 2015 03:53:37 +0000 (03:53 +0000)]
Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt" into mnc-dev

9 years agoART: Add SetSpecialSignalHandlerFn to version-script.txt
Andreas Gampe [Sat, 6 Jun 2015 03:45:31 +0000 (20:45 -0700)]
ART: Add SetSpecialSignalHandlerFn to version-script.txt

Expose the new function from the sigchainlib implementation.

Bug: 20217701

(cherry picked from commit e089920eb0abc10eca708dbf5993134aa7e8d9b0)

Change-Id: I7d21025595775e057ea703236ca88ceb07173136

9 years agoMerge "ART: Add SetSpecialSignalHandlerFn to version-script.txt"
Andreas Gampe [Sat, 6 Jun 2015 03:52:31 +0000 (03:52 +0000)]
Merge "ART: Add SetSpecialSignalHandlerFn to version-script.txt"

9 years agoART: Add SetSpecialSignalHandlerFn to version-script.txt
Andreas Gampe [Sat, 6 Jun 2015 03:45:31 +0000 (20:45 -0700)]
ART: Add SetSpecialSignalHandlerFn to version-script.txt

Expose the new function from the sigchainlib implementation.

Bug: 20217701
Change-Id: I7d21025595775e057ea703236ca88ceb07173136

9 years agoam 49f0ae85: am b8154d5c: resolved conflicts for merge of e8a4b652 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:35:28 +0000 (00:35 +0000)]
am 49f0ae85: am b8154d5c: resolved conflicts for merge of e8a4b652 to lmp-mr1-ub-dev

* commit '49f0ae855b802c3f3500d583895587bd4344ee72':
  Revert "Quick: Create GC map based on compiler data. DO NOT MERGE"

9 years agoam 76e8509e: am 5d3acebd: resolved conflicts for merge of c8d000a1 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:35:27 +0000 (00:35 +0000)]
am 76e8509e: am 5d3acebd: resolved conflicts for merge of c8d000a1 to lmp-mr1-ub-dev

* commit '76e8509e457cbb361532b5ef64b5551f08843a3d':
  Revert "Quick: Fix "select" pattern to update data used for GC maps. DO NOT MERGE"

9 years agoam 6ff4f156: am e279c0c4: resolved conflicts for merge of fad2cbf9 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:35:26 +0000 (00:35 +0000)]
am 6ff4f156: am e279c0c4: resolved conflicts for merge of fad2cbf9 to lmp-mr1-ub-dev

* commit '6ff4f156f6f916e4fe70106788b992bfc474d117':
  Quick: Fix "select" pattern to update data used for GC maps. DO NOT MERGE

9 years agoam 8a221b6c: am fb695b34: resolved conflicts for merge of 7cc8f9aa to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:35:25 +0000 (00:35 +0000)]
am 8a221b6c: am fb695b34: resolved conflicts for merge of 7cc8f9aa to lmp-mr1-ub-dev

* commit '8a221b6c6e97944b00434ff7cfc94535dfb5dc2c':
  Quick: Create GC map based on compiler data. DO NOT MERGE

9 years agoam b8154d5c: resolved conflicts for merge of e8a4b652 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:06:18 +0000 (00:06 +0000)]
am b8154d5c: resolved conflicts for merge of e8a4b652 to lmp-mr1-ub-dev

* commit 'b8154d5cc707921fadf92fedc65a66a3e8901126':
  Revert "Quick: Create GC map based on compiler data. DO NOT MERGE"

9 years agoam 5d3acebd: resolved conflicts for merge of c8d000a1 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:06:16 +0000 (00:06 +0000)]
am 5d3acebd: resolved conflicts for merge of c8d000a1 to lmp-mr1-ub-dev

* commit '5d3acebd1fe859cbf6fb3831815eb7f3c1f3e442':
  Revert "Quick: Fix "select" pattern to update data used for GC maps. DO NOT MERGE"

9 years agoam e279c0c4: resolved conflicts for merge of fad2cbf9 to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:06:13 +0000 (00:06 +0000)]
am e279c0c4: resolved conflicts for merge of fad2cbf9 to lmp-mr1-ub-dev

* commit 'e279c0c4e9ecc464ab10c9d9cd3404c3b0ed6845':
  Quick: Fix "select" pattern to update data used for GC maps. DO NOT MERGE

9 years agoam 997e4bc4: am 6d359184: Merge "Use runFinalizationWithTimeout for native allocations"
Mathieu Chartier [Sat, 6 Jun 2015 00:06:13 +0000 (00:06 +0000)]
am 997e4bc4: am 6d359184: Merge "Use runFinalizationWithTimeout for native allocations"

* commit '997e4bc44ae7a0d3138b2138d54db9470254d3b8':
  Use runFinalizationWithTimeout for native allocations

9 years agoam fb695b34: resolved conflicts for merge of 7cc8f9aa to lmp-mr1-ub-dev
Vladimir Marko [Sat, 6 Jun 2015 00:06:12 +0000 (00:06 +0000)]
am fb695b34: resolved conflicts for merge of 7cc8f9aa to lmp-mr1-ub-dev

* commit 'fb695b34268bb7f9270f07ecaac554e49b5b6a92':
  Quick: Create GC map based on compiler data. DO NOT MERGE

9 years agoam 6d359184: Merge "Use runFinalizationWithTimeout for native allocations"
Mathieu Chartier [Fri, 5 Jun 2015 23:52:48 +0000 (23:52 +0000)]
am 6d359184: Merge "Use runFinalizationWithTimeout for native allocations"

* commit '6d3591845235b9effd2e7b0238443b94ecabf967':
  Use runFinalizationWithTimeout for native allocations

9 years agoMerge "Use runFinalizationWithTimeout for native allocations"
Mathieu Chartier [Fri, 5 Jun 2015 23:44:27 +0000 (23:44 +0000)]
Merge "Use runFinalizationWithTimeout for native allocations"

9 years agoam 3b532d74: Use runFinalizationWithTimeout for native allocations
Mathieu Chartier [Fri, 5 Jun 2015 23:39:09 +0000 (23:39 +0000)]
am 3b532d74: Use runFinalizationWithTimeout for native allocations

* commit '3b532d744034b43ed329a3198f15846d80fec3f0':
  Use runFinalizationWithTimeout for native allocations

9 years agoUse runFinalizationWithTimeout for native allocations
Mathieu Chartier [Fri, 5 Jun 2015 20:21:05 +0000 (13:21 -0700)]
Use runFinalizationWithTimeout for native allocations

Prevents deadlocks by not waiting longer than 250ms for finalizers
to complete.

(cherry picked from commit 3b532d744034b43ed329a3198f15846d80fec3f0)

Bug: 21544853
Change-Id: I57b2f7ae8b74185922eb3c15ba0ab71a4d2348aa

9 years agoUse runFinalizationWithTimeout for native allocations
Mathieu Chartier [Fri, 5 Jun 2015 20:21:05 +0000 (13:21 -0700)]
Use runFinalizationWithTimeout for native allocations

Prevents deadlocks by not waiting longer than 250ms for finalizers
to complete.

Bug: 21544853
Change-Id: I57b2f7ae8b74185922eb3c15ba0ab71a4d2348aa

9 years agoMore LOW_4G optimizations
Mathieu Chartier [Thu, 4 Jun 2015 23:22:41 +0000 (16:22 -0700)]
More LOW_4G optimizations

Eagerly try to map at an address when it doesn't overlap with
the ART known maps.

Reduces time spent creating the heap on N9 from ~100ms to ~10ms.

Bug: 20727525
Change-Id: Ie8982ca9d1f3158104b2b53b992c3a28841fc443