OSDN Git Service

android-x86/art.git
9 years agoam 9ed82069: Merge "Don\'t check code pointer for proxies in ArtMethod::GetQuickFrame...
Mathieu Chartier [Tue, 21 Jul 2015 01:33:19 +0000 (01:33 +0000)]
am 9ed82069: Merge "Don\'t check code pointer for proxies in ArtMethod::GetQuickFrameInfo"

* commit '9ed820697b75179e236fe5a07981b198a36400b3':
  Don't check code pointer for proxies in ArtMethod::GetQuickFrameInfo

9 years agoMerge "Don't check code pointer for proxies in ArtMethod::GetQuickFrameInfo"
Mathieu Chartier [Tue, 21 Jul 2015 01:20:16 +0000 (01:20 +0000)]
Merge "Don't check code pointer for proxies in ArtMethod::GetQuickFrameInfo"

9 years agoam 84bfbe14: Merge "Fix broken tests."
Aart Bik [Tue, 21 Jul 2015 01:10:53 +0000 (01:10 +0000)]
am 84bfbe14: Merge "Fix broken tests."

* commit '84bfbe14f708cdbc2ef310a5b8973be6911602b5':
  Fix broken tests.

9 years agoMerge "Fix broken tests."
Aart Bik [Tue, 21 Jul 2015 01:01:36 +0000 (01:01 +0000)]
Merge "Fix broken tests."

9 years agoFix broken tests.
Aart Bik [Mon, 20 Jul 2015 21:08:59 +0000 (14:08 -0700)]
Fix broken tests.

Rationale:
  (1) volatile field write/read need to apply to all
      to comply with Java memory model
  (2) clinit only needs only the write
  (3) added conservative assumptions to memory barrier
      (nothing broke, but this seems better)

Change-Id: I37787ec8f3f2c8d6166a94c57193fa4544ad3372

9 years agoam af0365ac: Merge "runtime: Add lambda box/unbox object equality"
Igor Murashkin [Mon, 20 Jul 2015 22:51:20 +0000 (22:51 +0000)]
am af0365ac: Merge "runtime: Add lambda box/unbox object equality"

* commit 'af0365ac6a4c7d242df6f50c4da69ba0ff67e3f1':
  runtime: Add lambda box/unbox object equality

9 years agoMerge "runtime: Add lambda box/unbox object equality"
Igor Murashkin [Mon, 20 Jul 2015 22:36:04 +0000 (22:36 +0000)]
Merge "runtime: Add lambda box/unbox object equality"

9 years agoruntime: Add lambda box/unbox object equality
Igor Murashkin [Fri, 10 Jul 2015 20:49:08 +0000 (13:49 -0700)]
runtime: Add lambda box/unbox object equality

A lambda that is boxed with box-lambda is now stored as a weak reference
in a global runtime table (lambda::BoxTable). Repeatedly boxing the same
lambda closure value will always return the same java.lang.Object back.

Since there is no way to observe the address of an object, a GC can
happen and clean up the table of any dead boxed lambdas, which can also
shrink the table to prevent the memory use from growing too much.

(Note that a lambda closure is immutable, so hashing over it is
guaranteed safe.)

Change-Id: I786c1323ff14eed937936b303d511875f9642524

9 years agoam e07300b7: Merge "Improved side effect analysis (field/array write/read)."
Aart Bik [Mon, 20 Jul 2015 18:19:04 +0000 (18:19 +0000)]
am e07300b7: Merge "Improved side effect analysis (field/array write/read)."

* commit 'e07300b712f44397ecbfed1ef7f880686e46274a':
  Improved side effect analysis (field/array write/read).

9 years agoMerge "Improved side effect analysis (field/array write/read)."
Aart Bik [Mon, 20 Jul 2015 17:56:35 +0000 (17:56 +0000)]
Merge "Improved side effect analysis (field/array write/read)."

9 years agoImproved side effect analysis (field/array write/read).
Aart Bik [Tue, 14 Jul 2015 23:07:00 +0000 (16:07 -0700)]
Improved side effect analysis (field/array write/read).

Rationale:
Types (int, float etc.) and access type (field vs. array)
can be used to disambiguate write/read side-effects analysis.
This directly improves e.g. dead code elimination and licm.

Change-Id: I371f6909a3f42bda13190a03f04c4a867bde1d06

