RFR: 8342504: Remove NMT header and footer canaries [v2]
Julian Waters
jwaters at openjdk.org
Tue Nov 19 05:24:59 UTC 2024
On Mon, 18 Nov 2024 15:40:27 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
>> I would like to caution that this would trash the ability to check for corruption for platforms that don't support ubsan and asan. Windows, with the VC compiler, comes to mind (Actually, even the Windows/gcc Port cannot use ubsan and asan either, since the sanitizers haven't been properly ported for Windows in general)
>
> 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
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21560#discussion_r1847660043
More information about the hotspot-runtime-dev
mailing list