RFR: JDK-8259897: gtest os.dll_address_to_function_and_library_name_vm fails on AIX

Martin Doerr mdoerr at openjdk.java.net
Thu Jan 21 10:18:58 UTC 2021


On Wed, 20 Jan 2021 06:26:37 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> This is trivial. The test tries to come up with a pointer slightly outside a function but still inside a library, and then to resolve it to a valid library name. This is shaky. On AIX, the pointer had been a function descriptor, stored separately from the code sections, so this won't work.
> 
> I removed this part of the test, since this is shaky and relies on UB.

Looks reasonable.

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

Marked as reviewed by mdoerr (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2156


More information about the hotspot-runtime-dev mailing list