RFR: 8372272: Hotspot shared lib loading - add load attempts to Events::log

Matthias Baesken mbaesken at openjdk.org
Fri Nov 21 13:09:52 UTC 2025


Currently we log only the success or failure of shared lib load operations in HS
(by calling Events::log_dll_message).
Adding log messages for load attempts would help us in a number of cases :
- give timestamps before AND after the load operation
- log in hs_err file shared lib loads leading to crashes (there we do not see currently the success or failure of the dlopen operation)

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

Commit messages:
 - JDK-8372272

Changes: https://git.openjdk.org/jdk/pull/28452/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28452&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372272
  Stats: 8 lines in 4 files changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/28452.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28452/head:pull/28452

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


More information about the hotspot-runtime-dev mailing list