9 years agoam 16a150b8: Merge "ART: Fix arm32 quick_invoke_stub CFI"
Andreas Gampe [Mon, 20 Jul 2015 15:40:03 +0000 (15:40 +0000)]
am 16a150b8: Merge "ART: Fix arm32 quick_invoke_stub CFI"

* commit '16a150b8a4c5c8c9e7159aff3b2ffbd918494abd':
  ART: Fix arm32 quick_invoke_stub CFI

9 years agoMerge "ART: Fix arm32 quick_invoke_stub CFI"
Andreas Gampe [Mon, 20 Jul 2015 15:25:55 +0000 (15:25 +0000)]
Merge "ART: Fix arm32 quick_invoke_stub CFI"

9 years agoam 6db13772: Merge "Improve documentation of memory layouts in stack_map.h."
Roland Levillain [Mon, 20 Jul 2015 10:04:41 +0000 (10:04 +0000)]
am 6db13772: Merge "Improve documentation of memory layouts in stack_map.h."

* commit '6db13772db22489e61e7934dee43144ee5362d8e':
  Improve documentation of memory layouts in stack_map.h.

9 years agoMerge "Improve documentation of memory layouts in stack_map.h."
Roland Levillain [Mon, 20 Jul 2015 08:57:36 +0000 (08:57 +0000)]
Merge "Improve documentation of memory layouts in stack_map.h."

9 years agoDon't check code pointer for proxies in ArtMethod::GetQuickFrameInfo
Mathieu Chartier [Sat, 18 Jul 2015 02:53:47 +0000 (19:53 -0700)]
Don't check code pointer for proxies in ArtMethod::GetQuickFrameInfo

Bug: 22541058

Change-Id: Id084a69ccd9835147ec71df6bb759e0f1b5e6fbf

9 years agoART: Fix arm32 quick_invoke_stub CFI
Andreas Gampe [Sat, 18 Jul 2015 03:14:50 +0000 (20:14 -0700)]
ART: Fix arm32 quick_invoke_stub CFI

Follow-up to 4808846b2a8647a448aaa05d561a4f60b190196b.

Change-Id: I534ba39a4f59eaea9cfec8e81c944675284fc427

9 years agoam b2295afd: Merge "Get non proxy method for StackDumpVisitor"
Mathieu Chartier [Sat, 18 Jul 2015 02:21:33 +0000 (02:21 +0000)]
am b2295afd: Merge "Get non proxy method for StackDumpVisitor"

* commit 'b2295afd038c921ac4219c3d09774579bd577c87':
  Get non proxy method for StackDumpVisitor

9 years agoMerge "Get non proxy method for StackDumpVisitor"
Mathieu Chartier [Sat, 18 Jul 2015 02:11:12 +0000 (02:11 +0000)]
Merge "Get non proxy method for StackDumpVisitor"

9 years agoam 11237947: Merge "Change intern table to not use WaitHoldingLocks"
Mathieu Chartier [Sat, 18 Jul 2015 02:00:58 +0000 (02:00 +0000)]
am 11237947: Merge "Change intern table to not use WaitHoldingLocks"

* commit '11237947eefd3ec3167d9df41f2f3a041e717b6f':
  Change intern table to not use WaitHoldingLocks

9 years agoGet non proxy method for StackDumpVisitor
Mathieu Chartier [Sat, 18 Jul 2015 01:46:32 +0000 (18:46 -0700)]
Get non proxy method for StackDumpVisitor

Fixes failing DCHECK.

Bug: 22553459
Change-Id: I6fe1012f9a5f8d29cb98bf25e3a279da51c5e1c0

9 years agoMerge "Change intern table to not use WaitHoldingLocks"
Mathieu Chartier [Sat, 18 Jul 2015 01:49:00 +0000 (01:49 +0000)]
Merge "Change intern table to not use WaitHoldingLocks"

9 years agoam 7745dc34: Merge "runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CH...
Igor Murashkin [Sat, 18 Jul 2015 00:51:19 +0000 (00:51 +0000)]
am 7745dc34: Merge "runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS"

* commit '7745dc34f0b40c8c2ef2ef1a540c84c305cd987a':
  runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS

9 years agoMerge "runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS"
Igor Murashkin [Sat, 18 Jul 2015 00:40:25 +0000 (00:40 +0000)]
Merge "runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS"

9 years agoruntime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS
Igor Murashkin [Sat, 11 Jul 2015 01:27:47 +0000 (18:27 -0700)]
runtime: Add -Xverify:softfail and ART_TEST_INTERPRETER_ACCESS_CHECKS

