Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350514

Summary: High CPU-load in idle mode
Product: [RT] Riena Reporter: Steffen Kriese <steffen.kriese>
Component: CoreAssignee: Project Inbox <riena.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: 4.0.0.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for the Riena Exampleclient none

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.