RFR: 8368365: ASAN errors should produce hs-err files and core dumps [v5]

Thomas Stuefe stuefe at openjdk.org
Mon Sep 29 06:11:39 UTC 2025


On Mon, 29 Sep 2025 01:20:56 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Update address.cpp
>>  - Comment reference to asan_interface.h
>
> src/hotspot/share/sanitizers/address.cpp line 62:
> 
>> 60:     log_warning(asan)("*** Failed to install JVM callback for ASAN. ASAN errors will not generate hs-err files. ***");
>> 61:     return;
>> 62:   }
> 
> Doesn't this just mean ASAN is not present at runtime? It isn't really an error installing the callback.

ASAN would work, but hs-err files would be missing.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27446#discussion_r2386801071


More information about the hotspot-dev mailing list