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

Matthias Baesken mbaesken at openjdk.org
Wed Jun 4 06:28:17 UTC 2025


On Tue, 3 Jun 2025 12:31:51 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> In ASAN built JDK, some gtests and some other JTREG tests in runtime/ErrorHandling also fail. Do we exclude these in another PR? or should they also be handled/excluded here? The 'some' word in the PR's title is not strict, IMO.

Yes it is not strict ;  I did mostly tests with ASAN on Linux x86_64 and Linux ppc64le so far  .
On x86_64 I saw a few more tests have issues with ASAN, but the intention of this PR was to just include the ones where it was clear to me what happens and where a 'fix'  is not likely  (and mostly also the ones I saw failing across the 2 OS/CPU platforms I mentioned).
Maybe that's why we should better remove the exclusion of AOTCodeCompressedOopsTest  , because this is not some kind of incompatibility of ASAN with special test requirements, but a real memory issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/25575#issuecomment-2938748695


More information about the hotspot-dev mailing list