RFR: 8280481: Duplicated stubs to interpreter for static calls
Evgeny Astigeevich
duke at openjdk.org
Thu Jun 30 21:35:36 UTC 2022
On Fri, 17 Jun 2022 09:25:18 GMT, Andrew Haley <aph at openjdk.org> wrote:
> > If we never patch the branch to the interpreter, we can optimize it at link time either to a direct branch or an adrp based far jump. I also created https://bugs.openjdk.org/browse/JDK-8286142 to reduce metadata mov instructions.
>
> If we emit the address of the interpreter once, at the start of the stub section, we can replace the branch to the interpreter with `ldr rscratch1, adr; br rscratch1`.
@theRealAph, thank you for the idea.
I created https://bugs.openjdk.org/browse/JDK-8289057.
-------------
PR: https://git.openjdk.org/jdk/pull/8816
More information about the hotspot-dev
mailing list