RFR: 8374445: Fix -Wzero-as-null-pointer-constant warnings in JfrSet
Kim Barrett
kbarrett at openjdk.org
Fri Jan 16 15:22:13 UTC 2026
On Thu, 15 Jan 2026 19:13:47 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Will review this later Kim, sorry for the delay (26 stuff).
>
> Thanks for reviewing @mgronlun
> @kimbarrett don't you also need to adjust this for completeness:
>
> ```
> void clear() {
> memset(_table, 0, _table_size * sizeof(K));
> }
> ```
Drat! Missed that. https://bugs.openjdk.org/browse/JDK-8375544
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29022#issuecomment-3760548998
More information about the hotspot-jfr-dev
mailing list