RFR: 8357826: Avoid running some jtreg tests when asan is configured [v3]

Matthias Baesken mbaesken at openjdk.org
Thu Jun 5 06:58:33 UTC 2025


> 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 .

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  AOTCodeCompressedOopsTest will be handled separately

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25575/files
  - new: https://git.openjdk.org/jdk/pull/25575/files/aa796c8a..8b9e3dde

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25575&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25575&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25575.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25575/head:pull/25575

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


More information about the hotspot-dev mailing list