RFR: JDK-8320005 : Allow loading of shared objects with .a extension on AIX [v9]
Martin Doerr
mdoerr at openjdk.org
Fri Jan 26 09:30:33 UTC 2024
On Tue, 16 Jan 2024 08:36:49 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> J2SE agent does not start and throws error when it tries to find the shared library ibm_16_am.
>> After searching for ibm_16_am.so ,the jvm agent throws and error as dll_load fails.It fails to identify the shared library ibm_16_am.a shared archive file on AIX.
>> Hence we are providing a function which will additionally search for .a file on AIX ,when the search for .so file fails.
>
> Suchismith Roy has updated the pull request incrementally with three additional commits since the last revision:
>
> - Update porting_aix.cpp
> - Update porting_aix.cpp
> - Update os_aix.cpp
I think a comment like this would be ideal:
Search order:
"library.so" -> load "library.so", then "library.a"
"library" -> load "library.so", then "library.a" ?
"library.a" -> only load "library.a" ?
(If that's correct.) I prefer that over a very verbose version. + References to Spec and J9 of course.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16604#issuecomment-1911737129
More information about the serviceability-dev
mailing list