Created
February 23, 2017 20:57
-
-
Save ragnard/c5a13c7db9a668a445f1073c61ce46ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time ./truffleshen '(+ 1 2)' | |
Loading toplevel.kl | |
Loading core.kl | |
Loading sys.kl | |
Loading sequent.kl | |
Loading yacc.kl | |
Loading reader.kl | |
Loading prolog.kl | |
Loading track.kl | |
Loading load.kl | |
Loading writer.kl | |
Loading macros.kl | |
Loading declarations.kl | |
[truffle] opt queued RootNode@694f9431 |ASTSize 4/ 4 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
Connected to the IGV on 127.0.0.1:4445 | |
CFGPrinter: Output to file /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_1.cfg | |
CFGPrinter: Dumping method Truffle<RootNode@694f9431()> to /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_1.cfg | |
[truffle] opt start RootNode@694f9431 |ASTSize 4/ 4 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
[truffle] opt done RootNode@694f9431 <opt> |ASTSize 4/ 4 |Time 455( 235+221 )ms |DirectCallNodes I 0/D 0 |GraalNodes 35/ 64 |CodeSize 271 |Source n/a | |
[truffle] opt queued RootNode@ba8a1dc |ASTSize 5/ 5 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
[truffle] opt start RootNode@ba8a1dc |ASTSize 5/ 5 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
CFGPrinter: Output to file /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_2.cfg | |
CFGPrinter: Dumping method Truffle<RootNode@ba8a1dc()> to /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_2.cfg | |
Connected to the IGV on 127.0.0.1:4445 | |
[truffle] opt done RootNode@ba8a1dc <opt> |ASTSize 5/ 5 |Time 364( 39+325 )ms |DirectCallNodes I 0/D 0 |GraalNodes 41/ 159 |CodeSize 543 |Source n/a | |
[truffle] opt queued RootNode@15615099 |ASTSize 4/ 4 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
[truffle] opt start RootNode@15615099 |ASTSize 4/ 4 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
CFGPrinter: Dumping method Truffle<RootNode@15615099()> to /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_1.cfg | |
[truffle] opt done RootNode@15615099 <opt> |ASTSize 4/ 4 |Time 407( 40+367 )ms |DirectCallNodes I 0/D 0 |GraalNodes 22/ 133 |CodeSize 411 |Source n/a | |
[truffle] opt start RootNode@544fe44c |ASTSize 33/ 33 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
[truffle] opt queued RootNode@544fe44c |ASTSize 33/ 33 |Calls/Thres 1000/ 3 |CallsAndLoop/Thres 1000/ 1000 |Inval# 0 | |
CFGPrinter: Dumping method Truffle<RootNode@544fe44c()> to /Users/ragnardahlen/projects/github/ragnard/shen-truffle/./compilations-1487883374991_2.cfg | |
[truffle] opt fail RootNode@544fe44c |Reason org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Lorg/graalvm/compiler/truffle/FrameWithoutBoxing; should not be materialized (must not pass virtual object into an invoke that cannot be inlined): | |
org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Lorg/graalvm/compiler/truffle/FrameWithoutBoxing; should not be materialized (must not pass virtual object into an invoke that cannot be inlined): | |
at com.github.ragnard.shen.klambda.nodes.InvokeNode.executeGeneric(InvokeNode.java:59) | |
at com.github.ragnard.shen.klambda.nodes.ExpressionNode.executeBoolean(ExpressionNode.java:43) | |
at com.github.ragnard.shen.klambda.nodes.IfNode.evaluateCondition(IfNode.java:39) | |
at com.github.ragnard.shen.klambda.nodes.IfNode.executeGeneric(IfNode.java:30) | |
at com.github.ragnard.shen.klambda.nodes.DoNode.executeGeneric(DoNode.java:24) | |
at com.github.ragnard.shen.klambda.nodes.RootNode.execute(RootNode.java:22) | |
at org.graalvm.compiler.truffle.OptimizedCallTarget.callProxy(OptimizedCallTarget.java:225) | |
at org.graalvm.compiler.truffle.OptimizedCallTarget.callRoot(OptimizedCallTarget.java:215) | |
Caused by: org.graalvm.compiler.graph.VerificationError: Object of type Lorg/graalvm/compiler/truffle/FrameWithoutBoxing; should not be materialized (must not pass virtual object into an invoke that cannot be inlined): | |
at org.graalvm.compiler.nodes.virtual.EnsureVirtualizedNode.ensureVirtualFailure(EnsureVirtualizedNode.java:95) | |
at org.graalvm.compiler.nodes.virtual.CommitAllocationNode.lower(CommitAllocationNode.java:107) | |
at org.graalvm.compiler.phases.common.LoweringPhase$Round.process(LoweringPhase.java:418) | |
at org.graalvm.compiler.phases.common.LoweringPhase$Round.access$200(LoweringPhase.java:294) | |
at org.graalvm.compiler.phases.common.LoweringPhase$Round$ProcessFrame.preprocess(LoweringPhase.java:358) | |
at org.graalvm.compiler.phases.common.LoweringPhase.processBlock(LoweringPhase.java:517) | |
at org.graalvm.compiler.phases.common.LoweringPhase$Round.run(LoweringPhase.java:343) | |
at org.graalvm.compiler.phases.Phase.run(Phase.java:47) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:153) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:135) | |
at org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:154) | |
at org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:54) | |
at org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:36) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:153) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:135) | |
at org.graalvm.compiler.phases.common.LoweringPhase.lower(LoweringPhase.java:251) | |
at org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:244) | |
at org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:84) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:153) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:135) | |
at org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:154) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:153) | |
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:135) | |
at org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:200) | |
at org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:176) | |
at org.graalvm.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:162) | |
at org.graalvm.compiler.truffle.TruffleCompiler.compileMethodHelper(TruffleCompiler.java:208) | |
at org.graalvm.compiler.truffle.TruffleCompiler.compileMethod(TruffleCompiler.java:163) | |
at org.graalvm.compiler.truffle.GraalTruffleRuntime.doCompile0(GraalTruffleRuntime.java:488) | |
at org.graalvm.compiler.truffle.GraalTruffleRuntime.doCompile(GraalTruffleRuntime.java:474) | |
at org.graalvm.compiler.truffle.GraalTruffleRuntime$1.run(GraalTruffleRuntime.java:515) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
at org.graalvm.compiler.core.CompilerThread.run(CompilerThread.java:51) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment