RFR: JDK-8222719: adjust libperfstat usage on AIX
Matthias Baesken
mbaesken at openjdk.org
Thu Jan 18 15:40:18 UTC 2024
On Wed, 17 Jan 2024 08:21:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Currently we use libperfstat with dlopen/dladdr, see src/hotspot/os/aix/libperfstat_aix.hpp (+cpp) .
> For compatibility reason we have support for different versions of this API.
> However the AIX 5.3 / 6.1 support is outdated now, AIX versions older than 7.X are not supported any more by the current OpenJDK . So remove support for those old API versions.
Hi Christoph and Goetz, thanks for the reviews .
> Seems ok, but why not resort to statically linking against the build system's libperfstat nowadays?
Probably this could be done; on the other hand, the way we do it now (and do it for a long time) supports nicely different perfstat API versions. This is not so bad (and also potentially relevant with AIX 7.2 vs. 7.3 and different TLs) .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17460#issuecomment-1898715142
More information about the hotspot-runtime-dev
mailing list