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

Christoph Göttschkes cgo at openjdk.java.net
Wed Mar 17 09:40:08 UTC 2021


On Wed, 17 Mar 2021 05:12:15 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Hi Christoph,
>> 
>> There is no need for build-time glibc version checks - see below.
>> 
>> Thanks,
>> David
>
> As I wrote before, I don't see a reason to resolve mallinfo dynamically.

>> 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.

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

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


More information about the hotspot-runtime-dev mailing list