RFR: JDK-8320383: refresh libraries cache on AIX in VMError::report [v3]
Martin Doerr
mdoerr at openjdk.org
Wed Nov 29 10:53:21 UTC 2023
On Thu, 23 Nov 2023 14:46:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> VMError::report outputs information about loaded shared libraries; but this info could be outdated on AIX because the libraries cache is currently not refreshed before printing.
>> This is similar to [JDK-8318587](https://bugs.openjdk.org/browse/JDK-8318587) .
>> The refresh in VMError::report could be omitted in some situations where the refresh call is considered problematic.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> use new method also in print_vm_info
I think the main problem is that it's impossible to make a good design without knowing all requirements. We always find a new issue and need to make a small AIX specific enhancement for this, then for that, ...
After having a more complete picture, we should be able to improve it and do some refactoring. https://bugs.openjdk.org/browse/JDK-8320890 is an example.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16730#issuecomment-1831658812
More information about the hotspot-dev
mailing list