On Fri, 15 May 2026 13:26:39 GMT, Kevin Walls <[email protected]> wrote:

>> src/jdk.attach/linux/native/revivalhelper/revival_linux.cpp line 61:
>> 
>>> 59: uint64_t bin_addr;
>>> 60: uint64_t bin_end;
>>> 61: #define LIBC_NAME "libc.so.6"
>> 
>> Can it work on musl (Alpine)?
>
> 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)

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

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

Reply via email to