Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,8 +118,6 @@ public void pauseAllThreadsAndExecuteFromNonRubyThread(Consumer<RubyThread> acti | |
} | ||
|
||
private synchronized void pauseAllThreadsAndExecute(boolean holdsGlobalLock, Consumer<RubyThread> action) { | ||
CompilerDirectives.transferToInterpreter(); | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
chrisseaton
Contributor
|
||
this.action = action; | ||
|
||
/* this is a potential cause for race conditions, | ||
|
3 comments
on commit e44268c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I get the idea and it works well in this case. The only thing I'm not sure about is having nodes that aren't @CoreMethod
in a @CoreClass
- that might be confusing. But I'm nitpicking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but I'd rather keep nodes with a given receiver type together than split them in a third hypothetical hierarchy :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it. And I like keeping it grouped with the receiver. If we want a new namespace, I'd shove them into another inner class named "RubiniusHelpers" or something.
Unintended change ...