RFR: JDK-8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Martin Doerr
mdoerr at openjdk.org
Thu Oct 12 13:02:55 UTC 2023
On Wed, 11 Oct 2023 11:52:22 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Seems we miss on AIX and Linux the handling of pthread_attr_init return value and sometimes in special cases destroying the related pthread_attr_t object.
LGTM. Seems like `pthread_attr_destroy` is also missing in `SplashCreateThread` (src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m and src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c). Also in tests, but that's probably not relevant.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16147#pullrequestreview-1674050693
More information about the hotspot-runtime-dev
mailing list