RFR [10] 8189800: Add support for AddressSanitizer

Artem Smotrakov artem.smotrakov at oracle.com
Fri Oct 27 20:02:24 UTC 2017


Hello,

Please review the following patch which adds support for AddressSanitizer.

AddressSanitizer is a runtime memory error detector which looks for 
various memory corruption issues and leaks.

Please refer to [1] for details. AddressSanitizer is available in gcc 
4.8+ and clang 3.1+

The patch below introduces --enable-asan parameter for the configure 
script which enables AddressSanitizer.

Bug: https://bugs.openjdk.java.net/browse/JDK-8189800
Webrev: http://cr.openjdk.java.net/~asmotrak/8189800/webrev.00/

[1] https://github.com/google/sanitizers/wiki/AddressSanitizer

Artem



More information about the build-dev mailing list