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

Thread poll may raise exceptions, but IR doesn't like it #2261

Closed
headius opened this issue Dec 2, 2014 · 1 comment
Closed

Thread poll may raise exceptions, but IR doesn't like it #2261

headius opened this issue Dec 2, 2014 · 1 comment
Labels

Comments

@headius
Copy link
Member

headius commented Dec 2, 2014

thread_poll definitely is expected to raise exceptions. That's really all it does.

~/projects/jruby $ jruby -rtimeout -e "Timeout.timeout(2) { 1 while 1 }"
Timeout::Error: execution expired

~/projects/jruby $ jruby -X-C -rtimeout -e "Timeout.timeout(2) { 1 while 1 }"
ERROR: Got exception org.jruby.exceptions.RaiseException: (null) execution expired but instr thread_poll is not supposed to be raising exceptions!
Timeout::Error: execution expired
@headius headius added this to the JRuby 9.0.0.0 milestone Dec 2, 2014
@headius headius added the ir label Dec 2, 2014
@subbuss
Copy link
Contributor

subbuss commented Jan 13, 2015

@headius @enebo Let us chat about this tomorrow .. This may need fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants