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

Thomas Stuefe stuefe at openjdk.java.net
Wed Jan 20 06:31:50 UTC 2021


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.

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

Commit messages:
 - Remove shaky part of test

Changes: https://git.openjdk.java.net/jdk/pull/2156/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2156&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259897
  Stats: 10 lines in 1 file changed: 0 ins; 10 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2156.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2156/head:pull/2156

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


More information about the hotspot-runtime-dev mailing list