RFR: JDK-8313764: Offer JVM HS functionality to shared lib load operations done by the JDK codebase [v2]

Phil Race prr at openjdk.org
Wed Nov 15 20:28:35 UTC 2023


On Wed, 23 Aug 2023 15:18:03 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Currently there is a number of functionality that would be interesting to have for shared lib load operations in the JDK C code.
>> Some examples :
>> Events::log_dll_message for hs-err files reporting
>> JFR event NativeLibraryLoad
>> There is the need to update the shared lib Cache on AIX ( see LoadedLibraries::reload() , see also https://bugs.openjdk.org/browse/JDK-8314152 ),
>> this is currently not fully in sync with libs loaded form jdk c-libs and sometimes reports outdated information
>> 
>> Offer an interface (e.g. jvm.cpp) to support this.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   windows aarch64 build issues

src/java.desktop/unix/native/common/awt/fontpath.c line 53:

> 51: /* for dlopen */
> 52: #include <macro_helper.h>
> 53: 

I have no idea why we would want to use some VM internal in the desktop module.
Please take the desktop module changes out of this PR.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15264#discussion_r1394756424


More information about the client-libs-dev mailing list