Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java/foreign/TestLargeSegmentCopy.java failed on aix with jdk20 #4429

Open
sophia-guo opened this issue Mar 15, 2023 · 1 comment
Open

java/foreign/TestLargeSegmentCopy.java failed on aix with jdk20 #4429

sophia-guo opened this issue Mar 15, 2023 · 1 comment

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Mar 15, 2023

java/foreign/TestLargeSegmentCopy.java failed on aix with jdk20. Test was added last December. https://github.com/openjdk/jdk20/blob/master/test/jdk/java/foreign/TestLargeSegmentCopy.java

https://ci.adoptium.net/job/Test_openjdk20_hs_sanity.openjdk_ppc64_aix/62/console

01:14:56  test TestLargeSegmentCopy.testLargeSegmentCopy(): failure
01:14:56  java.lang.OutOfMemoryError: Unable to allocate 2147484504 bytes
01:14:56  	at java.base/jdk.internal.misc.Unsafe.allocateMemory(Unsafe.java:632)
01:14:56  	at java.base/jdk.internal.foreign.NativeMemorySegmentImpl.makeNativeSegment(NativeMemorySegmentImpl.java:116)
01:14:56  	at java.base/java.lang.foreign.MemorySegment.allocateNative(MemorySegment.java:1251)
01:14:56  	at TestLargeSegmentCopy.testLargeSegmentCopy(TestLargeSegmentCopy.java:49)
01:14:56  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
01:14:56  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)

Suspect doesn't work AIX as segment is too large and out of memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant