-
Bug
-
Resolution: Fixed
-
P4
-
22
-
b26
-
aix
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328861 | 21.0.4-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8323736 | 21.0.3 | Christoph Langer | P4 | Resolved | Fixed | b01 |
On AIX, the following tests are running into guarantee(result == JNI_OK) failed: Could not attach thread for upcall. JNI error code: -1
java/foreign/TestUpcallAsync.java
java/foreign/stackwalk/TestAsyncStackWalk.java#default_gc
The following tests crash because libLinkerInvokerModule.so::procedure jumps to address 0 (or libLinkerInvokerUnnamed.so):
java/foreign/loaderLookup/TestLoaderLookupJNI.java
java/foreign/enablenativeaccess/TestEnableNativeAccessJarManifest.java
java/foreign/enablenativeaccess/TestEnableNativeAccess.java
All of these tests use test/lib/native/testlib_threads.h which creates a pthread in run_in_new_thread_and_join.
java/foreign/TestUpcallAsync.java
java/foreign/stackwalk/TestAsyncStackWalk.java#default_gc
The following tests crash because libLinkerInvokerModule.so::procedure jumps to address 0 (or libLinkerInvokerUnnamed.so):
java/foreign/loaderLookup/TestLoaderLookupJNI.java
java/foreign/enablenativeaccess/TestEnableNativeAccessJarManifest.java
java/foreign/enablenativeaccess/TestEnableNativeAccess.java
All of these tests use test/lib/native/testlib_threads.h which creates a pthread in run_in_new_thread_and_join.
- backported by
-
JDK-8323736 AIX: pthreads created by foreign test library don't work as expected
- Resolved
-
JDK-8328861 AIX: pthreads created by foreign test library don't work as expected
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/d92ff7c3
-
Commit openjdk/jdk/8b47a149
-
Review openjdk/jdk21u-dev/159
-
Review openjdk/jdk/16757
(1 links to)