RFR: 8342504: Remove NMT header and footer canaries [v2]

Afshin Zafari azafari at openjdk.org
Thu Nov 28 08:22:45 UTC 2024


On Tue, 19 Nov 2024 07:57:38 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> clang and its many variants (clang-cl, clang in MinGW mode, etc) are not supported as compilers for the Windows JDK. The only compiler that the build system allows for Windows is VC. I do have a port that supports gcc (Which unfortunately also does not have access to ubsan or asan), but have not started work on clang because it was a bit above my capabilities
>
> Interesting. I'm personally not aware of why using a different C++-compiler on a particular platform would be a problem.

Since ASAN is supported by VC on Windows platforms, we can still be safe to remove the memory corruption checking by NMT. ASAN is already available in JDK build, so available for the Windows platform.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21560#discussion_r1861711446


More information about the hotspot-runtime-dev mailing list