Skip to content

JIT-compile methods named 'none'.#954

Closed
sluukkonen wants to merge 1 commit intojruby:masterfrom
sluukkonen:fix-jit-compile
Closed

JIT-compile methods named 'none'.#954
sluukkonen wants to merge 1 commit intojruby:masterfrom
sluukkonen:fix-jit-compile

Conversation

@sluukkonen
Copy link
Contributor

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

@sluukkonen
Copy link
Contributor Author

Related to floere/phony#99.

@BanzaiMan BanzaiMan closed this in 25edb17 Aug 15, 2013
@BanzaiMan
Copy link
Member

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants