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

Johan Sjölen jsjolen at openjdk.org
Tue Nov 19 08:00:49 UTC 2024


On Tue, 19 Nov 2024 05:22:17 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Thanks for the input, Julian. It seems like both ubsan and asan are available on Clang for Windows (8.1+ for asan), so we'd have a way of getting memory corruption detection on those platforms also.
>
> 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.

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

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


More information about the hotspot-runtime-dev mailing list