Use ART_TEST_INTERPRETER_ACCESS_CHECKS=true to run all the tests through
the interpreter with access checks enabled. The normal interpreter tests
do not currently enable access checks, which means that a large part of
the interpreter codebase is untested.

The verifier will force every class into a soft fail mode if
-Xverify:softfail is used, thereby ensuring that if used along with the
interpreter (-Xint) that the interpret is always in access checks mode.

This is used alongside with --compile-filter=verify-at-runtime to
prevent the AOT compiler from putting down any code.

Change-Id: I35a10ed8c43d76fa96133cf01fdad497da387200

9 years agoChange intern table to not use WaitHoldingLocks
Mathieu Chartier [Mon, 13 Jul 2015 21:35:43 +0000 (14:35 -0700)]
Change intern table to not use WaitHoldingLocks

Bug: 22423014
Change-Id: I9e16b8cb4def72fff73f1783a182877105feb7aa

9 years agoam 479ebe07: Merge "Extended test with "cross-over arrays"."
Aart Bik [Fri, 17 Jul 2015 18:09:32 +0000 (18:09 +0000)]
am 479ebe07: Merge "Extended test with "cross-over arrays"."

* commit '479ebe076561e4a48129ab0c78cf8ca93c44baf6':
  Extended test with "cross-over arrays".

9 years agoMerge "Extended test with "cross-over arrays"."
Aart Bik [Fri, 17 Jul 2015 18:01:17 +0000 (18:01 +0000)]
Merge "Extended test with "cross-over arrays"."

9 years agoExtended test with "cross-over arrays".
Aart Bik [Fri, 17 Jul 2015 17:21:15 +0000 (10:21 -0700)]
Extended test with "cross-over arrays".

Rationale:
Since HIR is mostly sloppy with array references types, it is good
to extend the tests with some false invariant array references.

Bug: 22538329

Change-Id: I2ef22cbdc999c0d627590f76e7bac61984ac6ad6

9 years agoam 511bb656: Merge "Fix FieldGap priority queue ordering bug."
Richard Uhler [Fri, 17 Jul 2015 15:35:28 +0000 (15:35 +0000)]
am 511bb656: Merge "Fix FieldGap priority queue ordering bug."

* commit '511bb656522e22f0570a9edff8dd295e0de6c145':
  Fix FieldGap priority queue ordering bug.

9 years agoMerge "Fix FieldGap priority queue ordering bug."
Richard Uhler [Fri, 17 Jul 2015 15:22:10 +0000 (15:22 +0000)]
Merge "Fix FieldGap priority queue ordering bug."

9 years agoam 2661ffc6: Merge "Improve Thumb2 branch/load-literal fixup performance."
Vladimir Marko [Fri, 17 Jul 2015 12:14:45 +0000 (12:14 +0000)]
am 2661ffc6: Merge "Improve Thumb2 branch/load-literal fixup performance."

* commit '2661ffc6f739f2006bfa5c70bbb2f60badfaf321':
  Improve Thumb2 branch/load-literal fixup performance.

9 years agoam 75fd056e: Merge "Revert "Revert "Use the quickened metadata to compile -QUICK...
Nicolas Geoffray [Fri, 17 Jul 2015 12:14:43 +0000 (12:14 +0000)]
am 75fd056e: Merge "Revert "Revert "Use the quickened metadata to compile -QUICK opcodes."""

* commit '75fd056e2ac95492bb9a044fc77ef47e413a3ea1':
  Revert "Revert "Use the quickened metadata to compile -QUICK opcodes.""

9 years agoMerge "Improve Thumb2 branch/load-literal fixup performance."
Vladimir Marko [Fri, 17 Jul 2015 12:08:20 +0000 (12:08 +0000)]
Merge "Improve Thumb2 branch/load-literal fixup performance."

9 years agoMerge "Revert "Revert "Use the quickened metadata to compile -QUICK opcodes."""
Nicolas Geoffray [Fri, 17 Jul 2015 12:03:05 +0000 (12:03 +0000)]
Merge "Revert "Revert "Use the quickened metadata to compile -QUICK opcodes."""

9 years agoImprove Thumb2 branch/load-literal fixup performance.
Vladimir Marko [Tue, 14 Jul 2015 10:58:38 +0000 (11:58 +0100)]
Improve Thumb2 branch/load-literal fixup performance.

Replace per-Fixup dependents vectors with a single array
held by the assembler and referenced by the Fixups to avoid
the cost of many allocations with the default allocator.

