8058661: Compiled LambdaForms should inherit from Object to improve class loading performance

Reviewed-by: vlivanov, jrose
This commit is contained in:
Aleksey Shipilev 2014-09-18 18:33:05 +04:00 committed by Vladimir Ivanov
parent 83a26602a9
commit 20abfd774a

View File

@ -62,7 +62,7 @@ class InvokerBytecodeGenerator {
private static final String CLL_SIG = "(L" + CLS + ";L" + OBJ + ";)L" + OBJ + ";";
/** Name of its super class*/
private static final String superName = LF;
private static final String superName = OBJ;
/** Name of new class */
private final String className;
@ -97,7 +97,7 @@ class InvokerBytecodeGenerator {
if (DUMP_CLASS_FILES) {
className = makeDumpableClassName(className);
}
this.className = superName + "$" + className;
this.className = LF + "$" + className;
this.sourceFile = "LambdaForm$" + className;
this.lambdaForm = lambdaForm;
this.invokerName = invokerName;