RFR  8189800: Add support for AddressSanitizer
david.holmes at oracle.com
Tue Oct 31 10:37:38 UTC 2017
On 28/10/2017 6:02 AM, Artem Smotrakov wrote:
> 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  for details. AddressSanitizer is available in gcc
> 4.8+ and clang 3.1+
Should we be checking the version before adding the flags?
> 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/
>  https://github.com/google/sanitizers/wiki/AddressSanitizer
More information about the build-dev