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 11:42:19 GMT

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

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

I've identified them and fixed in commits; 8c2a02374494d4eb017e2ecff09852
341606d4d0, ff962936a870590b8f1a722f1e56f4
f05207770e, 3fd80640b2dc49f6107b9c90f39581
7235c4667d 

> 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