Integrated: 8329850: [AIX] Allow loading of different members of same shared library archive

Joachim Kern jkern at openjdk.org
Fri Apr 26 09:29:44 UTC 2024


On Mon, 8 Apr 2024 12:27:05 GMT, Joachim Kern <jkern at openjdk.org> wrote:

> With [JDK-8320890](https://bugs.openjdk.org/browse/JDK-8320890) we introduced the capability not to load shared libraries twice if the application wants to do that. Instead we just rise a ref counter. Unfortunately this also suppresses the loading of a second member of a shared library.
> This fix introduces an additionally stored hash value for each loaded member and only suppresses duplicate loading if the same member is loaded twice.
> If a shared library has no member a hash value of 0 is used to make the code orthogonal.

This pull request has now been integrated.

Changeset: cfd19f01
Author:    Joachim Kern <jkern at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cfd19f017681a7aded67937c5132263bbcc7be6f
Stats:     24 lines in 1 file changed: 17 ins; 0 del; 7 mod

8329850: [AIX] Allow loading of different members of same shared library archive

Reviewed-by: mdoerr, mbaesken, stuefe

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

PR: https://git.openjdk.org/jdk/pull/18676


More information about the hotspot-runtime-dev mailing list