RFR: 8357155: [asan] ZGC does not work (x86_64 and ppc64) [v3]

Matthias Baesken mbaesken at openjdk.org
Wed Jun 4 05:27:06 UTC 2025


> Many (all?) ZGC related jtreg tests do not work when the JDK is built with address sanitizer asan enabled (configure flag --enable-asan).
> This can be seen on SUSE Linux x86_64 and also on ppc64le , opt binaries were used.
> It has been suggested to do a workaround -  'But I think that simply adapting the zAddress_[...].cpp implementations to always select the largest heap base would go a long way for providing ASAN compatibility.'
> This seems to work nicely on x86_64 and ppc64le,  however the zgc related tests still fail on Linux aarch64 (should I exclude this platform from my patch?) .

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

  Add comment requested by mdoerr

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25549/files
  - new: https://git.openjdk.org/jdk/pull/25549/files/82a11f9b..85da86e1

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

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

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


More information about the hotspot-dev mailing list