Integrated: 8368273: LIBPTHREAD dependency is not needed for some jdk libs
Matthias Baesken
mbaesken at openjdk.org
Wed Sep 24 13:10:39 UTC 2025
On Mon, 22 Sep 2025 12:38:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> A couple of JDK native libs link to $(LIBPTHREAD) but the dependency is not needed.
>
> libsctp has no `pthread*` calls so most likely we can omit $(LIBPTHREAD).
> libawt_xawt only uses `pthread_self()` ; so on Linux it links without adding $(LIBPTHREAD) because it then uses `pthread_self() `from glibc; however it might still be better to link $(LIBPTHREAD) in this special case.
This pull request has now been integrated.
Changeset: 0a64358a
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0a64358aa82930e2bd323fcec2c1cb269ee200e0
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8368273: LIBPTHREAD dependency is not needed for some jdk libs
Reviewed-by: ihse
-------------
PR: https://git.openjdk.org/jdk/pull/27426
More information about the net-dev
mailing list