提交 266c6e42 编写于 作者: V vlivanov

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

Reviewed-by: vlivanov, jrose
Contributed-by: aleksey.shipilev@oracle.com
上级 da3cf22c
...@@ -62,7 +62,7 @@ class InvokerBytecodeGenerator { ...@@ -62,7 +62,7 @@ class InvokerBytecodeGenerator {
private static final String CLL_SIG = "(L" + CLS + ";L" + OBJ + ";)L" + OBJ + ";"; private static final String CLL_SIG = "(L" + CLS + ";L" + OBJ + ";)L" + OBJ + ";";
/** Name of its super class*/ /** Name of its super class*/
private static final String superName = LF; private static final String superName = OBJ;
/** Name of new class */ /** Name of new class */
private final String className; private final String className;
...@@ -97,7 +97,7 @@ class InvokerBytecodeGenerator { ...@@ -97,7 +97,7 @@ class InvokerBytecodeGenerator {
if (DUMP_CLASS_FILES) { if (DUMP_CLASS_FILES) {
className = makeDumpableClassName(className); className = makeDumpableClassName(className);
} }
this.className = superName + "$" + className; this.className = LF + "$" + className;
this.sourceFile = "LambdaForm$" + className; this.sourceFile = "LambdaForm$" + className;
this.lambdaForm = lambdaForm; this.lambdaForm = lambdaForm;
this.invokerName = invokerName; this.invokerName = invokerName;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册