This improves the compilation time of the boot.oat on N5,
AOSP ToT, by about ~3% as measured by the "Compile Time"
reported with --dump-timing (~2% of the "dex2oat took...").

Change-Id: I7121cdef32d9edc6d287e602d774ffe03f530d18

9 years agoRevert "Revert "Use the quickened metadata to compile -QUICK opcodes.""
Nicolas Geoffray [Fri, 17 Jul 2015 11:51:28 +0000 (11:51 +0000)]
Revert "Revert "Use the quickened metadata to compile -QUICK opcodes.""

This reverts commit 8ab9a9010f3929acbb6c671008b8885b762b01e1.

Change-Id: I1e654d5010ea2112982c3055fcb8c8f9c10e9ac8

9 years agoam 33e50d85: Merge "Reduce space filter threshold to 128."
Nicolas Geoffray [Fri, 17 Jul 2015 11:11:33 +0000 (11:11 +0000)]
am 33e50d85: Merge "Reduce space filter threshold to 128."

* commit '33e50d85a3e43072fad4f58369b71da73b8f966c':
  Reduce space filter threshold to 128.

9 years agoMerge "Reduce space filter threshold to 128."
Nicolas Geoffray [Fri, 17 Jul 2015 10:57:42 +0000 (10:57 +0000)]
Merge "Reduce space filter threshold to 128."

9 years agoam 32f59e58: Merge "Revert "Use the quickened metadata to compile -QUICK opcodes.""
Nicolas Geoffray [Fri, 17 Jul 2015 10:14:52 +0000 (10:14 +0000)]
am 32f59e58: Merge "Revert "Use the quickened metadata to compile -QUICK opcodes.""

* commit '32f59e585a1f8932f2a4ab3f934a0a83e29b3d19':
  Revert "Use the quickened metadata to compile -QUICK opcodes."

9 years agoReduce space filter threshold to 128.
Nicolas Geoffray [Fri, 17 Jul 2015 10:11:09 +0000 (11:11 +0100)]
Reduce space filter threshold to 128.

In order to get closer to our code increase limit.

Bug:21868508

Change-Id: I05f76bfd97f03bda3741eca4e6a678c536ad0702

9 years agoMerge "Revert "Use the quickened metadata to compile -QUICK opcodes.""
Nicolas Geoffray [Fri, 17 Jul 2015 10:02:45 +0000 (10:02 +0000)]
Merge "Revert "Use the quickened metadata to compile -QUICK opcodes.""

9 years agoRevert "Use the quickened metadata to compile -QUICK opcodes."
Nicolas Geoffray [Fri, 17 Jul 2015 10:02:30 +0000 (10:02 +0000)]
Revert "Use the quickened metadata to compile -QUICK opcodes."

Broke sdk build. Investigating.

This reverts commit 4515a67434c9e3e1627586629a1f2aba1a99aa6a.

Change-Id: I6c1107ab626758570a59dc6bf3e4228c70a57196

9 years agoam c3c0a06b: Merge "Use the quickened metadata to compile -QUICK opcodes."
Nicolas Geoffray [Fri, 17 Jul 2015 09:55:53 +0000 (09:55 +0000)]
am c3c0a06b: Merge "Use the quickened metadata to compile -QUICK opcodes."

* commit 'c3c0a06bea879741972add3dfc8099de729856a1':
  Use the quickened metadata to compile -QUICK opcodes.

9 years agoMerge "Use the quickened metadata to compile -QUICK opcodes."
Nicolas Geoffray [Fri, 17 Jul 2015 09:15:56 +0000 (09:15 +0000)]
Merge "Use the quickened metadata to compile -QUICK opcodes."

9 years agoam 913a737b: Merge "Test on (in)variant static and instance field arrays."
Aart Bik [Fri, 17 Jul 2015 01:31:12 +0000 (01:31 +0000)]
am 913a737b: Merge "Test on (in)variant static and instance field arrays."

* commit '913a737ba5774b3fec944190c13fcdf5b2257b6a':
  Test on (in)variant static and instance field arrays.

9 years agoMerge "Test on (in)variant static and instance field arrays."
Aart Bik [Fri, 17 Jul 2015 01:15:58 +0000 (01:15 +0000)]
Merge "Test on (in)variant static and instance field arrays."

9 years agoam caa2fe33: Merge "ART: Fix System.arraycopy"
Andreas Gampe [Fri, 17 Jul 2015 01:02:49 +0000 (01:02 +0000)]
am caa2fe33: Merge "ART: Fix System.arraycopy"

