Commit Graph

160 Commits

Author SHA1 Message Date
Daniel D. Daugherty
a22ae909bc 8321938: java/foreign/critical/TestCriticalUpcall.java does not need a core file
Reviewed-by: dholmes
2024-01-18 13:15:55 +00:00
Per Minborg
edc0ebb780 8323745: Missing comma in copyright header in TestScope
Reviewed-by: alanb
2024-01-15 16:30:59 +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
Jorn Vernee
d2d58dd6a8 8322324: java/foreign/TestStubAllocFailure.java times out while waiting for forked process
8322637: java/foreign/critical/TestCriticalUpcall.java timed out

Reviewed-by: mcimadamore
2024-01-10 13:13:32 +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
Jorn Vernee
7ece9e90c0 8321400: java/foreign/TestStubAllocFailure.java fails with code cache exhaustion
Reviewed-by: mcimadamore
2023-12-13 17:34:37 +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
Maurizio Cimadamore
42bb852696 8321467: MemorySegment.setString(long, String, Charset) throws IAE(Misaligned access)
Reviewed-by: pminborg
2023-12-07 12:51:42 +00:00
Per Minborg
a0920aa436 8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem
Reviewed-by: mcimadamore
2023-12-06 08:02:52 +00:00
Martin Doerr
a1fe16b5ec 8321300: Cleanup TestHFA
Reviewed-by: jvernee, jbechberger
2023-12-05 13:57:06 +00:00
Jorn Vernee
e96e191952 8318586: Explicitly handle upcall stub allocation failure
8318653: UpcallTestHelper::runInNewProcess waits for forked process without timeout

Reviewed-by: shade, mcimadamore
2023-11-30 19:26:54 +00:00
Jorn Vernee
8bedb28bbc 8321119: Disable java/foreign/TestHandshake.java on Zero VMs
Reviewed-by: eosterlund, shade
2023-11-30 16:35:12 +00:00
Erik Österlund
159465324f 8310644: Make panama memory segment close use async handshakes
Reviewed-by: jvernee, mcimadamore, pchilanomate
2023-11-29 12:40:21 +00:00
suchismith
bf0a904f0e 8318175: AIX PPC64: Handle alignment of double in structs
Reviewed-by: mdoerr, amitkumar
2023-11-22 13:39:25 +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
Per Minborg
4f4d00fa75 8319966: AIX: expected [[0:i4]] but found [[0:I4]] after JDK-8319882
Reviewed-by: mdoerr
2023-11-15 13:52:06 +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
c9657cad12 8319882: SequenceLayout::toString throws ArithmeticException
Reviewed-by: mcimadamore
2023-11-10 14:24:22 +00:00
Maurizio Cimadamore
f262f06c97 8319211: Regression in LoopOverNonConstantFP
Reviewed-by: jvernee
2023-11-01 17:49:21 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Jorn Vernee
3885dc5b9a 8318737: Fallback linker passes bad JNI handle
Reviewed-by: alanb
2023-10-26 15:54:02 +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
Per Minborg
defc7e0f8d 8318454: TestLayoutPaths broken on Big Endian platforms after JDK-8317837
Reviewed-by: mdoerr, mcimadamore
2023-10-19 10:47:53 +00:00
Jorn Vernee
1d54e73f6a 8318072: DowncallLinker does not acquire/release segments in interpreter
Reviewed-by: mcimadamore
2023-10-14 20:23:41 +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
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
8dc2d9280e 8316190: Improve MemorySegment::toString
Reviewed-by: rriggs
2023-09-15 05:43:57 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Per Minborg
b408a82f9b 8314260: Unable to load system libraries on Windows when using a SecurityManager
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-09-07 11:52:14 +00:00
Sidraya
ec1f7a8480 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: amitkumar, jvernee, mdoerr
2023-08-21 07:15:25 +00:00
Per Minborg
2b81885f78 8314071: Test java/foreign/TestByteBuffer.java timed out
Reviewed-by: mcimadamore
2023-08-17 11:31:09 +00:00
Leonid Mesnik
7b28d3608a 8314330: java/foreign tests should respect vm flags when start new processes
Reviewed-by: jvernee
2023-08-16 17:49:38 +00:00
Yasumasa Suenaga
583cb754f3 8313406: nep_invoker_blob can be simplified more
Reviewed-by: jvernee, vlivanov
2023-08-14 23:12:42 +00:00
Per Minborg
bbbfa217a0 8313880: Incorrect copyright header in jdk/java/foreign/TestFree.java after JDK-8310643
Reviewed-by: thartmann
2023-08-07 12:34:52 +00:00
Per Minborg
0b4387e3a3 8310643: Misformatted copyright messages in FFM
Reviewed-by: jvernee
2023-08-07 10:58:11 +00:00
Jorn Vernee
6fca289887 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: mcimadamore, vlivanov
2023-07-31 08:01:17 +00:00
Per Minborg
d1cc278260 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: jvernee
2023-07-24 15:00:47 +00:00
Jorn Vernee
69a46c25cc 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Reviewed-by: mcimadamore
2023-07-17 14:53:37 +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
Axel Boldt-Christmas
a0595761ef 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: stefank, eosterlund, stuefe
2023-06-20 10:08:13 +00:00
Jorn Vernee
4c18b9e1fa 8309880: Add support for linking libffi on Windows and Mac
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2023-06-14 12:03:42 +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
c49129f545 8308445: Linker should check that capture state segment is big enough
Reviewed-by: mcimadamore
2023-06-07 12:25:28 +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
2b186e246e 8309042: MemorySegment::reinterpret cleanup action is not called for all overloads
Reviewed-by: jvernee
2023-05-30 10:24:10 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Martin Doerr
7764f46e9e 8308761: New test TestHFA needs adaptation for JDK-8308276
Reviewed-by: mcimadamore, mbaesken
2023-05-24 13:45:57 +00:00