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

Thomas Stuefe stuefe at openjdk.java.net
Wed Mar 17 10:32:56 UTC 2021


On Wed, 17 Mar 2021 00:27:43 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Christoph Göttschkes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Resolve mallinfo and mallinfo2 in os::init.
>
> src/hotspot/os/linux/os_linux.cpp line 174:
> 
>> 172: 
>> 173: void* os::Linux::_mallinfo_fun_ptr = NULL;
>> 174: void* os::Linux::_mallinfo2_fun_ptr = NULL;
> 
> Should this be ifdef __GLIBC__ too?

Yes, unless you want unused-variable warnings on Alpine.

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

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


More information about the hotspot-runtime-dev mailing list