RFR: 8017234: Hotspot should stop using mapfiles

Erik Joelsson erikj at openjdk.org
Thu Feb 22 14:32:12 UTC 2024


On Thu, 22 Feb 2024 09:53:53 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The difference is that the data (variable) symbols __bss_start, _edata and _end, and the text (function) symbols _fini and _init has changed from local to global. Afaik, these are symbols created by the linker. Also, when we used a mapfile, the symbol SUNWprivate_1.1 that was part of the mapfile definition was included in libjvm.so, and this is no longer the case.

Regarding SUNWprivate_1.1, reading [JDK-4916160](https://bugs.openjdk.org/browse/JDK-4916160) it seems like it could cause problems for native user libraries linked against an older JDK version if we remove it. I think this is what David Holmes was referring to. So it seems like a good idea to figure out a way to keep it around.

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

PR Comment: https://git.openjdk.org/jdk/pull/17955#issuecomment-1959567183


More information about the build-dev mailing list