[foreign-abi] [Rev 01] RFR: Merge openjdk/panama-foreign:foreign-memaccess
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Fri Mar 13 14:12:58 UTC 2020
> Merge with foreign-memaccess. Please make sure these changes work on Windows.
Maurizio Cimadamore has updated the pull request with a new target base due to a merge or a rebase. The pull request
now contains 84 commits:
- Merge with foreign-memaccess
- 8240874: Add finer-grained access control for memory segments (#47)
Reviewed-by: psandoz, jvernee
Co-authored-by: Maurizio Cimadamore <mcimadamore at openjdk.org>
- Automatic merge of foreign-memaccess into foreign-abi
- Automatic merge of foreign-memaccess into foreign-abi
- 8240173: Confusing overflow error when trying to dereference a nothing segment
Reviewed-by: psandoz
- 8239784: Circular initialization causes C_XXX constants to be null
Reviewed-by: sundar
- Automatic merge of foreign-memaccess into foreign-abi
- 8239345: need an enum for standard C types and a way to get a memory layout for those C types
Reviewed-by: jvernee, mcimadamore
- Automatic merge of foreign-memaccess into foreign-abi
- Automatic merge of foreign-memaccess into foreign-abi
- 8238192: Reimplement MemoryAddress memory access handles on top of var handle combinators
Reviewed-by: jvernee
- 8238226: Revisit FunctionDescriptor
8237580: Add a method for transforming varargs FunctionDescriptors into fixed-arity ones
Reviewed-by: mcimadamore
- Merge
Manual merge of foreign-memaccess into foreign-abi
Reviewed-by: mcimadamore
- 8238837: AArch64: TestUpcall failures after JDK-8237358
Reviewed-by: jvernee
- 8237359: Clean up Binding
8238227: The COPY_BUFFER operator should take a MemoryLayout
8238235: Add extensive documentation to Binding
Reviewed-by: mcimadamore
- Automatic merge of foreign-memaccess into foreign-abi
- Automatic merge of foreign-memaccess into foreign-abi
- 8237360: Add tests that test binding recipe generation directly
Reviewed-by: mcimadamore
- Merge remote-tracking branch 'remotes/origin/foreign-memaccess' into foreign-abi
- Manual merge with foreign-memaccess
- 8238217: panama fails to build because of use of x87 instructions in 64 bit mode
Reviewed-by: mcimadamore, vlivanov
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8237357: Add verification code for binding recipes
Reviewed-by: mcimadamore
- Automatic merge with foreign-memaccess
- 8237358: Split the DEREFERENCE binding operator into a load/store + move
Reviewed-by: mcimadamore
- 8237899: Add support for scoped allocation
Changes:
* Made AllocationScope::sp private
* fix spurious alignment in copyright header in TestAllocationScope
Reviewed-by: jvernee, sundar
- 8237899: Add support for scoped allocation
Reviewed-by: jvernee
- 8237356: Refactor shared code in CallArranger
Reviewed-by: mcimadamore
- 8237762: Add platform dependent MemoryLayout constants
Reviewed-by: forax, mcimadamore
- 8237761: Add way to determine the current ABI
Reviewed-by: mcimadamore
- Manual merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8237351: Add method to SystemABI for explicitly freeing upcall stubs
Reviewed-by: mcimadamore
- Manual merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Manual merge with foreign-memaccess
- Manual merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8236453: Test for wrong memory address value
Reviewed-by: mcimadamore
- 8236454: Use MethodHandle.linkToStatic to call MemoryAddress.ofLong
Reviewed-by: mcimadamore
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8236004: Memory access var handles should support MemoryAddress carrier
Reviewed-by: psandoz, jvernee
- Automatic merge with foreign-memaccess
- Manual merge with foreign-memaccess
- 8235258: Add support for empty segments and rebased addresses
Reviewed-by: jvernee
- Manual merge with foreign-memaccess
- Manual merge with foreign-memaccess
- Manual merge with foreign-memaccess
- Manual merge with foreign-memacess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Manual merge with foreign-memaccess
- 8233317: Add the ProgrammableInvoker
Contributed-by: jvernee, mcimadamore, Nick Gasson <nick.gasson at arm.com>
Reviewed-by: mcimadamore
- 8232907: NPE in FunctionDescriptor::hashCode for function without return type (void)
Reviewed-by: mcimadamore
- 8232628: foreign-abi usability issues
Reviewed-by: jvernee
- Manual merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Manual merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8230806: Use libTestUpcall in TestUpcall
Reviewed-by: mcimadamore
- Automatic merge with foreign-memaccess
- 8229918: Fix clash between recent CallingSequenceTest patch and Windows varargs support patch
Reviewed-by: henryjen, nick.gasson at arm.com
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- [foreign-abi] 8228762: import CallingSequenceBuilder unit tests
Reviewed-by: mcimadamore, jvernee
- 8228509: Add support for binding varargs functions on Windows
Reviewed-by: mcimadamore
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- 8228486: Add ABI-specific layout constants
- Manual merge with foreign-memaccess
- Manual merge with foreign-memaccess
- 8227718: Add support for SystemABI
Initial push
- Automatic merge with foreign-memaccess
- Automatic merge with foreign-memaccess
- Add dependency file for branch foreign-abi
- Create foreign-abi branch
-------------
Changes: https://git.openjdk.java.net/panama-foreign/pull/50/files
Webrev: https://webrevs.openjdk.java.net/panama-foreign/50/webrev.01
Stats: 59469 lines in 102 files changed: 59369 ins; 36 del; 64 mod
Patch: https://git.openjdk.java.net/panama-foreign/pull/50.diff
Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/50/head:pull/50
PR: https://git.openjdk.java.net/panama-foreign/pull/50
More information about the panama-dev
mailing list