Skip to content
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

JIT-compile methods named 'none'. #954

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@sluukkonen
Copy link
Contributor

sluukkonen commented Aug 14, 2013

jruby.jit.exclude is set by default to "none", so methods named none won't be JIT-compiled.

How to reproduce:

$ pry
[1] pry(main)> def none
[1] pry(main)* end  
=> nil
[2] pry(main)> 100_000.times { |_| none }
2013-08-14T22:30:28.399+03:00: JITCompiler: skipping method: Object#none:Object.none at (pry):1
=> 100000

Sakumatti Luukkonen
@sluukkonen

This comment has been minimized.

Copy link
Contributor Author

sluukkonen commented Aug 14, 2013

Related to floere/phony#99.

@BanzaiMan BanzaiMan closed this in 25edb17 Aug 15, 2013

@BanzaiMan

This comment has been minimized.

Copy link
Member

BanzaiMan commented Aug 15, 2013

Tweaked the commit message and merged. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.