* commit 'caa2fe33a8c4b3a5f7ffd0a6d6adb68337f8655f':
  ART: Fix System.arraycopy

9 years agoTest on (in)variant static and instance field arrays.
Aart Bik [Fri, 17 Jul 2015 00:40:44 +0000 (17:40 -0700)]
Test on (in)variant static and instance field arrays.

Rationale:
Ensure upcoming improved side effects analysis
results in valid optimizations only.

Bug: 22538329
Change-Id: I87e699853e914a0e42adfd1c4e4f9789781b65df

9 years agoMerge "ART: Fix System.arraycopy"
Andreas Gampe [Fri, 17 Jul 2015 00:51:11 +0000 (00:51 +0000)]
Merge "ART: Fix System.arraycopy"

9 years agoART: Fix System.arraycopy
Andreas Gampe [Fri, 17 Jul 2015 00:41:25 +0000 (17:41 -0700)]
ART: Fix System.arraycopy

We cannot use the same code for float+int and long+double. In debug
mode, this will fail.

Change-Id: Icf263626896a7b53e59685c474e77b4c3128ecd5

9 years agoam 6d3d1e3d: Merge "Disable test while investigating."
Nicolas Geoffray [Thu, 16 Jul 2015 18:28:18 +0000 (18:28 +0000)]
am 6d3d1e3d: Merge "Disable test while investigating."

* commit '6d3d1e3d866a880b4df95ba96ed126c1723e3dd6':
  Disable test while investigating.

9 years agoMerge "Disable test while investigating."
Nicolas Geoffray [Thu, 16 Jul 2015 18:12:57 +0000 (18:12 +0000)]
Merge "Disable test while investigating."

9 years agoDisable test while investigating.
Nicolas Geoffray [Thu, 16 Jul 2015 18:11:54 +0000 (19:11 +0100)]
Disable test while investigating.

Change-Id: Iea1a5b59582d2d12aba8ca5eb5eab3db3cc9dd59

9 years agoUse the quickened metadata to compile -QUICK opcodes.
Nicolas Geoffray [Thu, 16 Jul 2015 13:58:58 +0000 (14:58 +0100)]
Use the quickened metadata to compile -QUICK opcodes.

Change-Id: I28a8d68921698bea81f54c95cc6e4c6d2c03f2b4

9 years agoam cced6ad1: Merge "Use (D)CHECK_ALIGNED more."
Roland Levillain [Thu, 16 Jul 2015 14:09:02 +0000 (14:09 +0000)]
am cced6ad1: Merge "Use (D)CHECK_ALIGNED more."

* commit 'cced6ad152cf8ec13f38f2210c1b8445919232d3':
  Use (D)CHECK_ALIGNED more.

9 years agoam 530f3185: Merge "Make oatdump see the new vmap table generated by dextodex."
Nicolas Geoffray [Thu, 16 Jul 2015 13:56:05 +0000 (13:56 +0000)]
am 530f3185: Merge "Make oatdump see the new vmap table generated by dextodex."

* commit '530f31858cfe019e48b5f0b2ecea2ad528e6f6c6':
  Make oatdump see the new vmap table generated by dextodex.

9 years agoMerge "Use (D)CHECK_ALIGNED more."
Roland Levillain [Thu, 16 Jul 2015 13:55:28 +0000 (13:55 +0000)]
Merge "Use (D)CHECK_ALIGNED more."

9 years agoMerge "Make oatdump see the new vmap table generated by dextodex."
Nicolas Geoffray [Thu, 16 Jul 2015 13:42:22 +0000 (13:42 +0000)]
Merge "Make oatdump see the new vmap table generated by dextodex."

9 years agoMake oatdump see the new vmap table generated by dextodex.
Nicolas Geoffray [Thu, 16 Jul 2015 13:15:05 +0000 (14:15 +0100)]
Make oatdump see the new vmap table generated by dextodex.

Change-Id: I48f3fb7320e39c864f8fbc478f970b18358408ec

9 years agoam bca4d299: Merge "ART: Boolean simplifier fix"
Nicolas Geoffray [Thu, 16 Jul 2015 13:01:34 +0000 (13:01 +0000)]
am bca4d299: Merge "ART: Boolean simplifier fix"

* commit 'bca4d29975396b08f1d7357912065660b8007dd7':
  ART: Boolean simplifier fix

