OSDN Git Service

android-x86/art.git
7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (1/2)." am: d82d4252f6
David Srbecky [Thu, 13 Oct 2016 13:09:33 +0000 (13:09 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (1/2)." am: d82d4252f6
am: 15a53292ca

Change-Id: Ieeaa15f8fc0262ff452ffff865e643524b8e034a

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (1/2)."
David Srbecky [Thu, 13 Oct 2016 13:02:34 +0000 (13:02 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (1/2)."
am: d82d4252f6

Change-Id: I6ba51ae64bc6b732e70faedc1996b8687f5d2029

7 years agoMerge "Generate SHA-1 build ID for host-generated *.oat files (1/2)."
David Srbecky [Thu, 13 Oct 2016 12:52:31 +0000 (12:52 +0000)]
Merge "Generate SHA-1 build ID for host-generated *.oat files (1/2)."

7 years agoMerge "Update HInstruction::NeedsCurrentMethod." am: 68f1128b3f
Nicolas Geoffray [Thu, 13 Oct 2016 10:36:22 +0000 (10:36 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod." am: 68f1128b3f
am: c44d516918

Change-Id: If5c28cb59f3de0405eaeab8069bac1959fb73b44

7 years agoMerge "Update HInstruction::NeedsCurrentMethod."
Nicolas Geoffray [Thu, 13 Oct 2016 10:28:51 +0000 (10:28 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod."
am: 68f1128b3f

Change-Id: Ie5627b117e3ee11cb53f3781e9da6a7e7d327383

7 years agoMerge "Update HInstruction::NeedsCurrentMethod."
Nicolas Geoffray [Thu, 13 Oct 2016 10:15:52 +0000 (10:15 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod."

7 years agoMerge "ART: Disable test 906 for JIT" am: 7c750a2032
Nicolas Geoffray [Thu, 13 Oct 2016 10:14:19 +0000 (10:14 +0000)]
Merge "ART: Disable test 906 for JIT" am: 7c750a2032
am: c67136c302

Change-Id: Ifa719009da93990525cb9238449070955f3bd714

7 years agoMerge "ART: Disable test 906 for JIT"
Nicolas Geoffray [Thu, 13 Oct 2016 10:07:20 +0000 (10:07 +0000)]
Merge "ART: Disable test 906 for JIT"
am: 7c750a2032

Change-Id: Ie6e7d0ff345a3d13ce917f5321006499952833b9

7 years agoMerge "ART: Disable test 906 for JIT"
Nicolas Geoffray [Thu, 13 Oct 2016 10:04:00 +0000 (10:04 +0000)]
Merge "ART: Disable test 906 for JIT"

7 years agoMerge "Revert "Revert "Remove dead code from compiler driver.""" am: dd58cb7451
Nicolas Geoffray [Thu, 13 Oct 2016 08:34:16 +0000 (08:34 +0000)]
Merge "Revert "Revert "Remove dead code from compiler driver.""" am: dd58cb7451
am: 9fe4969138

Change-Id: I17375152b9e0157dca08e392ba634cfe7ee12b17

7 years agoMerge "Revert "Revert "Remove dead code from compiler driver."""
Nicolas Geoffray [Thu, 13 Oct 2016 08:27:15 +0000 (08:27 +0000)]
Merge "Revert "Revert "Remove dead code from compiler driver."""
am: dd58cb7451

Change-Id: I877d6316fe9fdf418f657d7a08b0e48c58e2b0ba

7 years agoMerge "Revert "Revert "Remove dead code from compiler driver."""
Nicolas Geoffray [Thu, 13 Oct 2016 08:13:49 +0000 (08:13 +0000)]
Merge "Revert "Revert "Remove dead code from compiler driver."""

7 years agoMerge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a
Mathieu Chartier [Thu, 13 Oct 2016 04:25:32 +0000 (04:25 +0000)]
Merge "Move Heap::GetInstances to use Handles" am: 4c91f05a9a
am: 7c01c29e32

Change-Id: If38a8bc5fdb71cf6124550c6a098e8fbed755cbe

7 years agoMerge "Move Heap::GetInstances to use Handles"
Mathieu Chartier [Thu, 13 Oct 2016 04:18:30 +0000 (04:18 +0000)]
Merge "Move Heap::GetInstances to use Handles"
am: 4c91f05a9a

Change-Id: I5d59078d3877b12d9def1a6fe3ad85118e5e7f06

7 years agoMerge "Move Heap::GetInstances to use Handles"
Mathieu Chartier [Thu, 13 Oct 2016 04:09:27 +0000 (04:09 +0000)]
Merge "Move Heap::GetInstances to use Handles"

7 years agoMove Heap::GetInstances to use Handles
Mathieu Chartier [Thu, 13 Oct 2016 02:37:59 +0000 (19:37 -0700)]
Move Heap::GetInstances to use Handles

Prevent moving GC bugs from VisitObjects. Fix JDWP tests.

Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334
Change-Id: Ie7f51f1980ec0c1eddc3b59c3e49564eacb3be85

7 years agoMerge "Use handles for GetReferringObjects" am: 000432d9a4
Mathieu Chartier [Thu, 13 Oct 2016 02:46:56 +0000 (02:46 +0000)]
Merge "Use handles for GetReferringObjects" am: 000432d9a4
am: 40bf3da1d7

Change-Id: Iae64d759c1fb74c6562cce6668ee6053f1bd58f9

7 years agoMerge "Use handles for GetReferringObjects"
Mathieu Chartier [Thu, 13 Oct 2016 02:40:25 +0000 (02:40 +0000)]
Merge "Use handles for GetReferringObjects"
am: 000432d9a4

Change-Id: I1d778b91f0964b562e06d9e898dcb68e8dedb3fc

7 years agoMerge "Use handles for GetReferringObjects"
Mathieu Chartier [Thu, 13 Oct 2016 02:30:43 +0000 (02:30 +0000)]
Merge "Use handles for GetReferringObjects"

7 years agoUse handles for GetReferringObjects
Mathieu Chartier [Thu, 13 Oct 2016 02:19:56 +0000 (19:19 -0700)]
Use handles for GetReferringObjects

Required since VisitObjects may cause thread suspension. Fixes
failing jdwp tests.

Test: test-art-host
Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334
Change-Id: Ic11780b3778c83e7812bc90c0723a293537f376c

7 years agoMerge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269
Mathieu Chartier [Thu, 13 Oct 2016 01:47:51 +0000 (01:47 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects" am: a9daa3a269
am: 928fbad217

Change-Id: Id91a7286e3be53009bebad4424060a39b19f5a88

7 years agoMerge "Fix moving GC bug in cloning finalizable objects"
Mathieu Chartier [Thu, 13 Oct 2016 01:40:50 +0000 (01:40 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects"
am: a9daa3a269

Change-Id: Ie20377da6944a47e54e61b9074263ad683425d97

7 years agoMerge "Fix moving GC bug in cloning finalizable objects"
Mathieu Chartier [Thu, 13 Oct 2016 01:31:19 +0000 (01:31 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects"

7 years agoART: Disable test 906 for JIT
Andreas Gampe [Thu, 13 Oct 2016 01:21:41 +0000 (18:21 -0700)]
ART: Disable test 906 for JIT

Suppress test which has potential allocations at inopportune
moments.

Bug: 31385354
Test: m ART_TEST_JIT=true test-art-host-run-test-906-iterate-heap
Change-Id: I137d5d2ba20b95ee4c4421e9da7526bee0c57d20

7 years agoMerge "Move registration into android package" am: 834a448aa9
Colin Cross [Thu, 13 Oct 2016 00:19:54 +0000 (00:19 +0000)]
Merge "Move registration into android package" am: 834a448aa9
am: 1ff03d7a77

Change-Id: I88e6f6e79a4af9dc619d05416583cc6564f0546c

7 years agoMove registration into android package am: 96548c9ee0
Colin Cross [Thu, 13 Oct 2016 00:19:45 +0000 (00:19 +0000)]
Move registration into android package am: 96548c9ee0
am: 35d3a30a29

Change-Id: I126b659e8feae06fbf9deebad519d4c2ce754a84

7 years agoMerge "Move registration into android package"
Colin Cross [Thu, 13 Oct 2016 00:12:48 +0000 (00:12 +0000)]
Merge "Move registration into android package"
am: 834a448aa9

Change-Id: I173db22be57f95a9ad905009da3ae615f7b359bb

7 years agoMove registration into android package
Colin Cross [Thu, 13 Oct 2016 00:12:45 +0000 (00:12 +0000)]
Move registration into android package
am: 96548c9ee0

Change-Id: Ief5f68fdd913be2c5209a1da9a60ecb195198a44

7 years agoFix moving GC bug in cloning finalizable objects
Mathieu Chartier [Wed, 12 Oct 2016 23:08:35 +0000 (16:08 -0700)]
Fix moving GC bug in cloning finalizable objects

It is not safe to have thread suspension in the PreFenceVisitor. The fix is
to add the finalizer reference in the caller.

Test: art/tools/run-libcore-tests.sh '--mode=host' '--variant=X32' --debug

Bug: 31113334

Change-Id: I1e4650f8b75408a3d07e2c51ac334ff98552cfb5

7 years agoMerge "Move registration into android package"
Colin Cross [Thu, 13 Oct 2016 00:02:33 +0000 (00:02 +0000)]
Merge "Move registration into android package"

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f58
Mathieu Chartier [Wed, 12 Oct 2016 23:58:44 +0000 (23:58 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope" am: 480ddd6f58
am: aa35bb697a

Change-Id: Ic88c11155da5f20824ca12d872957778a62220b4

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
Mathieu Chartier [Wed, 12 Oct 2016 23:52:15 +0000 (23:52 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
am: 480ddd6f58

Change-Id: I76a21e5737f9a1f27cdd052f92142befa3ce1848

7 years agoMerge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
Mathieu Chartier [Wed, 12 Oct 2016 23:47:10 +0000 (23:47 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"

7 years agoMerge "Add handle wrapper to allocation listener" am: c2f1fc70db
Mathieu Chartier [Wed, 12 Oct 2016 23:11:55 +0000 (23:11 +0000)]
Merge "Add handle wrapper to allocation listener" am: c2f1fc70db
am: bf2b8162da

Change-Id: I8bad789f43c6f73d2b3eb9854ee2e2c4138871b2

7 years agoMerge "Recognize XOR-based periodic induction." am: 023161ec66
Aart Bik [Wed, 12 Oct 2016 23:11:41 +0000 (23:11 +0000)]
Merge "Recognize XOR-based periodic induction." am: 023161ec66
am: 7169ef7abe

Change-Id: I0d708d59b95b0cc1df80e6f9ae77f5b8fc6edcb4

7 years agoMerge "Add handle wrapper to allocation listener"
Mathieu Chartier [Wed, 12 Oct 2016 23:04:53 +0000 (23:04 +0000)]
Merge "Add handle wrapper to allocation listener"
am: c2f1fc70db

Change-Id: I6d1dd11cc78df41c40324c280757f66a0ac55c2d

7 years agoMerge "ART: Fix typo" am: b38187c7a9
Andreas Gampe [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "ART: Fix typo" am: b38187c7a9
am: 03cd3d719c

Change-Id: I704ec86a75c71169a04debddc95e84a8fd199272

7 years agoMerge "Recognize XOR-based periodic induction."
Aart Bik [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "Recognize XOR-based periodic induction."
am: 023161ec66

Change-Id: Ib3779df3c48d6757b6e53e2c5e12eb0c6e8ca176

7 years agoMerge "Add handle wrapper to allocation listener"
Mathieu Chartier [Wed, 12 Oct 2016 23:00:51 +0000 (23:00 +0000)]
Merge "Add handle wrapper to allocation listener"

7 years agoMerge "ART: Fix typo"
Andreas Gampe [Wed, 12 Oct 2016 22:57:41 +0000 (22:57 +0000)]
Merge "ART: Fix typo"
am: b38187c7a9

Change-Id: I8ffbcd3acaec9fdca83fae9256b9c5a1061931a6

7 years agoMerge "Recognize XOR-based periodic induction."
Treehugger Robot [Wed, 12 Oct 2016 22:57:20 +0000 (22:57 +0000)]
Merge "Recognize XOR-based periodic induction."

7 years agoMerge "ART: Fix typo"
Treehugger Robot [Wed, 12 Oct 2016 22:47:18 +0000 (22:47 +0000)]
Merge "ART: Fix typo"

7 years agoAdd handle wrapper to allocation listener
Mathieu Chartier [Wed, 12 Oct 2016 22:45:58 +0000 (15:45 -0700)]
Add handle wrapper to allocation listener

Fix failing test for interpreter.

Test: mm -j32 test-art-host-run-test-debug-prebuild-interpreter-relocate-trace-cms-checkjni-picimage-npictest-ndebuggable-904-object-allocation32  ART_TEST_TRACE=true ART_TEST_OPTIMIZING=false ART_TEST_INTERPRETER=true

Change-Id: I9e7e09db82cf13730dc2471ac05260bf6a69ab7c

7 years agoMerge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c
Igor Murashkin [Wed, 12 Oct 2016 22:42:37 +0000 (22:42 +0000)]
Merge "jni: Disable FastNative path for methods returning objects" am: 29b8c4d62c
am: 6726de884b

Change-Id: Ib15ee3dd1de643ca94e5e92cbba26815d6d13531

7 years agoMerge "jni: Disable FastNative path for methods returning objects"
Igor Murashkin [Wed, 12 Oct 2016 22:35:38 +0000 (22:35 +0000)]
Merge "jni: Disable FastNative path for methods returning objects"
am: 29b8c4d62c

Change-Id: I9125422331805946357db14e2f0414ecc7c9a380

7 years agoMerge "jni: Disable FastNative path for methods returning objects"
Treehugger Robot [Wed, 12 Oct 2016 22:23:36 +0000 (22:23 +0000)]
Merge "jni: Disable FastNative path for methods returning objects"

7 years agoMove registration into android package
Colin Cross [Wed, 12 Oct 2016 21:26:55 +0000 (14:26 -0700)]
Move registration into android package

Mutator registration is tightly coupled with the android package, move
all registration from the soong package to the android package.

Test: build.ninja identical
Change-Id: I0326d0c88f78edb79eebedb155b69415e351fb61

7 years agoUpdate HInstruction::NeedsCurrentMethod.
Nicolas Geoffray [Wed, 12 Oct 2016 21:03:31 +0000 (22:03 +0100)]
Update HInstruction::NeedsCurrentMethod.

HLoadString and HLoadClass when sharpened may not need it
anymore. Instead just rely on the HCurrentMethod being the
SSA dependency of those instructions.

Also save storing the current method in the stack if the
graph actually doesn't need it.

test: m test-art-host test-art-target
Change-Id: I235d8275230637cbbd38fc0d2f9b822f6d2a9c1e

7 years agoRecognize XOR-based periodic induction.
Aart Bik [Wed, 12 Oct 2016 17:01:05 +0000 (10:01 -0700)]
Recognize XOR-based periodic induction.

Rationale:
This is a commonly used construct (e.g. x = !x for booleans
and x ^= 1 for integers). This CL prepares some upcoming
optimizations that exploit such inductions.

Change-Id: I46edffb9de1075a836995daf5c2dfff7891f3034
Test: 530-checker-loops2 and induction_var_analysis_test

7 years agoMerge "Fix the CC monkey crashes." am: 3d9f2834ba
Hiroshi Yamauchi [Wed, 12 Oct 2016 20:56:01 +0000 (20:56 +0000)]
Merge "Fix the CC monkey crashes." am: 3d9f2834ba
am: a548bc35cd

Change-Id: I3c7f1e617f09a376d218db959e916061d8ae515c

7 years agoART: Fix typo
Andreas Gampe [Wed, 12 Oct 2016 20:50:20 +0000 (13:50 -0700)]
ART: Fix typo

Follow-up to commit 27fa96c285c4aa2f64e9bb63a3f38ffdc98c282a.

Bug: 31684277
Test: m test-art-host
Change-Id: I165b350f6c1a216ed6a7ca648abd6004c662c1cb

7 years agojni: Disable FastNative path for methods returning objects
Igor Murashkin [Wed, 12 Oct 2016 20:33:43 +0000 (13:33 -0700)]
jni: Disable FastNative path for methods returning objects

Bug: 32088975
Change-Id: Iba3a8f5462829ccb38f771f8f940b57c4e6a1c3f

7 years agoMerge "Fix the CC monkey crashes."
Hiroshi Yamauchi [Wed, 12 Oct 2016 20:49:01 +0000 (20:49 +0000)]
Merge "Fix the CC monkey crashes."
am: 3d9f2834ba

Change-Id: Id9c87bc5e374556bedbda894e971247e2ead2d43

7 years agoMerge "Fix the CC monkey crashes."
Treehugger Robot [Wed, 12 Oct 2016 20:42:56 +0000 (20:42 +0000)]
Merge "Fix the CC monkey crashes."

7 years agoReplace StackHandleScopeCollection with VariableSizedHandleScope
Mathieu Chartier [Tue, 11 Oct 2016 23:52:17 +0000 (16:52 -0700)]
Replace StackHandleScopeCollection with VariableSizedHandleScope

VariableSizedHandleScope's internal handle scopes are not pushed
directly on the thread. This means that it is safe to intermix with
other types of handle scopes.

Added test.

Test: clean-oat-host && test-art-host

Change-Id: Id2fd1155788428f394d49615d337d9134824c8f0

7 years agoMerge "ART: Disable test 906 for target" am: dbeceb3409
Andreas Gampe [Wed, 12 Oct 2016 20:29:29 +0000 (20:29 +0000)]
Merge "ART: Disable test 906 for target" am: dbeceb3409
am: 54d7471d8e

Change-Id: I851087a6e417cfdb5b4e6046709414c98b4fafc2

7 years agoMerge "ART: Disable test 906 for target"
Andreas Gampe [Wed, 12 Oct 2016 20:21:59 +0000 (20:21 +0000)]
Merge "ART: Disable test 906 for target"
am: dbeceb3409

Change-Id: Ie27510ba464dd917cbf587a4407004c5d9388799

7 years agoMerge "ART: Disable test 906 for target"
Andreas Gampe [Wed, 12 Oct 2016 20:11:11 +0000 (20:11 +0000)]
Merge "ART: Disable test 906 for target"

7 years agoART: Disable test 906 for target
Andreas Gampe [Wed, 12 Oct 2016 20:09:03 +0000 (13:09 -0700)]
ART: Disable test 906 for target

Bug: 31385354
Test: m test-art-host-run-test-906-iterate-heap
Change-Id: Ic31d25acd9c50dfefddd567ead30d8d3e3f97d0a

7 years agoMerge "ART: Add heap iteration callback" am: e8317d90c6
Andreas Gampe [Wed, 12 Oct 2016 20:01:59 +0000 (20:01 +0000)]
Merge "ART: Add heap iteration callback" am: e8317d90c6
am: 0eaf868682

Change-Id: I75882b3d753cb0af86390f2d645a03e18ed60446

7 years agoMerge "ART: Add heap iteration callback"
Andreas Gampe [Wed, 12 Oct 2016 19:55:59 +0000 (19:55 +0000)]
Merge "ART: Add heap iteration callback"
am: e8317d90c6

Change-Id: Ib6c44cd17f87cba92d41efbbaf408e8cf7851504

7 years agoMerge "ART: Add heap iteration callback"
Andreas Gampe [Wed, 12 Oct 2016 19:48:18 +0000 (19:48 +0000)]
Merge "ART: Add heap iteration callback"

7 years agoFix the CC monkey crashes.
Hiroshi Yamauchi [Wed, 12 Oct 2016 18:53:57 +0000 (11:53 -0700)]
Fix the CC monkey crashes.

Add ScopedGCCriticalSection around the monitor deflation to avoid race
conditions on the lock word.

Bug: 31773180
Bug: 31712602
Bug: 31712174
Bug: 31712601
Bug: 31712256
Bug: 31710993
Bug: 12687968
Test: test-art host/N9, N9 libartd boot, Ritz EAAC.
Change-Id: Id05c6502fb08ca2e0770af4940b737038c3412d6

7 years agoMerge "Move Heap parameters to ObjPtr" am: 33625ed00f
Mathieu Chartier [Wed, 12 Oct 2016 18:54:23 +0000 (18:54 +0000)]
Merge "Move Heap parameters to ObjPtr" am: 33625ed00f
am: a23f6e88e9

Change-Id: Idf99cf43f6f23dd983ce1dd0155b345ce2c34c69

7 years agoMerge "Move Heap parameters to ObjPtr"
Mathieu Chartier [Wed, 12 Oct 2016 18:47:53 +0000 (18:47 +0000)]
Merge "Move Heap parameters to ObjPtr"
am: 33625ed00f

Change-Id: I9e58f55afb03552095f81f39eea275fa40639895

7 years agoMerge "Move Heap parameters to ObjPtr"
Mathieu Chartier [Wed, 12 Oct 2016 18:35:03 +0000 (18:35 +0000)]
Merge "Move Heap parameters to ObjPtr"

7 years agoART: Add heap iteration callback
Andreas Gampe [Wed, 12 Oct 2016 02:55:37 +0000 (19:55 -0700)]
ART: Add heap iteration callback

Add callback support for heap iteration. Visiting of fields will
be done in a follow-up.

Add a test.

Bug: 31385354
Test: m test-art-host-run-test-906-iterate-heap
Test: m ART_TEST_GC_STRESS=true ART_TEST_GC_VERIFY=true test-art-host-run-test-906-iterate-heap
Change-Id: I7bcf6751e6df4ef58756ba97701050b2ff5eb07b

7 years agoMove Heap parameters to ObjPtr
Mathieu Chartier [Fri, 7 Oct 2016 00:44:26 +0000 (17:44 -0700)]
Move Heap parameters to ObjPtr

Deleted some unused object dumping code.

Test: test-art-host

Bug: 31113334

Change-Id: I747220caafe6679591fd4b361d7f50383a046164

7 years agoMerge "ART: Use cerr for host unexpected errors" am: 078483d4df
Andreas Gampe [Wed, 12 Oct 2016 16:04:12 +0000 (16:04 +0000)]
Merge "ART: Use cerr for host unexpected errors" am: 078483d4df
am: b6256f1c63

Change-Id: I5034329e688f675af68c115902c3302fda45322e

7 years agoMerge "ART: Use cerr for host unexpected errors"
Andreas Gampe [Wed, 12 Oct 2016 15:57:43 +0000 (15:57 +0000)]
Merge "ART: Use cerr for host unexpected errors"
am: 078483d4df

Change-Id: I3f3ddcdbb684862c1683e32ebedcf43505364988

7 years agoMerge "ART: Use cerr for host unexpected errors"
Treehugger Robot [Wed, 12 Oct 2016 15:47:44 +0000 (15:47 +0000)]
Merge "ART: Use cerr for host unexpected errors"

7 years agoRevert "Revert "Remove dead code from compiler driver.""
Nicolas Geoffray [Wed, 12 Oct 2016 13:03:15 +0000 (13:03 +0000)]
Revert "Revert "Remove dead code from compiler driver.""

This reverts commit 38f250fd3cb36fac27bad7cac8eefacdf8a6e41e.

Change-Id: I491891c9108a0646145553241aa04a9cbba7d29b

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b...
Nicolas Geoffray [Wed, 12 Oct 2016 13:22:35 +0000 (13:22 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b." am: e2ced0db78
am: 0db04d1e99

Change-Id: Ia0ad6dfb81d3dda838916c4245917ba9e56ed0af

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
Nicolas Geoffray [Wed, 12 Oct 2016 13:16:03 +0000 (13:16 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
am: e2ced0db78

Change-Id: I11254bf9114ee61dbc96f447237abbef9e7c7faf

7 years agoMerge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
Nicolas Geoffray [Wed, 12 Oct 2016 13:05:08 +0000 (13:05 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."

7 years agoART: Use cerr for host unexpected errors
Andreas Gampe [Wed, 12 Oct 2016 03:04:11 +0000 (20:04 -0700)]
ART: Use cerr for host unexpected errors

Use cerr and endl when dumping unexpected signals on Linux. This
simulates the previous special-casing of INTERNAL_FATAL to
immediately print output.

Bug: 31338270
Test: m test-art-host
Test: manual segfault
Change-Id: I9d4471836339bf69681cc4aa43df6d558e7f123d

7 years agoMerge "ART: Add object reclaim support" am: f0ab2ec600
Andreas Gampe [Wed, 12 Oct 2016 00:24:19 +0000 (00:24 +0000)]
Merge "ART: Add object reclaim support" am: f0ab2ec600
am: 52847e9c5b

Change-Id: Idbb6efc1aa769f8d9014af7f9b217d3d55e3128d

7 years agoMerge "ART: Add object reclaim support"
Andreas Gampe [Wed, 12 Oct 2016 00:18:48 +0000 (00:18 +0000)]
Merge "ART: Add object reclaim support"
am: f0ab2ec600

Change-Id: Id8364853b0856cfe3238ce2133f2e65b381a31bf

7 years agoMerge "ART: Add object reclaim support"
Treehugger Robot [Tue, 11 Oct 2016 23:16:48 +0000 (23:16 +0000)]
Merge "ART: Add object reclaim support"

7 years agoART: Add object reclaim support
Andreas Gampe [Tue, 11 Oct 2016 02:09:09 +0000 (19:09 -0700)]
ART: Add object reclaim support

Add support for the object free callback.

Refactor code in support. Add test.

Bug: 31384923
Test: m test-art-host
Test: m test-art-host-run-test-905-object-free
Test: m ART_USE_READ_BARRIER=true test-art-host-run-test-905-object-free
Change-Id: Icde40ad464c723cfe2f7660c07cd2f79b6dc2032

7 years agoMerge "Improved and simplified loop optimizations." am: c1f24b947a
Aart Bik [Tue, 11 Oct 2016 20:13:03 +0000 (20:13 +0000)]
Merge "Improved and simplified loop optimizations." am: c1f24b947a
am: 18173e50b8

Change-Id: If1555e3bcfec791c94d7569fc667f44783d14cc5

7 years agoMerge "Improved and simplified loop optimizations."
Aart Bik [Tue, 11 Oct 2016 20:06:34 +0000 (20:06 +0000)]
Merge "Improved and simplified loop optimizations."
am: c1f24b947a

Change-Id: I8d8bfb2e2288f8c4f468a0d21fdf5eef45f10163

7 years agoMerge "Improved and simplified loop optimizations."
Treehugger Robot [Tue, 11 Oct 2016 19:55:32 +0000 (19:55 +0000)]
Merge "Improved and simplified loop optimizations."

7 years agoImproved and simplified loop optimizations.
Aart Bik [Mon, 10 Oct 2016 22:39:10 +0000 (15:39 -0700)]
Improved and simplified loop optimizations.

Rationale:
Empty preheader simplification has been simplified
to a much more general empty block removal optimization
step. Incremental updating of induction variable
analysis enables repeated elimination or simplification
of induction cycles.

This enabled an extra layer of optimization for
e.g. Benchpress Loop (17.5us. -> 0.24us. -> 0.08us).
So the original 73x speedup is now multiplied
by another 3x, for a total of about 218x.

Test: 618-checker-induction et al.
Change-Id: I394699981481cdd5357e0531bce88cd48bd32879

7 years agoMerge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5
Goran Jakovljevic [Tue, 11 Oct 2016 16:15:47 +0000 (16:15 +0000)]
Merge "Enable generic JNI tests for MIPS32" am: 1e0d8ce4e5
am: 267bdd513e

Change-Id: I56747d4c6c9c9330ab14633569de4d7eae438bae

7 years agoMerge "Enable generic JNI tests for MIPS32"
Goran Jakovljevic [Tue, 11 Oct 2016 16:09:18 +0000 (16:09 +0000)]
Merge "Enable generic JNI tests for MIPS32"
am: 1e0d8ce4e5

Change-Id: I6dec138ffc9ebd55a307510201bb97f2a16b1ff4

7 years agoMerge "Enable generic JNI tests for MIPS32"
Treehugger Robot [Tue, 11 Oct 2016 16:03:13 +0000 (16:03 +0000)]
Merge "Enable generic JNI tests for MIPS32"

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61db7
Goran Jakovljevic [Tue, 11 Oct 2016 13:34:09 +0000 (13:34 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64" am: 91d1b61db7
am: 9029878777

Change-Id: Ib28f6a7175c7ba4b53b87a779be666dde9bc6e4e

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
Goran Jakovljevic [Tue, 11 Oct 2016 13:28:07 +0000 (13:28 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
am: 91d1b61db7

Change-Id: Ieb3460c2993e2c5c547bd6fb76de0aec51580bf0

7 years agoMerge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
Treehugger Robot [Tue, 11 Oct 2016 13:20:48 +0000 (13:20 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"

7 years agoMerge "ART: Fix test 904" am: 6136dc6841
Andreas Gampe [Tue, 11 Oct 2016 03:16:29 +0000 (03:16 +0000)]
Merge "ART: Fix test 904" am: 6136dc6841
am: 9bb0bae74c

Change-Id: I3af40731f0cfd66a27bc5f15f441af610b3bb7fe

7 years agoMerge "ART: Fix test 904"
Andreas Gampe [Tue, 11 Oct 2016 03:10:59 +0000 (03:10 +0000)]
Merge "ART: Fix test 904"
am: 6136dc6841

Change-Id: I83254cf3f4caf43218f3e542823c65e69e01bfc6

7 years agoMerge "ART: Fix test 904"
Andreas Gampe [Tue, 11 Oct 2016 03:04:35 +0000 (03:04 +0000)]
Merge "ART: Fix test 904"

7 years agoART: Fix test 904
Andreas Gampe [Tue, 11 Oct 2016 03:01:41 +0000 (20:01 -0700)]
ART: Fix test 904

Prefetch class names to avoid allocation for logging.

Bug: 31684277
Test: m ART_TEST_RUN_TEST_RELOCATE_NO_PATCHOAT=true test-art-host-run-test-904-object-allocation
Change-Id: I8d12ea1a2b15680995af84d243de4d07d22bede5

7 years agoMerge "Use art::Atomic for CopyObject" am: bf9e543636
Mathieu Chartier [Tue, 11 Oct 2016 01:10:51 +0000 (01:10 +0000)]
Merge "Use art::Atomic for CopyObject" am: bf9e543636
am: 0e84fc7d6c

Change-Id: Ib43feab48898cf3c047f747080f41488c2445864

7 years agoMerge "Use art::Atomic for CopyObject"
Mathieu Chartier [Tue, 11 Oct 2016 01:04:51 +0000 (01:04 +0000)]
Merge "Use art::Atomic for CopyObject"
am: bf9e543636

Change-Id: I2566ef7e0cbfc667f1c0102e1f3809711639bfdd

7 years agoMerge "ART: Add allocation callback" am: f24ddb28eb
Andreas Gampe [Tue, 11 Oct 2016 00:59:20 +0000 (00:59 +0000)]
Merge "ART: Add allocation callback" am: f24ddb28eb
am: de967edf69

Change-Id: I158b0aec095950f4f4655b1b0a11791155bcb9b6

7 years agoMerge "Use art::Atomic for CopyObject"
Mathieu Chartier [Tue, 11 Oct 2016 00:59:03 +0000 (00:59 +0000)]
Merge "Use art::Atomic for CopyObject"

7 years agoMerge "ART: Add allocation callback"
Andreas Gampe [Tue, 11 Oct 2016 00:53:50 +0000 (00:53 +0000)]
Merge "ART: Add allocation callback"
am: f24ddb28eb

Change-Id: I1f565590fc884312c40b279ac9ea8d0798d2f396

7 years agoMerge "ART: Add allocation callback"
Andreas Gampe [Tue, 11 Oct 2016 00:43:31 +0000 (00:43 +0000)]
Merge "ART: Add allocation callback"