RFR: 8195850: Improve startup of code to pull arguments from BootstrapMethodInvoker
Claes Redestad
claes.redestad at oracle.com
Mon Jan 22 14:22:11 UTC 2018
Hi,
a startup inefficiency was detected in the BootstrapMethodInvoker when
arranging
for the BootstrapMethodInvoker to pull arguments from the VM, where we
can arrange
to initialize the different adapters more lazily, and avoid
invokeWithArguments:
http://cr.openjdk.java.net/~redestad/8195850/open.00/
The inefficiency can be provoked on a version of CondyNestedTest.java[1]
modified
to be compilable and runnable without any dependencies. Quite a bit of
setup,
is avoided - in this test I see a 7-8% reduction in bytecode executed
(mixed mode).
Thanks!
/Claes
[1] http://cr.openjdk.java.net/~redestad/8195850/CondyNestedTest.java
More information about the amber-dev
mailing list