RFR: 8357155: [asan] ZGC does not work
Matthias Baesken
mbaesken at openjdk.org
Mon Jun 2 09:03:55 UTC 2025
On Fri, 30 May 2025 15:00:53 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> I was hoping this could work for Linux with 47/48 bit aarch64 VMA. But it is unclear how ASAN selects its mappings on such platforms.
>
> On 39/42 bit VMA returning `MIN2(valid_max_address_offset_bits, 44)` as I suggested in the PPC function may be a better best effort, as we are using addresses where we actually probed that reservations could be possible). Or even `MIN2(valid_max_address_offset_bits - 1, 44)`. Feel free to try it out, but I think this is otherwise an alright approach until we implement a better heap base selection strategy where we can test multiple base candidates.
Thanks for the aarch64 related suggestions, unfortunately both do not work.
So I change only the files for x86_64 and ppc64 .
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25549#discussion_r2120500717
More information about the hotspot-dev
mailing list