RFR: JDK-8320309: AIX: pthreads created by foreign test library don't work as expected

Martin Doerr mdoerr at openjdk.org
Wed Nov 22 09:53:17 UTC 2023


On Tue, 21 Nov 2023 14:24:47 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Following test fails due to missing pthread attributes on AIX :
>> java/foreign/TestUpcallAsync.java
>> java/foreign/stackwalk/TestAsyncStackWalk.java
>> java/foreign/loaderLookup/TestLoaderLookupJNI.java
>> java/foreign/enablenativeaccess/TestEnableNativeAccessJarManifest.java
>> java/foreign/enablenativeaccess/TestEnableNativeAccess.java
>> 
>> Note : Test needs the changes from [pull/16579](https://github.com/openjdk/jdk/pull/16579) and [pull/16414](https://github.com/openjdk/jdk/pull/16414 )
>> 
>> JBS Issue : [JDK-8320309](https://bugs.openjdk.org/browse/JDK-8320309)
>
> Thanks for providing a fix! This helps. All test/jdk/java/foreign tests have passed when testing together with Sutchi's 2 PRs.
> I think `pthread_attr_destroy` should be added. Otherwise, looks good.

> @TheRealMDoerr : That's a good news. I have added `pthread_attr_destroy` as well. Should I wait for Suchi's PRs to be merged or can I make this PR "Ready for Review"?

It's good to go.

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

PR Comment: https://git.openjdk.org/jdk/pull/16757#issuecomment-1822416974


More information about the core-libs-dev mailing list