- 
                Notifications
    
You must be signed in to change notification settings  - Fork 14
 
Open
Milestone
Description
I run the compiler with a flight recorder dump:
scalac -J-XX:+UnlockCommercialFeatures -J-XX:+FlightRecorder -J-XX:StartFlightRecording=dumponexit=true,settings=profile,filename=out.jfr
Opening the file in JMC, in the Events-Log tab, there's 483 events like this one. Seems to be NoSuchMethodErrors thrown by LambdaMetaFactory.
Name    Value   Identifier  Content Type    Relational Key
Start Time  10/5/16 11:55:27.185 AM (startTime) timestamp   
End Time    10/5/16 11:55:27.185 AM (endTime)   timestamp   
Duration    0 s (duration)  timespan    
Class   java.lang.NoSuchMethodError thrownClass class   
Message java.lang.Object.$anonfun$addSyntheticMethods$31(Lscala/tools/nsc/typechecker/SyntheticMethods;Lscala/tools/nsc/typechecker/MethodSynthesis$ClassMethodSynthesis;)Lscala/reflect/internal/Trees$Tree;   message text    
Event Thread    main    (thread)    thread  
    Error.<init>(String) line: 71           
    LinkageError.<init>(String) line: 55            
    IncompatibleClassChangeError.<init>(String) line: 55            
    NoSuchMethodError.<init>(String) line: 58           
    MethodHandleNatives.resolve(MemberName, Class)          
    MemberName$Factory.resolve(byte, MemberName, Class) line: 977           
    MemberName$Factory.resolveOrNull(byte, MemberName, Class) line: 1017            
    DirectMethodHandle.<init>(MethodType, LambdaForm, MemberName) line: 59          
    DirectMethodHandle.make(byte, Class, MemberName) line: 84           
    MethodHandles$Lookup.getDirectMethodCommon(byte, Class, MemberName, boolean, boolean, Class) line: 1656         
    MethodHandles$Lookup.getDirectMethodNoSecurityManager(byte, Class, MemberName, Class) line: 1613            
    MethodHandles$Lookup.getDirectMethodForConstant(byte, Class, MemberName) line: 1798         
    MethodHandles$Lookup.linkMethodHandleConstant(byte, Class, String, Object) line: 1747           
    MethodHandleNatives.linkMethodHandleConstant(Class, int, Class, String, Object) line: 477           
    SyntheticMethods.caseObjectMethods$1(MethodSynthesis$ClassMethodSynthesis, int, BooleanRef) line: 297           
    SyntheticMethods.synthesize$1(Contexts$Context, MethodSynthesis$ClassMethodSynthesis, int, BooleanRef) line: 319            
    SyntheticMethods.caseTemplateBody$1(Trees$Template, Contexts$Context, MethodSynthesis$ClassMethodSynthesis, int, BooleanRef) line: 392          
    SyntheticMethods.$anonfun$addSyntheticMethods$47(SyntheticMethods, Trees$Template, Contexts$Context, MethodSynthesis$ClassMethodSynthesis, int, BooleanRef, List) line: 396         
    SymbolTable.deriveTemplate(Trees$Tree, Function1) line: 16          
    SyntheticMethods.addSyntheticMethods(Trees$Template, Symbols$Symbol, Contexts$Context) line: 395            
    SyntheticMethods.addSyntheticMethods$(SyntheticMethods, Trees$Template, Symbols$Symbol, Contexts$Context) line: 65          
    Global$$anon$1.addSyntheticMethods(Trees$Template, Symbols$Symbol, Contexts$Context) line: 424          
    Typers$Typer.finishMethodSynthesis(Trees$Template, Symbols$Symbol, Contexts$Context) line: 1874         
    Typers$Typer.typedModuleDef(Trees$ModuleDef) line: 1855         
...
Metadata
Metadata
Assignees
Labels
No labels