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

Matthias Baesken mbaesken at openjdk.org
Wed Jun 4 09:09:22 UTC 2025


On Fri, 30 May 2025 12:18:46 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: cd16b689
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cd16b6896222a623dc99b9e63bb917a9d2980e88
Stats:     9 lines in 2 files changed: 9 ins; 0 del; 0 mod

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

Co-authored-by: Axel Boldt-Christmas <aboldtch at openjdk.org>
Reviewed-by: mdoerr, aboldtch

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

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


More information about the hotspot-dev mailing list