RFR: JDK-8320005 : Native library suffix impact on hotspot code in AIX [v3]

Suchismith Roy sroy at openjdk.org
Tue Dec 19 17:06:02 UTC 2023


> 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 with a new target base due to a merge or a rebase. The pull request now contains eight commits:

 - Merge branch 'pr/16920' into jvmagent
 - change macro position
 - Adapt hotspot coding style
 - Improve comments and coding style.
 - Remove macro for file extension.
 - Move mapping function to aix specific file.
 - Introduce new macro for AIX archives.
 - Add support for .a extension in jvm agent.
   1. Add support to load archive files and shared objects in jvm agent for AIX.

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

Changes: https://git.openjdk.org/jdk/pull/16604/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16604&range=02
  Stats: 13 lines in 3 files changed: 13 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/16604.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16604/head:pull/16604

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


More information about the hotspot-dev mailing list