[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Integrated: JDK-8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
From:       Joachim Kern <jkern () openjdk ! org>
Date:       2023-11-30 11:23:17
Message-ID: q1UfZSyFfBdZ9SYVlOAdKqLRbxyNWIdGKV4zVGimnoE=.503b34f9-830f-48bc-9874-289739d5e592 () github ! com
[Download RAW message or body]

On Tue, 28 Nov 2023 11:36:08 GMT, Joachim Kern <jkern@openjdk.org> wrote:

> We should not mix os::dll_load() with dlclose(), but should call os::dll_unload(). \
> At the moment this is benign, but this prevents certain type of platforms specific \
> workarounds inside os::dll_load() and is a prerequisite for these upcoming changes. \
>  
> There are two places I see where this happens, both are AIX specific:
> 
> 
> os/aix/libodm_aix.cpp
> 51: dlclose(_libhandle);
> 58: if (_libhandle) { dlclose(_libhandle); }
> 
> os/aix/libperfstat_aix.cpp
> 117: dlclose(g_libhandle);

This pull request has now been integrated.

Changeset: 61653a1f
Author:    Joachim Kern <jkern@openjdk.org>
Committer: Martin Doerr <mdoerr@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/61653a1ff166816a6af6875c42bcd85023f3859d
                
Stats:     4 lines in 2 files changed: 0 ins; 0 del; 4 mod

8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls

Reviewed-by: stuefe, clanger

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic