RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
Varada M
duke at openjdk.org
Wed Feb 8 05:28:30 UTC 2023
1. test/jdk/jni/nullCaller/NullCallerTest.java
2. test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java
3. test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java
The above tests were blocked on AIX [@require os.family != "aix"] because these tests are failing to call JNI_CreateJavaVM. This is solved by implementing JNI_CreateJavaVM call via POSIX threads.
Similarly there are tests which are not blocked and still failing to call JNI_CreateJavaVM on AIX :
4. test/hotspot/jtreg/runtime/jni/daemonDestroy/TestDaemonDestroy.java { PR : [12006](https://github.com/openjdk/jdk/pull/12006) }
5. test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java
The reported issue : [8300139](https://bugs.openjdk.org/browse/JDK-8300139l)
-------------
Commit messages:
- 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
- 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
- 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
- Indentation Fixes
- 8300139:[AIX] Use pthreads to avoid JNI_createVM call from primordial thread
Changes: https://git.openjdk.org/jdk/pull/12302/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12302&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8300139
Stats: 122 lines in 7 files changed: 88 ins; 8 del; 26 mod
Patch: https://git.openjdk.org/jdk/pull/12302.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12302/head:pull/12302
PR: https://git.openjdk.org/jdk/pull/12302
More information about the core-libs-dev
mailing list