RFR: 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding [v2]
Jatin Bhateja
jbhateja at openjdk.org
Thu Apr 17 02:22:42 UTC 2025
On Wed, 16 Apr 2025 21:10:38 GMT, Dean Long <dlong at openjdk.org> wrote:
> Yes, I am suggesting doing something like:
>
> ```
> __ relocate(__ pc() - 4, barrier_Relocation::spec(), ZBarrierRelocationFormatStoreGoodAfterOr);
> ```
>
> which would be a bigger change to the implementation.
Yes, this is what I mean by address caching in my above comment. we already have an existing interface for it in place; the intent of this bug fix PR is not to improve upon the infrastructure but to align the fix with the current scheme. Do you suggest doing that in a follow up PR ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24664#issuecomment-2811561649
More information about the hotspot-compiler-dev
mailing list