Jorn Vernee
fa791119f0
8308031: Linkers should reject unpromoted variadic parameters
...
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Maurizio Cimadamore
534de6d8ae
8300491: SymbolLookup::libraryLookup accepts strings with terminators
...
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Per Minborg
eb11508eff
8308281: Java snippets in the FFM API need to be updated
...
Reviewed-by: mcimadamore
2023-05-23 11:29:05 +00:00
Maurizio Cimadamore
5fc9b5787d
8308276: Change layout API to work with bytes, not bits
...
Reviewed-by: psandoz, pminborg
2023-05-22 14:57:00 +00:00
Maurizio Cimadamore
91aeb5de58
8287834: Add SymbolLookup::or method
...
Reviewed-by: psandoz
2023-05-22 14:51:09 +00:00
Maurizio Cimadamore
44218b1c9e
8308248: Revisit alignment of layout constants on 32-bit platforms
...
Reviewed-by: psandoz, pminborg
2023-05-19 14:28:14 +00:00
Maurizio Cimadamore
6ebea8973f
8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
...
Reviewed-by: jvernee
2023-05-12 16:18:00 +00:00
Maurizio Cimadamore
ba9714d44c
8307610: Linker::nativeLinker should not be restricted (mainline)
...
Reviewed-by: jvernee
2023-05-11 09:45:45 +00:00
Maurizio Cimadamore
7a3bea1f6a
8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
...
Reviewed-by: jvernee
2023-05-09 11:09:39 +00:00
Maurizio Cimadamore
47422be2d1
8307375: Alignment check on layouts used as sequence element is not correct
...
Reviewed-by: jvernee
2023-05-05 15:59:13 +00:00
Maurizio Cimadamore
cecf817f5e
8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
...
Reviewed-by: jvernee
2023-05-04 09:44:31 +00:00
Jorn Vernee
1de1a38859
8303002: Reject packed structs from linker
...
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking
Reviewed-by: mcimadamore
2023-05-01 13:00:41 +00:00
Per Minborg
cbccc4c817
8304265: Implementation of Foreign Function and Memory API (Third Preview)
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Jonathan Gibbons
c6bd489cc8
8305206: Add @spec tags in java.base/java.* (part 1)
...
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Saint Wesonga
fb13063943
8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
...
Reviewed-by: jvernee
2023-03-02 13:26:27 +00:00
Feilong Jiang
24cdcd4c70
8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview)
...
Co-authored-by: Weikai He <weikai@isrc.iscas.ac.cn>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: jvernee, fyang, shade, yadongwang
2023-01-19 01:33:35 +00:00
Jorn Vernee
3918f9f523
8299090: Specify coordinate order for additional CaptureCallState parameters on class as well
...
Reviewed-by: pminborg, mcimadamore
2023-01-12 06:49:27 +00:00
Maurizio Cimadamore
945ef07564
8299862: OfAddress setter should disallow heap segments
...
Reviewed-by: jvernee
2023-01-11 10:31:25 +00:00
Maurizio Cimadamore
5eee2a07f5
8299740: CaptureCallState is missing @Preview annotation
...
Reviewed-by: alanb
2023-01-06 14:52:08 +00:00
Maurizio Cimadamore
f771c56e16
8298797: Specification of some restricted methods is incorrect
...
Reviewed-by: jvernee, pminborg
2022-12-16 10:49:22 +00:00
Jorn Vernee
0452c39fec
8296477: Foreign linker implementation update following JEP 434
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: rehn, mcimadamore, vlivanov
2022-12-05 14:47:12 +00:00
Maurizio Cimadamore
73baadceb6
8295044: Implementation of Foreign Function and Memory API (Second Preview)
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Jorn Vernee
562bc171b9
8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification
...
Reviewed-by: mcimadamore
2022-12-02 22:15:27 +00:00
Maurizio Cimadamore
e062dff1bf
8290524: Typo in javadoc of MemorySegment/MemoryAddress
...
Reviewed-by: jvernee
2022-07-19 14:33:53 +00:00
Maurizio Cimadamore
4545ed6842
8289365: SegmentAllocator:allocateArray(MemoryLayout, count) does not throw IAEx when count is -1
...
Reviewed-by: psandoz
2022-07-12 14:22:42 +00:00
Maurizio Cimadamore
0fd1b68972
8290071: Javadoc for MemorySegment/MemoryAddress getter/setters contains some typos
...
Reviewed-by: uschindler, psandoz
2022-07-12 14:16:22 +00:00
Jorn Vernee
3164c98f4c
8289148: j.l.foreign.VaList::nextVarg call could throw IndexOutOfBoundsException or even crash the VM
...
8289333: Specification of method j.l.foreign.VaList::skip deserves clarification
8289156: j.l.foreign.VaList::skip call could throw java.lang.IndexOutOfBoundsException: Out of bound access on segment
Reviewed-by: mcimadamore
2022-07-12 11:25:45 +00:00
Jorn Vernee
460d879a75
8289601: SegmentAllocator::allocateUtf8String(String str) should be clarified for strings containing \0
...
Reviewed-by: psandoz, mcimadamore
2022-07-08 15:21:11 +00:00
Jorn Vernee
732f1065fe
8289223: Canonicalize header ids in foreign API javadocs
...
Reviewed-by: mcimadamore
2022-07-08 11:18:32 +00:00
Maurizio Cimadamore
889150b47a
8289558: Need spec clarification of j.l.foreign.*Layout
...
Reviewed-by: psandoz, jvernee
2022-07-07 09:08:09 +00:00
Maurizio Cimadamore
adbd200dc5
8289228: SegmentAllocator::allocateArray null handling is too lax
...
Reviewed-by: jvernee, psandoz
2022-06-28 10:06:42 +00:00
Maurizio Cimadamore
2c8ada689f
8289188: SegmentAllocator:allocateArray(*) default behavior mismatch to spec
...
Reviewed-by: alanb
2022-06-27 15:37:08 +00:00
Maurizio Cimadamore
d7b43af591
8288761: SegmentAllocator:allocate(long bytesSize) not throwing IAEx when bytesSize < 0
...
Reviewed-by: psandoz
2022-06-21 20:59:45 +00:00
Maurizio Cimadamore
ff3db52044
8288534: Out of bound errors for memory segment access mentions wrong values
...
Reviewed-by: psandoz
2022-06-16 15:59:22 +00:00
Maurizio Cimadamore
65f0829d64
8288068: Javadoc contains spurious reference to CLinker
...
Reviewed-by: iris
2022-06-08 23:58:28 +00:00
Maurizio Cimadamore
ba9ee8cb28
8287748: Fix issues in java.lang.foreign package javadoc
...
Reviewed-by: jvernee
2022-06-03 00:17:45 +00:00
Maurizio Cimadamore
f58c9a659b
8287244: Add bound check in indexed memory access var handle
...
Reviewed-by: psandoz, jvernee
2022-05-26 08:34:49 +00:00
Maurizio Cimadamore
e1f140d270
8287206: Use WrongThreadException for confinement errors
...
Reviewed-by: alanb, darcy, mchung
2022-05-25 09:50:55 +00:00
Maurizio Cimadamore
89a1d055d9
8286715: Generalize MemorySegment::ofBuffer
...
Reviewed-by: jvernee
2022-05-23 08:43:51 +00:00
Jorn Vernee
ee45a0ac63
8286669: Replace MethodHandle specialization with ASM in mainline
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2022-05-18 16:03:18 +00:00
Maurizio Cimadamore
2c5d136260
8282191: Implementation of Foreign Function & Memory API (Preview)
...
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00