From cb383c05b23ef4f6992796bdc5b27eb8386c65d5 Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Tue, 24 Oct 2023 07:09:44 +0000 Subject: [PATCH] 8318587: refresh libraries cache on AIX in print_vm_info Reviewed-by: mdoerr, lucy, stuefe --- src/hotspot/share/utilities/vmError.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hotspot/share/utilities/vmError.cpp b/src/hotspot/share/utilities/vmError.cpp index df360335cc9..2f4aec97868 100644 --- a/src/hotspot/share/utilities/vmError.cpp +++ b/src/hotspot/share/utilities/vmError.cpp @@ -74,6 +74,10 @@ #include "jvmci/jvmci.hpp" #endif +#ifdef AIX +#include "loadlib_aix.hpp" +#endif + #ifndef PRODUCT #include #endif // PRODUCT @@ -1343,6 +1347,8 @@ void VMError::report(outputStream* st, bool _verbose) { void VMError::print_vm_info(outputStream* st) { char buf[O_BUFLEN]; + AIX_ONLY(LoadedLibraries::reload()); + report_vm_version(st, buf, sizeof(buf)); // STEP("printing summary")