RFR: 8333793: Improve BootstrapMethodInvoker for ConstantBootstraps and ProxyGenerator

Claes Redestad redestad at openjdk.org
Fri Jun 7 18:58:36 UTC 2024


On Fri, 7 Jun 2024 13:46:22 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> As an aside: I suppose we pre-generate all the linkers that get spun up for these `invokeExact`calls already. But, we might still get a little bit of mileage out of switching to `invokeBasic`, which bypasses the linkers altogether. With the caveat that we have to be very careful that the call site type is correct.

I'm not sure I see what linkers you're alluding to here in profiles (and I don't think we have code pre-generating all of them), and I don't see how to use `invokeBasic` here instead. Care to elaborate?

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

PR Comment: https://git.openjdk.org/jdk/pull/19598#issuecomment-2155357245


More information about the core-libs-dev mailing list