-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Truffle to 0.25 #132
Merged
Merged
Conversation
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
- add source section to root node subclasses Signed-off-by: Stefan Marr <git@stefan-marr.de>
3e68c7e
to
9210438
Compare
Signed-off-by: Stefan Marr <git@stefan-marr.de>
- first step to remove all static state - might need further refactorings - might need futher simplification: do I really need SomLanguage and VM? Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
We use VM as execution context for the PolyglotEngine, and remove much of the static fields to access it to make the VM more reentrant (possibly allow multiple instance in the same Java process). - pass VM explicitly where required - actors needs VM for debugging - message sending needs actorPool access - move all fork/join pools to VM - move UncaughtExceptions to separate file Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
- add IS_NULL support - use hack to get to VM object - remove dead code Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
This is already handled in UncaughtExceptions Signed-off-by: Stefan Marr <git@stefan-marr.de>
…ymore Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1584166
to
801a26d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes an issue, incorrect implementation
enhancement
Improves the implementation with something noteworthy
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a major change to support the latest Truffle version.
To make it work properly, I am removing much static state, but not yet all.
First step is to make all runtime classes part of the context, which is realized with the VM class.
VM class and SomLanguage instance have a 1-to-1 mapping. At the moment, I don't anticipate to need more than that.