8318587: refresh libraries cache on AIX in print_vm_info

Reviewed-by: mdoerr, lucy, stuefe
This commit is contained in:
Matthias Baesken 2023-10-24 07:09:44 +00:00
parent 4bfe226870
commit cb383c05b2

View File

@ -74,6 +74,10 @@
#include "jvmci/jvmci.hpp"
#endif
#ifdef AIX
#include "loadlib_aix.hpp"
#endif
#ifndef PRODUCT
#include <signal.h>
#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")