RFR: 8365240: [asan] exclude some tests when using asan enabled binaries
Matthias Baesken
mbaesken at openjdk.org
Tue Aug 12 07:20:17 UTC 2025
On Mon, 11 Aug 2025 11:52:00 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> When using asan - enabled binaries, the following tests fail (on Linux x86_64).
> This one uses ulimit in a way problematic with asan :
> vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java
>
> ```
> stdout: [];
> stderr: [==19509==ERROR: AddressSanitizer failed to allocate 0xdfff0001000 (15392894357504) bytes at address 2008fff7000 (errno: 12)
> ==19509==ReserveShadowMemoryRange failed while trying to map 0xdfff0001000 bytes. Perhaps you're using ulimit -v
>
> exitValue = 134
>
>
> This one seems to have rather strict memory requirements , and fails for some minimum allowed stack size settings
> tools/launcher/TooSmallStackSize.java
>
> PASSED: got expected error message with stack size of 16k
> PASSED: got expected error message with stack size of 64k
> Test output:
> *** exitValue = 139
> FAILED: VM failed to launch with minimum allowed stack size of 136k
Thanks for the reviews !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26725#issuecomment-3178007009
More information about the serviceability-dev
mailing list