OSDN Git Service
Mathieu Chartier [Fri, 14 Oct 2016 00:00:20 +0000 (00:00 +0000)]
Merge "Move common throws to ObjPtr" am:
968c14bd6f
am:
88f5dbbd54
Change-Id: I783538772670a939c4dccc16b73150008475ba49
Mathieu Chartier [Thu, 13 Oct 2016 23:57:49 +0000 (23:57 +0000)]
Merge "Move common throws to ObjPtr"
am:
968c14bd6f
Change-Id: I1c8dcfa9b32ccb963d8b60d7859968f16cc0a4bc
Mathieu Chartier [Thu, 13 Oct 2016 23:52:45 +0000 (23:52 +0000)]
Merge "Move common throws to ObjPtr"
Mathieu Chartier [Thu, 13 Oct 2016 20:59:58 +0000 (13:59 -0700)]
Move common throws to ObjPtr
Also a few other throws. Removed some calls to ObjPtr::Ptr.
Test: test-art-host
Bug:
31113334
Change-Id: I4082d64134a5a8961489f4309522c28a30968a18
Mathieu Chartier [Thu, 13 Oct 2016 20:16:33 +0000 (20:16 +0000)]
Merge "Move mirror::Class to use ObjPtr" am:
b18bfac8e9
am:
4b3615d4aa
Change-Id: I1768cb1804cddd1c0bf8525fe566ec2bfec25d19
Mathieu Chartier [Thu, 13 Oct 2016 20:14:33 +0000 (20:14 +0000)]
Merge "Move mirror::Class to use ObjPtr"
am:
b18bfac8e9
Change-Id: Id5e1457f2927301478b4e3efb0caafd21aa179bd
Mathieu Chartier [Thu, 13 Oct 2016 20:08:36 +0000 (20:08 +0000)]
Merge "Move mirror::Class to use ObjPtr"
Mathieu Chartier [Tue, 4 Oct 2016 20:54:57 +0000 (13:54 -0700)]
Move mirror::Class to use ObjPtr
Leave the return types as non ObjPtr for now. Fixed moving GC bugs
in tests.
Test: test-art-host
Bug:
31113334
Change-Id: I5da1b5ac55dfbc5cc97a64be2c870ba9f512d9b0
Nicolas Geoffray [Thu, 13 Oct 2016 15:27:40 +0000 (15:27 +0000)]
Merge "Fix optimizing_cfi_test and arm64 code generation." am:
6e5fa09510
am:
5e35ad4904
Change-Id: Ic64b846efb2f47507c0ff5220b6cdbad30b3ddbd
Nicolas Geoffray [Thu, 13 Oct 2016 15:20:08 +0000 (15:20 +0000)]
Merge "Fix optimizing_cfi_test and arm64 code generation."
am:
6e5fa09510
Change-Id: I990f0d71c02fd5d66b4071d5ea0c6b0fb9527408
Nicolas Geoffray [Thu, 13 Oct 2016 15:09:30 +0000 (15:09 +0000)]
Merge "Fix optimizing_cfi_test and arm64 code generation."
Vladimir Marko [Thu, 13 Oct 2016 13:45:03 +0000 (13:45 +0000)]
Merge "Fix missing symbols for multiple oat files case" am:
ac4804fb36
am:
4c070c579f
Change-Id: I61f0292348da4f3f5b6d3e933cafd8de8cfc8195
Nicolas Geoffray [Thu, 13 Oct 2016 12:42:30 +0000 (13:42 +0100)]
Fix optimizing_cfi_test and arm64 code generation.
Change https://android-review.googlesource.com/#/c/287582/ broke it.
test: m test-art-host-gtest-optimizing_cfi_test
test: m test-art-target on angler
Change-Id: I7fc74a87ffa0b26b8e103b87a2ac1179bea2145a
Vladimir Marko [Thu, 13 Oct 2016 13:38:03 +0000 (13:38 +0000)]
Merge "Fix missing symbols for multiple oat files case"
am:
ac4804fb36
Change-Id: Ic20dc84b90ed0964d12b63d6327c8487a19c4ce3
Vladimir Marko [Thu, 13 Oct 2016 13:31:18 +0000 (13:31 +0000)]
Merge "Fix missing symbols for multiple oat files case"
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
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
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)."
Nicolas Geoffray [Thu, 13 Oct 2016 10:36:22 +0000 (10:36 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod." am:
68f1128b3f
am:
c44d516918
Change-Id: If5c28cb59f3de0405eaeab8069bac1959fb73b44
Nicolas Geoffray [Thu, 13 Oct 2016 10:28:51 +0000 (10:28 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod."
am:
68f1128b3f
Change-Id: Ie5627b117e3ee11cb53f3781e9da6a7e7d327383
Nicolas Geoffray [Thu, 13 Oct 2016 10:15:52 +0000 (10:15 +0000)]
Merge "Update HInstruction::NeedsCurrentMethod."
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
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
Nicolas Geoffray [Thu, 13 Oct 2016 10:04:00 +0000 (10:04 +0000)]
Merge "ART: Disable test 906 for JIT"
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
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
Nicolas Geoffray [Thu, 13 Oct 2016 08:13:49 +0000 (08:13 +0000)]
Merge "Revert "Revert "Remove dead code from compiler driver."""
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
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
Mathieu Chartier [Thu, 13 Oct 2016 04:09:27 +0000 (04:09 +0000)]
Merge "Move 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
bowen_lai [Wed, 12 Oct 2016 05:28:55 +0000 (13:28 +0800)]
Fix missing symbols for multiple oat files case
Generate the missing symbols when enabling "--multi-image"
Test: m test-art-host-gtest-dex2oat_test
Change-Id: I0ae2fb552ecd741f0b06414bc4a37c2f93ce5389
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
Mathieu Chartier [Thu, 13 Oct 2016 02:40:25 +0000 (02:40 +0000)]
Merge "Use handles for GetReferringObjects"
am:
000432d9a4
Change-Id: I1d778b91f0964b562e06d9e898dcb68e8dedb3fc
Mathieu Chartier [Thu, 13 Oct 2016 02:30:43 +0000 (02:30 +0000)]
Merge "Use 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
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
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
Mathieu Chartier [Thu, 13 Oct 2016 01:31:19 +0000 (01:31 +0000)]
Merge "Fix moving GC bug in cloning finalizable objects"
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
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
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
Colin Cross [Thu, 13 Oct 2016 00:12:48 +0000 (00:12 +0000)]
Merge "Move registration into android package"
am:
834a448aa9
Change-Id: I173db22be57f95a9ad905009da3ae615f7b359bb
Colin Cross [Thu, 13 Oct 2016 00:12:45 +0000 (00:12 +0000)]
Move registration into android package
am:
96548c9ee0
Change-Id: Ief5f68fdd913be2c5209a1da9a60ecb195198a44
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
Colin Cross [Thu, 13 Oct 2016 00:02:33 +0000 (00:02 +0000)]
Merge "Move registration into android package"
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
Mathieu Chartier [Wed, 12 Oct 2016 23:52:15 +0000 (23:52 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
am:
480ddd6f58
Change-Id: I76a21e5737f9a1f27cdd052f92142befa3ce1848
Mathieu Chartier [Wed, 12 Oct 2016 23:47:10 +0000 (23:47 +0000)]
Merge "Replace StackHandleScopeCollection with VariableSizedHandleScope"
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
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
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
Andreas Gampe [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "ART: Fix typo" am:
b38187c7a9
am:
03cd3d719c
Change-Id: I704ec86a75c71169a04debddc95e84a8fd199272
Aart Bik [Wed, 12 Oct 2016 23:04:39 +0000 (23:04 +0000)]
Merge "Recognize XOR-based periodic induction."
am:
023161ec66
Change-Id: Ib3779df3c48d6757b6e53e2c5e12eb0c6e8ca176
Mathieu Chartier [Wed, 12 Oct 2016 23:00:51 +0000 (23:00 +0000)]
Merge "Add handle wrapper to allocation listener"
Andreas Gampe [Wed, 12 Oct 2016 22:57:41 +0000 (22:57 +0000)]
Merge "ART: Fix typo"
am:
b38187c7a9
Change-Id: I8ffbcd3acaec9fdca83fae9256b9c5a1061931a6
Treehugger Robot [Wed, 12 Oct 2016 22:57:20 +0000 (22:57 +0000)]
Merge "Recognize XOR-based periodic induction."
Treehugger Robot [Wed, 12 Oct 2016 22:47:18 +0000 (22:47 +0000)]
Merge "ART: Fix typo"
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
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
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
Treehugger Robot [Wed, 12 Oct 2016 22:23:36 +0000 (22:23 +0000)]
Merge "jni: Disable FastNative path for methods returning objects"
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
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
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
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
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
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
Hiroshi Yamauchi [Wed, 12 Oct 2016 20:49:01 +0000 (20:49 +0000)]
Merge "Fix the CC monkey crashes."
am:
3d9f2834ba
Change-Id: Id9c87bc5e374556bedbda894e971247e2ead2d43
Treehugger Robot [Wed, 12 Oct 2016 20:42:56 +0000 (20:42 +0000)]
Merge "Fix the CC monkey crashes."
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
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
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
Andreas Gampe [Wed, 12 Oct 2016 20:11:11 +0000 (20:11 +0000)]
Merge "ART: 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
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
Andreas Gampe [Wed, 12 Oct 2016 19:55:59 +0000 (19:55 +0000)]
Merge "ART: Add heap iteration callback"
am:
e8317d90c6
Change-Id: Ib6c44cd17f87cba92d41efbbaf408e8cf7851504
Andreas Gampe [Wed, 12 Oct 2016 19:48:18 +0000 (19:48 +0000)]
Merge "ART: Add heap iteration callback"
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
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
Mathieu Chartier [Wed, 12 Oct 2016 18:47:53 +0000 (18:47 +0000)]
Merge "Move Heap parameters to ObjPtr"
am:
33625ed00f
Change-Id: I9e58f55afb03552095f81f39eea275fa40639895
Mathieu Chartier [Wed, 12 Oct 2016 18:35:03 +0000 (18:35 +0000)]
Merge "Move Heap parameters to ObjPtr"
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
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
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
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
Treehugger Robot [Wed, 12 Oct 2016 15:47:44 +0000 (15:47 +0000)]
Merge "ART: Use cerr for host unexpected errors"
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
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
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
Nicolas Geoffray [Wed, 12 Oct 2016 13:05:08 +0000 (13:05 +0000)]
Merge "Address revew comments for change Ia653d2c72df13889dc85dd8c84997582c034ea4b."
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
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
Andreas Gampe [Wed, 12 Oct 2016 00:18:48 +0000 (00:18 +0000)]
Merge "ART: Add object reclaim support"
am:
f0ab2ec600
Change-Id: Id8364853b0856cfe3238ce2133f2e65b381a31bf
Treehugger Robot [Tue, 11 Oct 2016 23:16:48 +0000 (23:16 +0000)]
Merge "ART: 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
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
Aart Bik [Tue, 11 Oct 2016 20:06:34 +0000 (20:06 +0000)]
Merge "Improved and simplified loop optimizations."
am:
c1f24b947a
Change-Id: I8d8bfb2e2288f8c4f468a0d21fdf5eef45f10163
Treehugger Robot [Tue, 11 Oct 2016 19:55:32 +0000 (19:55 +0000)]
Merge "Improved 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