RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v2]

Varada M duke at openjdk.org
Thu Feb 9 11:06:43 UTC 2023


On Wed, 8 Feb 2023 21:30:29 GMT, David Holmes <dholmes at openjdk.org> wrote:

> It just occurred to me that we may also need to update the test makefiles to link to libpthread for these modified tests?


Running test 'jtreg:test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java'
Passed: runtime/jni/CalleeSavedRegisters/FPRegs.java
Test results: passed: 1

Running test 'jtreg:test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java'
Passed: java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java
Test results: passed: 1

Running test 'jtreg:test/jdk/jni/nullCaller/NullCallerTest.java'
Passed: jni/nullCaller/NullCallerTest.java
Test results: passed: 1

Running test 'jtreg:test/lib-test/jdk/test/lib/process/TestNativeProcessBuilder.java'
Passed: jdk/test/lib/process/TestNativeProcessBuilder.java
Test results: passed: 1



These tests is passing without adding lpthread in JtregNativeHotspot.gmk. Do I need to update the makefile?

-------------

PR: https://git.openjdk.org/jdk/pull/12302


More information about the core-libs-dev mailing list