Joe Darcy
adc3604027
8325148: Enable restricted javac warning in java.base
...
Reviewed-by: erikj, jvernee, mcimadamore, pminborg, ihse
2024-02-02 17:47:28 +00:00
Per Minborg
6b84f9bb3e
8325001: Typo in the javadocs for the Arena::ofShared method
...
Reviewed-by: dfuchs
2024-02-01 11:53:02 +00:00
Per Minborg
ec56c72b51
8323601: Improve LayoutPath.PathElement::toString
...
Reviewed-by: jvernee
2024-01-31 09:54:03 +00:00
Per Minborg
f5b757ced6
8323159: Consider adding some text re. memory zeroing in Arena::allocate
...
Reviewed-by: mcimadamore, jvernee
2024-01-15 16:07:56 +00:00
Per Minborg
7edd10e5fa
8321786: SegmentAllocator:allocateFrom(ValueLayout, MemorySegment,ValueLayout,long,long) spec mismatch in exception scenario
...
Reviewed-by: mcimadamore
2024-01-08 08:20:07 +00:00
Per Minborg
d13302f8b0
8321387: SegmentAllocator:allocateFrom(AddressLayout, MemorySegment) does not throw stated UnsupportedOperationException
...
Reviewed-by: mcimadamore
2023-12-11 07:52:31 +00:00
Per Minborg
a0920aa436
8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem
...
Reviewed-by: mcimadamore
2023-12-06 08:02:52 +00:00
Maurizio Cimadamore
7f231109c2
8319928: Exceptions thrown by cleanup actions should be handled correctly
...
Reviewed-by: jvernee
2023-11-20 15:02:11 +00:00
Jorn Vernee
9c98270737
8254693: Add Panama feature to pass heap segments to native code
...
Reviewed-by: mcimadamore, lucy, vlivanov
2023-11-14 11:19:30 +00:00
Per Minborg
f939542104
8319324: FFM: Reformat javadocs
...
Reviewed-by: mcimadamore
2023-11-09 15:18:43 +00:00
Per Minborg
73c5f60f41
8319556: Harmonize interface formatting in the FFM API
...
Reviewed-by: mcimadamore
2023-11-08 06:12:14 +00:00
Per Minborg
134c382d39
8319560: Reformat method parameters in the FFM API
...
Reviewed-by: mcimadamore
2023-11-07 15:05:03 +00:00
Per Minborg
ef8c8408a6
8319607: FFM: Review the language in the FFM documentation
...
Reviewed-by: mcimadamore
2023-11-07 14:34:33 +00:00
Per Minborg
42f43c520c
8319563: Reformat code in the FFM API
...
Reviewed-by: mcimadamore
2023-11-07 11:39:41 +00:00
Jorn Vernee
cdf337357a
8319316: Clarify text around which layouts a linker supports
...
Reviewed-by: mcimadamore
2023-11-06 15:09:26 +00:00
Per Minborg
be01caf30d
8319323: FFM: Harmonize the @throws tags in the javadocs
...
Reviewed-by: jvernee
2023-11-03 12:26:47 +00:00
Per Minborg
cb20a3e7a6
8319166: Typos in the JavaDocs for MemorySegment
...
Reviewed-by: mcimadamore
2023-11-02 13:29:27 +00:00
Maurizio Cimadamore
91442878b7
8318601: Remove javadoc text about restricted methods
...
Reviewed-by: alanb
2023-10-20 14:29:17 +00:00
Maurizio Cimadamore
848ecc1621
8318538: Add a way to obtain a strided var handle from a layout
...
Reviewed-by: jvernee, pminborg
2023-10-20 10:35:09 +00:00
Maurizio Cimadamore
b07da3ae15
8317819: Scope should reflect lifetime of underying resource (mainline)
...
Reviewed-by: jvernee
2023-10-20 10:23:45 +00:00
Maurizio Cimadamore
15acf4b8d7
8318324: Drop redundant default methods from FFM API
...
Reviewed-by: jvernee
2023-10-19 09:51:02 +00:00
Maurizio Cimadamore
b2b8db6533
8318180: Memory model reference from foreign package-info is broken
...
Reviewed-by: jvernee
2023-10-17 11:09:03 +00:00
Maurizio Cimadamore
7cb2e6d65b
8317514: Ensure MemorySegment is initialized before touching NativeMemorySegmentImpl
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-10-13 20:51:52 +00:00
Jorn Vernee
32a60cf11d
8317824: Beef up javadoc for base offset in var handles derived from layouts (mainline)
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:06:07 +00:00
Jorn Vernee
b12c471a99
8317837: Leftover FFM implementation-only changes
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:05:47 +00:00
Jorn Vernee
32ac72c3d3
8312522
: Implementation of Foreign Function & Memory API
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Maurizio Cimadamore
798125152b
8316970: Add internal annotation to mark restricted methods
...
Reviewed-by: jvernee, iris, alanb
2023-09-28 09:49:57 +00:00
Per Minborg
35b60f925a
8298095: Refine implSpec for SegmentAllocator
...
Reviewed-by: mcimadamore
2023-08-10 07:57:19 +00:00
Per Minborg
0b4387e3a3
8310643: Misformatted copyright messages in FFM
...
Reviewed-by: jvernee
2023-08-07 10:58:11 +00:00
Maurizio Cimadamore
6569b252b9
8311593: Minor doc issue in MemorySegment::copy
...
Reviewed-by: jvernee
2023-07-10 15:04:21 +00:00
Jorn Vernee
7fffdb5e60
8310405: Linker.Option.firstVariadicArg should specify which index values are valid
...
Reviewed-by: mcimadamore
2023-06-28 17:32:33 +00:00
Per Minborg
5a30fb6664
8310591: Missing @since
tags in java.lang.foreign
...
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Jorn Vernee
e022e87654
8310053: VarHandle and slice handle derived from layout are lacking alignment check
...
Reviewed-by: mcimadamore
2023-06-21 00:03:13 +00:00
Per Minborg
b412fc79c3
8309937: Add @sealedGraph for some Panama FFM interfaces
...
Reviewed-by: mcimadamore
2023-06-16 11:42:55 +00:00
Maurizio Cimadamore
a6ad42e00e
8308645: Javadoc of FFM API needs to be refreshed
...
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases
Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
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