Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0beta8, 6.0.0beta9, 6.0.0beta10, 6.0.0beta11, 6.0.0beta12, 6.0.0beta14, 6.0.0beta15, 6.0.0beta16, 6.0.0beta17, 6.0.0beta18, 6.0.0RC0, 6.0.0rc1, 6.0.0rc2, 6.0.0rc3, 6.0.0rc4, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.1.0pre0, 6.1.0pre1, 6.1.0pre2, 6.1.0pre3, 6.1.0rc0, 6.1.0rc1, 6.1.0rc2, 6.1.0rc3, 6.1.0, 6.1.1rc0, 6.1.1rc1, 6.1.1, 6.1.2rc0
-
Fix Version/s: 6.1.2rc2
-
Component/s: Continuations
-
Labels:None
-
Environment:jdk1.5 gentoo-linux
-
Number of attachments :
Description
continuation may cause 100%cpu occasionally.
sun.nio.ch.SelectorImpl.select(long) invoked 314658 times in 16889ms ! (see the YourKit snapshot )
may be the blocking Selector.select method stop blocking occasionally.
CODE SelectorManager.doSelect [
if (wait > 0)
_selector.select(wait); <====================== may return immediately.
else if (wait == 0)
_selector.selectNow();
else
_selector.select();
]
suggest code [
if (wait > 0)
else if (wait == 0)
_selector.selectNow();
else
_selector.select();
]
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Greg Wilkins [ gregw ] |
Greg Wilkins
made changes -
| Fix Version/s | 6.1.2rc2 [ 13310 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Greg Wilkins
made changes -
| Comment |
[ This is a wonderful opinion. The things mentioned are unanimous and
needs to be appreciated by everyone. ______________________ jamesmatthew363 <a href="http://www.servetechnology.com" rel="dofollow">Serve Technology</a> ] |