OSDN Git Service
Mathieu Chartier [Fri, 14 Oct 2016 16:58:56 +0000 (16:58 +0000)]
Merge "Move mirror::ObjectArray to ObjPtr"
am:
cfdff144f1
Change-Id: Ib0982b1e17f5dda5bd49b6c6e585587aabe3f65a
Mathieu Chartier [Fri, 14 Oct 2016 16:54:05 +0000 (16:54 +0000)]
Merge "Move mirror::ObjectArray to ObjPtr"
Narayan Kamath [Fri, 14 Oct 2016 14:32:47 +0000 (14:32 +0000)]
Merge "Revert "Revert "Temporarily blacklist 955-method-handles-smali."""
am:
4aed412037
Change-Id: I08a858845b437178fadbe9e7c0b08ec7361be43d
Narayan Kamath [Fri, 14 Oct 2016 14:29:03 +0000 (14:29 +0000)]
Merge "Revert "Revert "Temporarily blacklist 955-method-handles-smali."""
Narayan Kamath [Fri, 14 Oct 2016 14:27:33 +0000 (14:27 +0000)]
Revert "Revert "Temporarily blacklist 955-method-handles-smali.""
This reverts commit
f18d84699a7c18802f9774069143c173c6b927fb.
Tests are red on the bot. Blacklisting until this is investigated further.
Change-Id: Ibb9b4066abe28e8625c4eed5e0818e6a3fdd4f44
Narayan Kamath [Fri, 14 Oct 2016 13:28:13 +0000 (13:28 +0000)]
Merge "Revert "Temporarily blacklist 955-method-handles-smali.""
am:
5a290d7f61
Change-Id: Iaa8b45b3ec848bc4c8b9e6b31dfdff0bf3699fa0
Treehugger Robot [Fri, 14 Oct 2016 13:23:03 +0000 (13:23 +0000)]
Merge "Revert "Temporarily blacklist 955-method-handles-smali.""
Roland Levillain [Fri, 14 Oct 2016 11:51:06 +0000 (11:51 +0000)]
Merge "Small clean up in art::x86_64::ReadBarrierMarkSlowPathX86_64."
am:
8de327e68b
Change-Id: I00bde2d69b25c9746c766e40fbad4ba2d5ca0d50
Roland Levillain [Fri, 14 Oct 2016 11:47:10 +0000 (11:47 +0000)]
Merge "Small clean up in art::x86_64::ReadBarrierMarkSlowPathX86_64."
Narayan Kamath [Thu, 13 Oct 2016 15:09:33 +0000 (16:09 +0100)]
Revert "Temporarily blacklist 955-method-handles-smali."
This reverts commit
adc2ef25244645a650111560d252e32b3e22f463.
The test is green, now that the required smali changes have been
merged into aosp/master.
Test: make test-art-host
Change-Id: I63eed37470d1def3bafccdd00116d7b49a4c9c78
Narayan Kamath [Fri, 14 Oct 2016 10:22:01 +0000 (10:22 +0000)]
Merge "interpreter: support for non-exact invokes."
am:
a3031162de
Change-Id: Iac078ad07d493d416c41e342767f18f9cef4f795
Treehugger Robot [Fri, 14 Oct 2016 10:19:58 +0000 (10:19 +0000)]
Merge "interpreter: support for non-exact invokes."
Nicolas Geoffray [Fri, 14 Oct 2016 08:42:54 +0000 (08:42 +0000)]
Merge "MIPS32: Improve integer comparison with constants."
am:
a497095b67
Change-Id: I863019dd5133f70b4e380c8663e6b752b13cfa26
Narayan Kamath [Wed, 3 Aug 2016 11:46:58 +0000 (12:46 +0100)]
interpreter: support for non-exact invokes.
Performs primitive argument conversions as well as boxing and unboxing
operations. Support for return value conversions will be added in a
follow up change.
Test: make test-art-host
Change-Id: I2e3348ff64a5826e477f87c12a7d5c390eb3a653
Nicolas Geoffray [Fri, 14 Oct 2016 08:37:36 +0000 (08:37 +0000)]
Merge "MIPS32: Improve integer comparison with constants."
Igor Murashkin [Fri, 14 Oct 2016 00:44:22 +0000 (00:44 +0000)]
Merge "jni: Add read barrier fast path to jni compiler"
am:
c8b722b3ce
Change-Id: Ifbce9d77c408db9bb2a9b56216ce9a0e09a0b556
Mathieu Chartier [Thu, 13 Oct 2016 20:48:23 +0000 (13:48 -0700)]
Move mirror::ObjectArray to ObjPtr
Also reduce calls to ObjPtr::Ptr.
Bug:
31113334
Test: test-art-host -j32
Change-Id: I73e1b356972bb079b66332f00f7f07451601044e
Treehugger Robot [Fri, 14 Oct 2016 00:37:37 +0000 (00:37 +0000)]
Merge "jni: Add read barrier fast path to jni compiler"
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: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
Igor Murashkin [Thu, 6 Oct 2016 21:59:19 +0000 (14:59 -0700)]
jni: Add read barrier fast path to jni compiler
Static method dispatch via JNI requires a read barrier
for the ArtMethod::GetDeclaringClass() load before adding it to the
JNI StackHandleScope.
We used to call ReadBarrierJni unconditionally but add a branch
to skip calling it if the GC is not currently in the marking phase.
Test: ART_USE_READ_BARRIER=true make test-art-host test-art-target
Bug:
30437917
Change-Id: I4f505ebde17c0a67209c7bb51b3f39e37a06373a
Roland Levillain [Thu, 13 Oct 2016 15:51:08 +0000 (16:51 +0100)]
Small clean up in art::x86_64::ReadBarrierMarkSlowPathX86_64.
Clearly separate art::x86_64::CpuRegister (register object
used by the x86-64 assembler) from art::x86_64::Register
(register number) in
art::x86_64::ReadBarrierMarkSlowPathX86_64::EmitNativeCode.
Test: ART_USE_READ_BARRIER=true make test-art-host
Bug:
12687968
Change-Id: I4300e9b9c16b18119d4e399092aa1c9543518ab5
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."
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: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: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: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: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: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
Alexey Frunze [Fri, 16 Sep 2016 04:37:49 +0000 (21:37 -0700)]
MIPS32: Improve integer comparison with constants.
Test: booted MIPS32 in QEMU
Test: test-art-target-run-test-optimizing on CI20
Test: test-art-target-gtest on CI20
Change-Id: Icbe74099fdebc29a38055ef70d7f14eed770b0a7
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: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: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: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:04:53 +0000 (23:04 +0000)]
Merge "Add handle wrapper to allocation listener"
am:
c2f1fc70db
Change-Id: I6d1dd11cc78df41c40324c280757f66a0ac55c2d
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: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
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: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 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: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 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: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: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: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
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
Treehugger Robot [Tue, 11 Oct 2016 16:03:13 +0000 (16:03 +0000)]
Merge "Enable generic JNI tests for MIPS32"
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
Treehugger Robot [Tue, 11 Oct 2016 13:20:48 +0000 (13:20 +0000)]
Merge "Add missing cases in quick_trampoline_entrypoints_test for MIPS64"
Andreas Gampe [Tue, 11 Oct 2016 03:10:59 +0000 (03:10 +0000)]
Merge "ART: Fix test 904"
am:
6136dc6841
Change-Id: I83254cf3f4caf43218f3e542823c65e69e01bfc6