On Tue, 21 Apr 2026 18:46:43 GMT, Phil Race <[email protected]> wrote:

> "In addition, a linker provides a way to look up foreign functions in 
> libraries that conform to the ABI. Each linker chooses a set of libraries 
> that are commonly used on the OS and processor combination associated with 
> the ABI. For example, a linker for Linux/x64 might choose two libraries: libc 
> and libm. The functions in these libraries are exposed via a [symbol 
> lookup](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#defaultLookup())."

Is there any public information about that discussion? From the description 
above it is unclear why LD_PRELOAD is not supported it sounds like a 
regression. For such bugs we will always need to check the whole third party 
libraries that uses malloc/free/calloc/etc and make sure it is not mixed with 
similar methods loaded by FFM?

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

PR Comment: https://git.openjdk.org/jdk/pull/30811#issuecomment-4298759396

Reply via email to