On Fri, 15 May 2026 13:51:11 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> Maybe! 8-)
>> LIBC_NAME is used only to find libc's load address which feeds into the 
>> heuristics that decide what memory would be dangerous to remap.  This might 
>> only need to know the MUSL library name which it can search for as well.
>
> musl C is `/lib/ld-musl-x86_64.so.1`. (You can see it on Alpine container)

Hi, I removed the specific "libc" lookup, thanks...
This was about making libc address range protected from accidental overwrite by 
the core mappings, so found the location differently.
init_pd() in revival_linux.cpp looks up the printf location, its library, and 
sets a range from that.  I have not done an Alpine build and test, we don't do 
that regularly, so there might be more to discover on that platform.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31011#discussion_r4318149410

Reply via email to