Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350514 - High CPU-load in idle mode
Summary: High CPU-load in idle mode
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0.0.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 02:30 EDT by Steffen Kriese CLA
Modified: 2011-07-01 02:05 EDT (History)
0 users

See Also:


Attachments
Patch for the Riena Exampleclient (3.49 KB, patch)
2011-06-28 02:34 EDT, Steffen Kriese CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kriese CLA 2011-06-28 02:30:56 EDT
While a Riena-Application is running its CPU-load is constantly getting higher. 

Steps to reproduce:
- Start the Riena-ExampleClient in debug mode
- Go to the debug persepective
- Have a look at the Debug-View: There should be about 8 worker-threads runnning.
- Open the Windows Task-Manager and check the CPU load of the runnning application. It should be 0 %
- Wait for at least 15 - 30 minutes and keep the application runnning
- The number of working threads is growing without any interaction with the application!
- Also the CPU-load in the Windows Task-Manager is getting higher and higher. On my machine to about 11 % after 15 minutes.

This could be related to Bug 348681, because if we start UIProcesses the CPU-load seems to increase faster.
Comment 1 Steffen Kriese CLA 2011-06-28 02:34:39 EDT
Created attachment 198706 [details]
Patch for the Riena Exampleclient

This is the patch from Bug #348681

It seems that starting UIProcesses increases the CPU-load. To reproduce:

- Apply the patch
- Start the ExampleClient in debug mode
- Go to Playground => UIProcess
- Switch between the submodules Demo1 and uiProcess_2 and check the number of worker threads in the debug view
Comment 2 Steffen Kriese CLA 2011-06-30 04:59:50 EDT
Fixed in HEAD.

The list of JobChangeListeners for each job grew over the time and slowed down the application.