stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirmal Fernando (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STRATOS-452) While(true); loops cause CPU to spin
Date Mon, 17 Feb 2014 12:37:19 GMT

    [ https://issues.apache.org/jira/browse/STRATOS-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903184#comment-13903184
] 

Nirmal Fernando commented on STRATOS-452:
-----------------------------------------

A spinning issue in CEP extension - faultMemberHandler, committed in revision 9f52ce66c7eb7f50528fdd35c11ba72a3167a9dd

> While(true); loops cause CPU to spin
> ------------------------------------
>
>                 Key: STRATOS-452
>                 URL: https://issues.apache.org/jira/browse/STRATOS-452
>             Project: Stratos
>          Issue Type: Bug
>    Affects Versions: 4.0.0 M7
>            Reporter: Nirmal Fernando
>            Assignee: Nirmal Fernando
>            Priority: Blocker
>             Fix For: 4.0.0 Alpha
>
>
> Please keep in mind not to use mere while true loops in code, which leads to CPU spinning
issues.
> If you ever want to write an empty while true loop, please add a Thread.sleep at least.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message