src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File jdk Cdiff src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java

src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java

Print this page
rev 10680 : 8058309: Unsafe.defineAnonymousClass deoptimization checks scale devastatingly poorly
Reviewed-by: vlivanov, jrose, ?
Contributed-by: aleksey.shipilev@oracle.com

*** 60,70 **** private static final String LFN_SIG = "L" + LFN + ";"; private static final String LL_SIG = "(L" + OBJ + ";)L" + OBJ + ";"; private static final String CLL_SIG = "(L" + CLS + ";L" + OBJ + ";)L" + OBJ + ";"; /** Name of its super class*/ ! private static final String superName = LF; /** Name of new class */ private final String className; /** Name of the source file (for stack trace printing). */ --- 60,70 ---- private static final String LFN_SIG = "L" + LFN + ";"; private static final String LL_SIG = "(L" + OBJ + ";)L" + OBJ + ";"; private static final String CLL_SIG = "(L" + CLS + ";L" + OBJ + ";)L" + OBJ + ";"; /** Name of its super class*/ ! private static final String superName = OBJ; /** Name of new class */ private final String className; /** Name of the source file (for stack trace printing). */
*** 95,105 **** invokerName = invokerName.substring(p+1); } if (DUMP_CLASS_FILES) { className = makeDumpableClassName(className); } ! this.className = superName + "$" + className; this.sourceFile = "LambdaForm$" + className; this.lambdaForm = lambdaForm; this.invokerName = invokerName; this.invokerType = invokerType; this.localsMap = new int[localsMapSize+1]; --- 95,105 ---- invokerName = invokerName.substring(p+1); } if (DUMP_CLASS_FILES) { className = makeDumpableClassName(className); } ! this.className = LF + "$" + className; this.sourceFile = "LambdaForm$" + className; this.lambdaForm = lambdaForm; this.invokerName = invokerName; this.invokerType = invokerType; this.localsMap = new int[localsMapSize+1];
src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File