8300696: [AIX] AttachReturnError fails
Reviewed-by: tsteele, dholmes
This commit is contained in:
parent
09bfbf8063
commit
8164cfbc03
@ -48,6 +48,9 @@
|
|||||||
#include "utilities/globalDefinitions.hpp"
|
#include "utilities/globalDefinitions.hpp"
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#include "utilities/vmError.hpp"
|
#include "utilities/vmError.hpp"
|
||||||
|
#ifdef AIX
|
||||||
|
#include "loadlib_aix.hpp"
|
||||||
|
#endif
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
#include "os_linux.hpp"
|
#include "os_linux.hpp"
|
||||||
#endif
|
#endif
|
||||||
@ -747,6 +750,8 @@ void os::dll_unload(void *lib) {
|
|||||||
log_info(os)("Attempt to unload shared library \"%s\" [" INTPTR_FORMAT "] failed, %s",
|
log_info(os)("Attempt to unload shared library \"%s\" [" INTPTR_FORMAT "] failed, %s",
|
||||||
l_path, p2i(lib), error_report);
|
l_path, p2i(lib), error_report);
|
||||||
}
|
}
|
||||||
|
// Update the dll cache
|
||||||
|
AIX_ONLY(LoadedLibraries::reload());
|
||||||
LINUX_ONLY(os::free(l_pathdup));
|
LINUX_ONLY(os::free(l_pathdup));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user