On Sat, 20 Sep 2025 14:27:21 GMT, SendaoYan <[email protected]> wrote:
> Hi, jdk support address sanitizer and leak sanitizer for now. It seems that > this PR only concern address sanitizer, does the leak sanitizer also need > this enhancement gcc15.2 docs list the sanitizers that support recovery, and "leak" is not in that list. Sanitizers that support it enable recovery by default, except for "address", which is noted as still being experimental (which is presumably why it's not enabled by default). https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Instrumentation-Options.html#index-fsanitize-recover Once "address" is no longer experimental we can presumably remove the explicit recovery enabling. But maybe we should consider this PR premature, since `-fsanitize-recovery=address" is still experimental. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27404#issuecomment-3315527909
