RFR: JDK-8303549: [AIX] TestNativeStack.java is failing with exit value 1 [v6]

David Holmes dholmes at openjdk.org
Wed Jun 7 12:41:00 UTC 2023


On Wed, 7 Jun 2023 11:38:29 GMT, Varada M <duke at openjdk.org> wrote:

>> Stackoverflow exception has caused an exit value 1 when native thread is attaching as daemon. 
>> On AIX the default stack for posix thread is 192 KB. For this particular test we run thread in pthread_create() which is defined in pthread library thus not following JVM thread creation routines. Hence we have to explicitly provide stack size. 
>> 
>> Reported Issue :[JDK-8303549]( https://bugs.openjdk.org/browse/JDK-8303549)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
> 
>   pthread attributes

test/hotspot/jtreg/runtime/jni/getCreatedJavaVMs/exeGetCreatedJavaVMs.c line 103:

> 101:       exit(-1);
> 102:     }
> 103:     pthread_attr_destroy(&attr);

This needs to be outside the loop

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14209#discussion_r1221519570


More information about the hotspot-runtime-dev mailing list