felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-961) 100% CPU looping inside uses calculation
Date Thu, 26 Feb 2009 15:45:01 GMT

    [ https://issues.apache.org/jira/browse/FELIX-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677042#action_12677042

Stuart McCulloch commented on FELIX-961:

FWIW, I believe Equinox now attempts the correct algorithm for a certain period and then switches
to a less accurate "best-effort" approach if it takes too long.

> 100% CPU looping inside uses calculation
> ----------------------------------------
>                 Key: FELIX-961
>                 URL: https://issues.apache.org/jira/browse/FELIX-961
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.4.1
>            Reporter: Stuart McCulloch
>            Assignee: Richard S. Hall
>         Attachments: USES_TESTCASE.zip, USES_TESTCASE2.zip
> While investigating a problem report against pax-runner (http://article.gmane.org/gmane.comp.java.ops4j.general/6778)
I found it was actually caused by a 100% CPU loop inside the "uses" calculation code. In Felix
1.4.1 this was stopping the shell bundle from activating, hence the lack of console. Using
the trunk build I can get a console, but the looping still occurs with the testcase.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message