RFR: JDK-8219652: [aix] Tests failing with JNI attach problems.

David Holmes dholmes at openjdk.org
Tue Sep 26 21:40:14 UTC 2023


On Tue, 26 Sep 2023 16:12:01 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) where AttachCurrentThread is failing  on AIX due t stack size issue.
>> Test cases:
>> runtime/jni/terminatedThread/TestTerminatedThread.java 
>> vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java 
>> vmTestbase/nsk/jvmti/scenarios/jni_interception/JI06/ji06t001/TestDescription.java 
>> vmTestbase/nsk/jvmti/SetJNIFunctionTable/setjniftab001/TestDescription.java
>> 
>> Reported Issue : [JDK-8219652](https://bugs.openjdk.org/browse/JDK-8219652)
>
> test/hotspot/jtreg/vmTestbase/nsk/jvmti/SetJNIFunctionTable/setjniftab001/setjniftab001.cpp line 255:
> 
>> 253:    pthread_attr_t attr;
>> 254:    pthread_attr_init(&attr);
>> 255:    pthread_attr_setstacksize(&attr, STACK_SIZE);
> 
> This is failing to build on Windows. Looks like you don't have the needed #include.

This cannot build on Windows!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15924#discussion_r1337809321


More information about the serviceability-dev mailing list