Commit Graph

177 Commits

Author SHA1 Message Date
Jorn Vernee
27af80ef9e 8324260: java/foreign/TestStubAllocFailure.java run timeout with -Xcomp
Reviewed-by: alanb, jpai, shade
2024-08-01 14:36:03 +00:00
Jorn Vernee
81ed028717 8337060: Test java/foreign/TestConcurrentClose.java failed: IllegalStateException: SegmentAccessor::doAccess method not being compiled
Reviewed-by: mcimadamore, alanb
2024-07-25 16:36:31 +00:00
Jorn Vernee
7bf5313244 8335480: Only deoptimize threads if needed when closing shared arena
Reviewed-by: mcimadamore, kvn, uschindler, vlivanov, eosterlund
2024-07-18 11:00:39 +00:00
Per Minborg
6f7f0f1de0 8333884: MemorySegment::reinterpret removes read-only property
Reviewed-by: jvernee, mcimadamore
2024-07-06 15:05:26 +00:00
Maurizio Cimadamore
c003c1207f 8331865: Consolidate size and alignment checks in LayoutPath
Reviewed-by: psandoz, jvernee
2024-05-29 11:12:30 +00:00
Maurizio Cimadamore
30bb066b19 8332003: Clarify javadoc for MemoryLayout::offsetHandle
Reviewed-by: psandoz
2024-05-15 14:39:51 +00:00
Maurizio Cimadamore
1c5f1501ac 8331734: Atomic MemorySegment VarHandle operations fails for element layouts
Reviewed-by: pminborg, psandoz
2024-05-10 16:22:28 +00:00
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Per Minborg
b648ed0a08 8329997: Add provisions for checking memory segment alignment constraints
Reviewed-by: jvernee, mcimadamore
2024-04-18 11:22:47 +00:00
Per Minborg
93579c29e3 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Reviewed-by: mcimadamore
2024-03-25 09:37:24 +00:00
Jorn Vernee
ac2f8e5af8 8327994: Update code gen in CallGeneratorHelper
Reviewed-by: mcimadamore
2024-03-21 12:34:38 +00:00
Magnus Ihse Bursie
cc9a8aba67 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: erikj, jvernee, dholmes, alanb
2024-03-13 08:09:22 +00:00
Jorn Vernee
2372aba6a2 8326172: Dubious claim on long[]/double[] alignment in MemorySegment javadoc
Reviewed-by: mcimadamore
2024-03-05 13:32:24 +00:00
Kim Barrett
998d0baab0 8324799: Use correct extension for C++ test headers
Reviewed-by: jwaters, gli, coleenp, lmesnik
2024-02-29 06:24:42 +00:00
Per Minborg
b58d73b915 8323746: Add PathElement hashCode and equals
Reviewed-by: mcimadamore
2024-02-08 10:54:11 +00:00
Per Minborg
ec56c72b51 8323601: Improve LayoutPath.PathElement::toString
Reviewed-by: jvernee
2024-01-31 09:54:03 +00:00
Coleen Phillimore
a6bdee48f3 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: kevinw, kbarrett, dholmes
2024-01-29 17:07:32 +00:00
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