Monitor raises MonitorMixin::ConditionVariable::Timeout on Windows when 
processor is starved
--------------------------------------------------------------------------------------------

                 Key: JRUBY-4507
                 URL: http://jira.codehaus.org/browse/JRUBY-4507
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: windows xp sp 3
            Reporter: Doug Bradbury
            Assignee: Thomas E Enebo
            Priority: Minor
         Attachments: monitor_bug.zip

to reproduce with attached:
1)  on a windows xp machine, run instances of eat_proc.rb until processor usage 
in near 100%
2) run the spec in monitor_bug.rb

Eventually this error will be raised

1)
MonitorMixin::ConditionVariable::Timeout in 'monitor malfunction should loop a 
lot'
MonitorMixin::ConditionVariable::Timeout
./monitor_bug.rb:21:in `start'
./monitor_bug.rb:20:in `start'
./monitor_bug.rb:17:in `initialize'
./monitor_bug.rb:17:in `new'
./monitor_bug.rb:17:in `start'
./monitor_bug.rb:79:
./monitor_bug.rb:75:in `times'
./monitor_bug.rb:75:
file:/C:/devroot/pcres4/lib/jruby-complete-1.4.0.jar!/jruby/commands.rb:12:in 
`spec'
spec:1:

I expect that in a processor starved situation that this spec might fail, but I 
don't think that any situation should cause the 
MonitorMixin::ConditionVariable::Timeout should ever bubble up to the caller of 
wait.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to