9 years agoam 8f861e39: Merge "ART: DCE should know that array-length can throw NPE"
Vladimir Marko [Thu, 16 Jul 2015 13:01:33 +0000 (13:01 +0000)]
am 8f861e39: Merge "ART: DCE should know that array-length can throw NPE"

* commit '8f861e399c96abd8f1bc7c8c585d53b0904f371a':
  ART: DCE should know that array-length can throw NPE

9 years agoMerge "ART: Boolean simplifier fix"
Nicolas Geoffray [Thu, 16 Jul 2015 12:41:02 +0000 (12:41 +0000)]
Merge "ART: Boolean simplifier fix"

9 years agoMerge "ART: DCE should know that array-length can throw NPE"
Vladimir Marko [Thu, 16 Jul 2015 12:39:03 +0000 (12:39 +0000)]
Merge "ART: DCE should know that array-length can throw NPE"

9 years agoART: DCE should know that array-length can throw NPE
Serguei Katkov [Tue, 14 Jul 2015 13:04:48 +0000 (19:04 +0600)]
ART: DCE should know that array-length can throw NPE

array-length can throw NPE so it should be taking into account.

Bug: 22521944
Change-Id: I6f961560ccbbf81f57f1c597828f2ee18e2c3054
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoImprove documentation of memory layouts in stack_map.h.
Roland Levillain [Thu, 16 Jul 2015 10:54:44 +0000 (11:54 +0100)]
Improve documentation of memory layouts in stack_map.h.

Also shorten NumberOfDexRegisterLocationCatalogEntries to
NumberOfLocationCatalogEntries.

Change-Id: I55f8ec2960ea67e2eb6871a417bd442d0e2810fb

9 years agoam fec9d09b: Merge "Fix the documentation of all-run-test-names."
Roland Levillain [Thu, 16 Jul 2015 10:10:31 +0000 (10:10 +0000)]
am fec9d09b: Merge "Fix the documentation of all-run-test-names."

* commit 'fec9d09bf7d2d54048b1df8e3c24a210e58dbc84':
  Fix the documentation of all-run-test-names.

9 years agoam 00b5c617: Merge "Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo."
Roland Levillain [Thu, 16 Jul 2015 10:10:29 +0000 (10:10 +0000)]
am 00b5c617: Merge "Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo."

* commit '00b5c6175210e3372920086818a9d2aa15216eda':
  Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo.

9 years agoART: Boolean simplifier fix
Serguei Katkov [Wed, 15 Jul 2015 09:32:09 +0000 (15:32 +0600)]
ART: Boolean simplifier fix

Boolean simplifier should not remove condition instruction
if it has side effects.

Change-Id: I108b69ec05a49e5543ee956ad9c691b52179cf6c
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoUse (D)CHECK_ALIGNED more.
Roland Levillain [Thu, 16 Jul 2015 09:52:26 +0000 (10:52 +0100)]
Use (D)CHECK_ALIGNED more.

Change-Id: I9d740f6a88d01e028d4ddc3e4e62b0a73ea050af

9 years agoMerge "Fix the documentation of all-run-test-names."
Roland Levillain [Thu, 16 Jul 2015 09:02:47 +0000 (09:02 +0000)]
Merge "Fix the documentation of all-run-test-names."

9 years agoMerge "Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo."
Roland Levillain [Thu, 16 Jul 2015 08:56:28 +0000 (08:56 +0000)]
Merge "Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo."

9 years agoam a14e2e78: Merge "Move MarkObject to mark_sweep.cc"
Mathieu Chartier [Thu, 16 Jul 2015 03:09:40 +0000 (03:09 +0000)]
am a14e2e78: Merge "Move MarkObject to mark_sweep.cc"

* commit 'a14e2e780230b0c2f8e94445a4c8d21f19d447cf':
  Move MarkObject to mark_sweep.cc

9 years agoam 2e7ccf9a: Merge "Enable ASan annotations in ART based on macro setting."
Evgenii Stepanov [Thu, 16 Jul 2015 03:09:38 +0000 (03:09 +0000)]
am 2e7ccf9a: Merge "Enable ASan annotations in ART based on macro setting."

* commit '2e7ccf9aeb7212c96e2081b66f85b67856b8825a':
  Enable ASan annotations in ART based on macro setting.

9 years agoMerge "Move MarkObject to mark_sweep.cc"
Mathieu Chartier [Thu, 16 Jul 2015 03:01:24 +0000 (03:01 +0000)]
Merge "Move MarkObject to mark_sweep.cc"

