Comments (4)
Problem could be a related to splitting, see example output:
[truffle] opt done Random>>nextInt: <opt> <split-29451c4d> |ASTSize 86/ 554 |Time 302( 255+47 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize 7477 |CodeAddress 0x11f05bf10 |Source Random>>nextInt::1
[truffle] opt done LargePositiveIntegerTest>>testReciprocalModulo <opt> |ASTSize 264/ 1008 |Time 539( 441+98 )ms |DirectCallNodes I 39/D 3 |GraalNodes 2005/ 3297 |CodeSize 12604 |CodeAddress 0x11f0c2550 |Source LargePositiveIntegerTest>>testReciprocalModulo:1
[truffle] opt done Random>>nextInt: <opt> <split-239bb532> |ASTSize 86/ 554 |Time 324( 270+55 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize 7477 |CodeAddress 0x11f6fbf90 |Source Random>>nextInt::1
[truffle] opt done LargePositiveIntegerTest>>testReciprocalModulo <opt> |ASTSize 264/ 1008 |Time 553( 427+126 )ms |DirectCallNodes I 39/D 3 |GraalNodes 2005/ 3297 |CodeSize 12604 |CodeAddress 0x11f0b5f10 |Source LargePositiveIntegerTest>>testReciprocalModulo:1
[truffle] opt done Random>>nextInt: <opt> <split-157835a6> |ASTSize 86/ 554 |Time 358( 300+58 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize 7477 |CodeAddress 0x11f0ad0d0 |Source Random>>nextInt::1
[truffle] opt done LargePositiveIntegerTest>>testReciprocalModulo <opt> |ASTSize 264/ 1008 |Time 564( 473+91 )ms |DirectCallNodes I 39/D 3 |GraalNodes 2005/ 3297 |CodeSize 12604 |CodeAddress 0x11efe43d0 |Source LargePositiveIntegerTest>>testReciprocalModulo:1
[truffle] opt done Random>>nextInt: <opt> <split-403222dc> |ASTSize 86/ 554 |Time 298( 252+46 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize 7477 |CodeAddress 0x11eefbcd0 |Source Random>>nextInt::1
[truffle] opt done LargePositiveIntegerTest>>testReciprocalModulo <opt> |ASTSize 264/ 1008 |Time 506( 421+85 )ms |DirectCallNodes I 39/D 3 |GraalNodes 2005/ 3297 |CodeSize 12604 |CodeAddress 0x11efd7d90 |Source LargePositiveIntegerTest>>testReciprocalModulo:1
[truffle] opt done Random>>nextInt: <opt> <split-5cd9c3f8> |ASTSize 86/ 554 |Time 263( 220+44 )ms |DirectCallNodes I 22/D 1 |GraalNodes 1239/ 2134 |CodeSize 7477 |CodeAddress 0x11efa1550 |Source Random>>nextInt::1
from trufflesqueak.
This is still an issue in 1.0.0-rc7
:
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
[truffle] opt deopt Exception>>return: <opt> |ASTSize 19/ 19 |Calls/Thres 6399/ 3 |CallsAndLoop/Thres 6399/ 1000 |Inval# 0
from trufflesqueak.
@eregon mentioned that there are new docs on how to debug deoptimizations:
If you see unexpected deoptimization in a Truffle language, I have added docs at https://github.com/oracle/graal/blob/master/truffle/docs/Optimizing.md#debugging-deoptimizations and there is also a new option
--engine.TraceDeoptimizeFrame
to trace frame deopts
from trufflesqueak.
It seems this got fixed along the way and is no longer reproducible. :)
from trufflesqueak.
Related Issues (20)
- ForeignObject does not support shallowCopy/deepCopy HOT 6
- Add support for Cuis-Smalltalk HOT 4
- Maintain the entire stack in frame slots HOT 4
- TruffleSqueak failed to launch Squeak6.0beta-21772 image HOT 2
- Black box around cursor after change "Scale Factor" for Squeak6.0beta HOT 2
- MNU occurred when compiling character literals in Squeak 6.0 beta image HOT 2
- Squeak 6.0 beta image can not be saved HOT 63
- Incorrect keyboard handling on Windows HOT 9
- trufflesqueak-launcher: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found HOT 4
- primitiveContextAt[put] (210/211) fail for stackp >= 16 in some situations HOT 3
- `UnsupportedSpecializationException`: Unexpected values provided for `ContextObjectWriteNodeGen` when creating `Context` instances manually HOT 3
- Missing `WindowEvent`s HOT 1
- Crash when triggering polyglot delay (scheduler could not find a runnable process) HOT 1
- Higher-priority processes are not scheduled HOT 5
- No GUI shows up after loading TruffleSqueak-22.1.0.image on GraalVM CE 22.1 HOT 7
- Use `EconomicMap.emptyMap()`
- Network unavailable HOT 57
- The type jdk.internal.module.Modules is not accessible - error when compiling HOT 4
- Stack overflow when evaluating factorial HOT 2
- Both the latest JVM and standalone versions only include the Smalltalk language. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trufflesqueak.