RFR: 8365240: [asan] exclude some tests when using asan enabled binaries
Matthias Baesken
mbaesken at openjdk.org
Mon Aug 11 11:58:29 UTC 2025
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
-------------
Commit messages:
- JDK-8365240
Changes: https://git.openjdk.org/jdk/pull/26725/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26725&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365240
Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/26725.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26725/head:pull/26725
PR: https://git.openjdk.org/jdk/pull/26725
More information about the serviceability-dev
mailing list