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] Updated: (FELIX-961) 100% CPU looping inside uses calculation
Date Wed, 25 Feb 2009 07:15:01 GMT

     [ https://issues.apache.org/jira/browse/FELIX-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stuart McCulloch updated FELIX-961:

    Attachment: USES_TESTCASE.zip

The attached testcase (Felix + config + bundles) reproduces the uses calculation problem while
reducing the amount of bundles from the original testcase (which also included Spring-DM).
Note the problem is a bit intermittent, but isn't rare.

Adding more bundles to the testcase increases the chance of the problem occurring.

> 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
>         Attachments: USES_TESTCASE.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