9 years agoMove MarkObject to mark_sweep.cc
Mathieu Chartier [Thu, 16 Jul 2015 02:58:45 +0000 (19:58 -0700)]
Move MarkObject to mark_sweep.cc

Maybe fixes mac build.

Change-Id: I7c018922be8e159001498d30682435643bed1dfd

9 years agoMerge "Enable ASan annotations in ART based on macro setting."
Evgenii Stepanov [Thu, 16 Jul 2015 02:54:54 +0000 (02:54 +0000)]
Merge "Enable ASan annotations in ART based on macro setting."

9 years agoEnable ASan annotations in ART based on macro setting.
Evgenii Stepanov [Thu, 16 Jul 2015 00:40:14 +0000 (17:40 -0700)]
Enable ASan annotations in ART based on macro setting.

This is a quick hack to remove ASan annotations from SANITIZE_TARGET
build, because they are breaking everything - it looks like we forget
to clean redzones from a page before releasing it to the system, and
some unrelated code runs into them later.

We will add some way to control this from the build system later,
or just fix the underlying issue and re-enable by default.

Bug: 21785137
Change-Id: If79e2455e246dc39355f2758323b249ac20b6144

9 years agoam 34ac23dc: Merge "Address some GC comments"
Mathieu Chartier [Wed, 15 Jul 2015 23:03:41 +0000 (23:03 +0000)]
am 34ac23dc: Merge "Address some GC comments"

* commit '34ac23dc965bf6ca24dd2e9bb115f66ff1fc191e':
  Address some GC comments

9 years agoMerge "Address some GC comments"
Mathieu Chartier [Wed, 15 Jul 2015 22:51:55 +0000 (22:51 +0000)]
Merge "Address some GC comments"

9 years agoAddress some GC comments
Mathieu Chartier [Wed, 15 Jul 2015 21:24:07 +0000 (14:24 -0700)]
Address some GC comments

Follow-up from:
https://android-review.googlesource.com/#/c/159650/

Change-Id: Id14f29b4ce5b70b63fcb3e74f8503ae60a3ae444

9 years agoam e5abf070: Merge "Use SuspendAllInternal for FlipThreadRoots"
Mathieu Chartier [Wed, 15 Jul 2015 18:04:00 +0000 (18:04 +0000)]
am e5abf070: Merge "Use SuspendAllInternal for FlipThreadRoots"

* commit 'e5abf0702555f9f4284a96e923f5c331561974e4':
  Use SuspendAllInternal for FlipThreadRoots

9 years agoMerge "Use SuspendAllInternal for FlipThreadRoots"
Mathieu Chartier [Wed, 15 Jul 2015 17:52:46 +0000 (17:52 +0000)]
Merge "Use SuspendAllInternal for FlipThreadRoots"

9 years agoUse SuspendAllInternal for FlipThreadRoots
Mathieu Chartier [Wed, 15 Jul 2015 17:24:16 +0000 (10:24 -0700)]
Use SuspendAllInternal for FlipThreadRoots

Fix FlipThreadRoots to wait until all the threads are suspended by
using SuspendAllInternal. Since running threads no longer hold the
mutator lock as shared held, doing an exclusive lock will not block
if the threads are not suspended. Also implemented MarkHeapReference
which is used to preserve soft references.

Fixes CC tests.

Change-Id: I4b059238f4249cf297e21ae918becd029fe26527

9 years agoFix the documentation of all-run-test-names.
Roland Levillain [Wed, 15 Jul 2015 13:09:20 +0000 (14:09 +0100)]
Fix the documentation of all-run-test-names.

Change-Id: I160f57bb2244a79e5eaf5e87b9f0ac94747adcd1

9 years agoam 12cfc600: Merge "Clean up after verifier changes wrt. conflict/undefined reg."
Vladimir Marko [Wed, 15 Jul 2015 17:19:13 +0000 (17:19 +0000)]
am 12cfc600: Merge "Clean up after verifier changes wrt. conflict/undefined reg."

* commit '12cfc600d21ebf97373be59f1bd538b68687b5bf':
  Clean up after verifier changes wrt. conflict/undefined reg.

9 years agoMerge "Clean up after verifier changes wrt. conflict/undefined reg."
Vladimir Marko [Wed, 15 Jul 2015 17:06:39 +0000 (17:06 +0000)]
Merge "Clean up after verifier changes wrt. conflict/undefined reg."

