RFR: 8371046: Segfault in compiler/whitebox/StressNMethodRelocation.java with -XX:+UseZGC

Chad Rakoczy duke at openjdk.org
Tue Dec 2 22:06:20 UTC 2025


On Tue, 2 Dec 2025 17:32:05 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Yes, my main concern is that new encoding of address in cloned nmethod may not fit into existing instructions set. At least with guarantee we can catch such case if it happened.

I updated the assert to be a guarantee and updated the comment describing why we skip calling `CallRelocation::fix_relocation_after_move()`. 

Testing for tier1 and tier2 has passed on linux aarch64. I am currently running more intensive stress testing and will update with the results when it completes.

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

PR Comment: https://git.openjdk.org/jdk/pull/28241#issuecomment-3604089528


More information about the hotspot-dev mailing list