RFR: JDK-8289799: Build warning in methodData.cpp memset zero-length parameter

Thomas Stuefe stuefe at openjdk.org
Thu Jul 7 09:46:41 UTC 2022


On Wed, 6 Jul 2022 07:43:03 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Trivial fix for a compiler warning we see in our CI on Fedora 12 with GCC 8.3:
>> 
>> 
>> void Copy::pd_zero_to_bytes(void*, size_t)' at /home/ubuntu/client_home/workspace/build-user-branch-linux_x86_64/SapMachine/src/hotspot/cpu/x86/copy_x86.hpp:59:15,
>>     inlined from 'static void Copy::zero_to_bytes(void*, size_t)' at /home/ubuntu/client_home/workspace/build-user-branch-linux_x86_64/SapMachine/src/hotspot/share/utilities/copy.hpp:298:21,
>>     inlined from 'void MethodData::initialize()' at
>
> Looks good to me.

Thanks @DamonFool and @RealLucy !

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

PR: https://git.openjdk.org/jdk/pull/9390


More information about the hotspot-dev mailing list