History log of /art/test/957-methodhandle-transforms/src/Main.java
Revision Date Author Comments
0cde4eb22b3dbc40fb44e5f1f9c7122b27311262 26-Jan-2017 Narayan Kamath <narayan@google.com> MethodHandles: Tests for additional combiners.

This change tests:
- MethodHandles.filterArguments
- MethodHandles.collectArguments
- MethodHandles.insertArguments
- MethodHandles.foldArguments

Tracks libcore change cc8ce7297197fc7.

Test: make test-art-host

Change-Id: I214968242cd0e8a23dd6498b273db30f32f22583
2a3696add6e688379fb9116a6e448ea69b27c7f1 24-Jan-2017 Narayan Kamath <narayan@google.com> MethodHandles: Write tests for MethodHandle.asCollector.

Tracks libcore change 0e8de7372de378e00c429dbf9d55526d433a7a21.

Test: make test-art-host

Change-Id: I1d7e33f1cc11104b7b015afd7d49a48f2f2c5312
c5889ce65ef7d31d4f0fe7be8f7f7f45948c5b5b 19-Jan-2017 Narayan Kamath <narayan@google.com> MethodHandles: Support and tests for invokeWithArguments.

Tracks libcore change a8cf0bffdb9e9cf031efd0d3c8b5645d45963562.

Test: make test-art-host
Change-Id: I65fbf3a82b629585324c477bdce6dabd63ae408e
bcfd284e06c261efc6a05b2885c57abf25c77bcf 19-Jan-2017 Narayan Kamath <narayan@google.com> MethodHandles: Tests for asSpreader / spreadInvoker.

Tracks libcore change 337f641cc6e323c52a9e772cb2e499a515c2b533.

Test: make test-art-host

Change-Id: Iec5fa0f9366b0ef6f5cfcc6e22618e8ab8c1ed1a
b79bbd817317bfec60de7957d405a7de0d9e75c1 16-Jan-2017 Narayan Kamath <narayan@google.com> MethodHandles: Implement invoker / exactInvoker.

Accompanies libcore commit 0a72753297b45d08ca33cf7e87888f5fee87f69e.

- Adds callsiteType field to mirror::EmulatedStackFrame.
- Adds unit tests for MethodHandles.invoker /
MethodHandles.exactInvoker.

Test: art/test/run-test --host 957
Change-Id: Ia27742c80de560a5b38f792bfa97664678cec8ae
ac141397dc29189ad2b2df41f8d4312246beec60 13-Jan-2017 Orion Hodson <oth@google.com> Revert "Revert "ART: Compiler support for invoke-polymorphic.""

This reverts commit 0fb5af1c8287b1ec85c55c306a1c43820c38a337.

This takes us back to the original change and attempts to fix the
issues encountered:

- Adds transition record push/pop around artInvokePolymorphic.
- Changes X86/X64 relocations for MacSDK.
- Implements MIPS entrypoint for art_quick_invoke_polymorphic.
- Corrects size of returned reference in art_quick_invoke_polymorphic
on ARM.

Bug: 30550796,33191393
Test: art/test/run-test 953
Test: m test-art-run-test

Change-Id: Ib6b93e00b37b9d4ab743a3470ab3d77fe857cda8
0fb5af1c8287b1ec85c55c306a1c43820c38a337 11-Jan-2017 Orion Hodson <oth@google.com> Revert "ART: Compiler support for invoke-polymorphic."

This reverts commit 02e3092f8d98f339588e48691db77f227b48ac1e.

Reasons for revert:

- Breaks MIPS/MIPS64 build.
- Fails under GCStress test on x64.
- Different x64 build configuration doesn't like relocation.

Change-Id: I512555b38165d05f8a07e8aed528f00302061001
02e3092f8d98f339588e48691db77f227b48ac1e 01-Dec-2016 Orion Hodson <oth@google.com> ART: Compiler support for invoke-polymorphic.

Adds basic support to invoke method handles in compiled code.

Enables method verification for methods containing invoke-polymorphic.

Adds k45cc/k45rc output to Instruction::DumpString() which
was found to be missing when enabling verification.

Include stack traces in test 957-methodhandle-transforms for
failures so they can be easily identified.

Bug: 30550796,33191393
Test: art/test/run-test 953
Test: m test-art-run-test
Change-Id: Ic9a96ea24906087597d96ad8159a5bc349d06950
731f4c6bb388f5124a17337511e5c60819b51a21 08-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Add a test case for MethodHandles.permuteArguments.

Bug: 30550796
Test: make test-art-host
Change-Id: Idf1f330422a3be769e175f3e46c181d94217b9fa
916a771471635e9b09ecbfb697a15b983202a17d 08-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Add tests for MethodHandles.filterReturnValue.

Test: make test-art-host
Bug: 30550796
Change-Id: I2c8f25b003cbeee24e7603637169200a02d31e1c
8677d0b30ea9d04d22ef12bef8b8787935d803f5 04-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Add tests for MethodHandle.bindTo.

Test: make test-art-host
Bug: 30550796
Change-Id: I7e8bd8c8cae5f874f7743fd1a0a361875fcb997e
3314dbb5a1ae1376f21963fba3fe4e86865c5ac6 03-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Add tests for array accessors / identity / constant.

Accompanies libcore change a93a1fcc5b0e.

Test: make test-art-host
Bug: 30550796
Change-Id: Ic793687d98f850ffcd5f09fd3ab02d44644787d5
0a8485ef5cb81746625fe57acf8adfd8b2bb28c0 02-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Implement MethodHandle.asType.

Tracks libcore change 16fa583fb5ee489.

Test: make test-art-host
Bug: 30550796

Change-Id: I2457b563f67a183c4eebf94ddbe74cc55f772ee0
96120f4be0a03b8637d247848e9901093ceda3a5 01-Nov-2016 Narayan Kamath <narayan@google.com> MethodHandles: Add tests for transforms in change 598d43d0dec5925c77

Test: make test-art-host
Bug: 30550796

Change-Id: I41e4c7f9398e5120b65577aa559c63fcc1d25508
b24b0268b0f26af9d66ab0f163690d2b2164902b 31-Oct-2016 Narayan Kamath <narayan@google.com> MethodHandles: Temporarily rewrite test of exact invokes.

Go through an additional layer of indirection to fool the overly
smart type inference.

The issue needs to be investigated on the Jack side, as per
the associated bug.

Test: make test-art-host
Bug: 32536744

Change-Id: Ic02bf155822e76332eaa7a300ba9c0da8e751e26
000e1885701c8fdad07a784e3771881fa9be1d8a 24-Oct-2016 Narayan Kamath <narayan@google.com> method_handles: Complete support for emulated stack frames.

Most of this change is a refactor that templatizes the code
that performs argument conversions. This allows us to copy arguments
between two shadow frames, or an emulated stack frame and a shadow
frame.

Test: make test-art-host
Bug: 30550796

Change-Id: I23e65735a2dbd28f3c7b7d1ccf9762e77e0cf1f1