RFR: 8337243: Fix more -Wzero-as-null-pointer-constant warnings in compiler code [v2]

Kim Barrett kbarrett at openjdk.org
Fri Jul 26 03:55:05 UTC 2024


On Fri, 26 Jul 2024 00:44:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove extraneous whitespace
>
> src/hotspot/share/code/oopRecorder.cpp line 72:
> 
>> 70:     if (_arena != nullptr) {
>> 71:       _handles  = new(_arena) GrowableArray<T>(_arena, 10, 0, T{});
>> 72:       _no_finds = new(_arena) GrowableArray<int>(    _arena, 10, 0, 0);
> 
> Can you remove spaces before `_arena` here and in following block since you are changing code near.

done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20343#discussion_r1692452589


More information about the hotspot-compiler-dev mailing list