Loading... (original) (raw)

It is known from Indify String Concat, Lambdas, and probably Jigsaw that initialization costs for java.lang.invoke infra take a significant time on first access to the infrastructure.

See a simple experiment here:
http://cr.openjdk.java.net/~shade/8086045/indy-startup.txt

The goal for this task is to investigate if we can improve this, or should we conclude the first initialization overheads can be justifiably ignored.

duplicates

Bug - A problem which impairs or prevents the functions of the product. JDK-8150717 Bootstrapping invokedynamic call sites can significantly increase time spent in the VM

is blocked by

Bug - A problem which impairs or prevents the functions of the product. JDK-8163373 Rewrite GenerateJLIClassesPlugin to avoid reflective calls into java.lang.invoke

relates to

Enhancement - null JDK-8251851 InvokerBytecodeGenerator::lookupPregenerated does not support all cases

Enhancement - null JDK-8247536 Support for pre-generated java.lang.invoke classes in CDS static archive

Enhancement - null JDK-8152641 Plugin to generate BMH$Species classes ahead-of-time

JEP - Java Enhancement Proposal JDK-8085796 JEP 280: Indify String Concatenation

(1 relates to)