RFR: 8263185: Mallinfo deprecated in glibc 2.33 [v4]

Thomas Stuefe stuefe at openjdk.java.net
Wed Mar 17 10:24:48 UTC 2021


On Wed, 17 Mar 2021 09:36:58 GMT, Christoph Göttschkes <cgo at openjdk.org> wrote:

> > > As I wrote before, I don't see a reason to resolve mallinfo dynamically.
> > 
> > 
> > Doesn't statically using mallinfo trigger the warning that we are trying to avoid?
> 
> Yes, that's why I resolve it dynamically. Otherwise we would need to use a GCC pragma to disable deprecation warnings locally.

How high is the chance that this API will ever be removed for real? Has any API ever been removed from the glibc (serious question)? If the chance is low or zero I'd prefer the runtime loader to resolve my functions for me (so, pragma).

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

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


More information about the hotspot-runtime-dev mailing list