RFR: 8337679: Memset warning in src/hotspot/share/adlc/adlArena.cpp

duke duke at openjdk.org
Thu Sep 26 10:28:36 UTC 2024


On Thu, 26 Sep 2024 09:16:11 GMT, Yagmur Eren <duke at openjdk.org> wrote:

> The purpose of this `memset` was to overwrite memory with garbage data before freeing it, helping detect bugs where the freed memory is accessed afterward. Therefore, removing it will no impact on functionality. Or it could be zapped with `memset_s` but zapping seems negligible in this case. It passes tier1 tests. See [JDK-8337679](https://bugs.openjdk.org/browse/JDK-8337679).

@nelanbu 
Your change (at version 2187ff1f14a8ac0e73b939101e7511dd55d8982b) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/21200#issuecomment-2376554699


More information about the hotspot-compiler-dev mailing list