On Mon, 11 Aug 2025 11:52:00 GMT, Matthias Baesken <mbaes...@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

This pull request has now been integrated.

Changeset: d78fa5a9
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/d78fa5a9f6254e2e93e75c693efba75e09736749
Stats:     6 lines in 2 files changed: 4 ins; 0 del; 2 mod

8365240: [asan] exclude some tests when using asan enabled binaries

Reviewed-by: lmesnik, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/26725

Reply via email to