Integrated: JDK-8313616: support loading library members on AIX in os::dll_load
Matthias Baesken
mbaesken at openjdk.org
Thu Aug 10 12:25:58 UTC 2023
On Wed, 9 Aug 2023 07:54:35 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> AIX dlopen allows loading members of a lib; the syntax for members is libname(member-object) . However this needs an additional flag RTLD_MEMBER passed to dlopen.
> Example from our OpenJDK codebase : dlopen("/usr/lib/libperfstat.a(shr_64.o)", RTLD_MEMBER | RTLD_NOW);
>
> However, currently we do not support this in os::dll_load, so member loading would fail because of the missing RTLD_MEMBER flag.
> See https://www.ibm.com/docs/en/aix/7.1?topic=d-dlopen-subroutine part about RTLD_MEMBER
This pull request has now been integrated.
Changeset: 23fe2ece
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/23fe2ece586d3ed750e905e1b71a2cd1da91f335
Stats: 24 lines in 3 files changed: 13 ins; 2 del; 9 mod
8313616: support loading library members on AIX in os::dll_load
Reviewed-by: mdoerr
-------------
PR: https://git.openjdk.org/jdk/pull/15204
More information about the hotspot-runtime-dev
mailing list