RFR: 8300696 : [AIX] AttachReturnError fails

Tyler Steele tsteele at openjdk.org
Thu Jan 26 23:05:07 UTC 2023


On Mon, 23 Jan 2023 09:36:35 GMT, Deepa Kumari <duke at openjdk.org> wrote:

> AttachReturnError.java fails because "VM.dynlibs" prints a list of loaded dynamic libs referring to a cache. The cache may contain stale entries related to unloaded libraries (libReturnError.so in this case). Reloading this cache after unloading libraries solves the problem.
> 
> Reported Issue : [JDK-8300696](https://bugs.openjdk.org/browse/JDK-8300696)

Marked as reviewed by tsteele (Committer).

src/hotspot/os/posix/os_posix.cpp line 52:

> 50: #include "utilities/vmError.hpp"
> 51: #include "loadlib_aix.hpp"
> 52: #ifdef LINUX

Looks like this needs to be conditionally included on AIX (see the pre-test failures).


#ifdef AIX
#include "loadlib_aix.hpp"
#endif

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

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


More information about the hotspot-runtime-dev mailing list