9 years agoClean up after verifier changes wrt. conflict/undefined reg.
Vladimir Marko [Wed, 15 Jul 2015 09:55:17 +0000 (10:55 +0100)]
Clean up after verifier changes wrt. conflict/undefined reg.

Remove unused path in RegType::Merge() and compare undefined
type as pointers. Reduce the number of edges to merge in
b_22331663.smali to just those that we really want to test.

Bug: 22331663
Change-Id: I16b83c4c97fd40be9dd246ef13ccda6e924eef60

9 years agoUse art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo.
Roland Levillain [Wed, 15 Jul 2015 13:30:26 +0000 (14:30 +0100)]
Use art::MemoryRegion::{Load,Store}Bits more in art::CodeInfo.

Change-Id: Id50fc029e83bf2c16bd991ea82acd3b355c29127

9 years agoFix FieldGap priority queue ordering bug.
Richard Uhler [Tue, 14 Jul 2015 00:00:35 +0000 (17:00 -0700)]
Fix FieldGap priority queue ordering bug.

The priority queue for keeping track of gaps when packing fields in a
class object had the order reversed, giving priority to smaller gaps
instead of priority to larger gaps. This led to cases where fields
were not placed in gaps when they could be.

Bug: 22460222
Change-Id: I062e772e030c034adc227d75deed31c3322e203e

9 years agoam 5c03f369: Merge "ART: Build SSA form when try/catch is present"
David Brazdil [Wed, 15 Jul 2015 15:36:31 +0000 (15:36 +0000)]
am 5c03f369: Merge "ART: Build SSA form when try/catch is present"

* commit '5c03f3698f5e2e0d762e2e15ec00310b6cdab4fe':
  ART: Build SSA form when try/catch is present

9 years agoMerge "ART: Build SSA form when try/catch is present"
David Brazdil [Wed, 15 Jul 2015 15:22:01 +0000 (15:22 +0000)]
Merge "ART: Build SSA form when try/catch is present"

9 years agoART: Build SSA form when try/catch is present
David Brazdil [Mon, 6 Jul 2015 10:48:53 +0000 (11:48 +0100)]
ART: Build SSA form when try/catch is present

This patch implements support for try/catch in the SsaBuilder.
Values of locals are propagated from throwing sites inside try
blocks to their respective catch blocks and phis ("catch phis")
are created when necessary.

Change-Id: I0736565c2c4ff3f9f0924b6e3a785a50023f875a

9 years agoam 045da88b: Merge "Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMet...
Nicolas Geoffray [Wed, 15 Jul 2015 10:17:40 +0000 (10:17 +0000)]
am 045da88b: Merge "Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening."""""

* commit '045da88bd0230ddf48aaf037b3d6c16fbb97ba65':
  Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening.""""

9 years agoam 172c8f71: Merge "Avoid unexpected conversions to ArrayRef."
Vladimir Marko [Wed, 15 Jul 2015 10:17:38 +0000 (10:17 +0000)]
am 172c8f71: Merge "Avoid unexpected conversions to ArrayRef."

* commit '172c8f71a866931728c389a46ae9e69bc4c04a13':
  Avoid unexpected conversions to ArrayRef.

9 years agoMerge "Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after...
Nicolas Geoffray [Wed, 15 Jul 2015 09:47:00 +0000 (09:47 +0000)]
Merge "Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening."""""

9 years agoRevert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening...
Nicolas Geoffray [Tue, 14 Jul 2015 10:37:54 +0000 (11:37 +0100)]
Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening.""""

This reverts commit ed6195a514e3253576af27ea9ba13038509d29ac.

Change-Id: Icb58854301e8982147cdebe3edf2e0d9e0a63a56

9 years agoMerge "Avoid unexpected conversions to ArrayRef."
Vladimir Marko [Wed, 15 Jul 2015 08:59:43 +0000 (08:59 +0000)]
Merge "Avoid unexpected conversions to ArrayRef."

9 years agoam 76ca8206: Merge "ART: Fix mac build"
Andreas Gampe [Wed, 15 Jul 2015 06:02:41 +0000 (06:02 +0000)]
am 76ca8206: Merge "ART: Fix mac build"

* commit '76ca82063ac62488fefb0b12d40026f4ebb2e198':
  ART: Fix mac build

9 years agoMerge "ART: Fix mac build"
Andreas Gampe [Wed, 15 Jul 2015 05:53:03 +0000 (05:53 +0000)]
Merge "ART: Fix mac build"