Integrated: 8357826: Avoid running some jtreg tests when asan is configured
Matthias Baesken
mbaesken at openjdk.org
Thu Jun 12 07:11:37 UTC 2025
On Mon, 2 Jun 2025 07:25:22 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> There are a couple of jtreg tests, especially in the HS area, with very special assumptions about memory layout/sizes .
> Those fail when the address sanitizer is configured ( --enable-asan ).
> The change adds a way to tag those tests with 'requires' so that they can be avoided easily when running jtreg tests with ASAN enabled.
> Adjusting the tests for "pleasing" the sanitizer is not always desired (if possible for some tests it can be done later) .
> While at it, also same is also added for ubsan .
This pull request has now been integrated.
Changeset: d7aa3498
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d7aa34982053bad37b3b726539f1245d054258f4
Stats: 64 lines in 12 files changed: 62 ins; 0 del; 2 mod
8357826: Avoid running some jtreg tests when asan is configured
Reviewed-by: sspitsyn, amitkumar, lmesnik, syan, lucy, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/25575
More information about the hotspot-dev
mailing list