RFR: 8301371: Interpreter store barriers on x86_64 don't have disjoint temp registers

Erik Österlund eosterlund at openjdk.org
Fri Feb 3 10:47:51 UTC 2023


On Fri, 3 Feb 2023 09:47:08 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> The interpreter store barriers on x86_64 use temp registers that sometimes intersects with registers that are part of the address. Therefore, when clobbering temp registers, the address gets destroyed. This has happened to be okay so far, based on how these registers are used in existing backends, but it doesn't work well for generational ZGC. This CR selects new temp registers that I have verified works for everyone on x86_64.
>
> Marked as reviewed by tschatzl (Reviewer).

Thanks for the review, @tschatzl!

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

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


More information about the hotspot-compiler-dev mailing list