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

Bug 351312

Summary: [CommunicationDiagram] High CPU loads if diagram is visible
Product: [Modeling] Papyrus Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: dhouib, yann.tanguy
Version: 0.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
This patch resolves the problem of CPU loads
none
This patch resolves the problem of CPU loads vincent.lorenzo: iplog+

Description Ansgar Radermacher CLA 2011-07-06 07:45:07 EDT
The CPU load rises, once a communication diagram with a least one arrow is visible. It seems that the figure is continuously redrawn (load on Java process as well as on X-server). The problem might be specific to X11 based systems, but is more likely a general problem.

Reproducible with 0.7.x and 0.8.x.

Steps to reproduce:
- Create a new communication diagram.
- Create two lifelines and a message between these
=> watch CPU load going up.
Comment 1 Ansgar Radermacher CLA 2011-07-07 09:07:23 EDT
Reproducible with Windows
Comment 2 saadia dhouib CLA 2011-07-12 10:13:19 EDT
Created attachment 199499 [details]
This patch resolves the problem of CPU loads

    * (1) I, Saadia Dhouib, wrote 100% of the code I've provided.
    * (2) This code contains no cryptography
    * (3) I have the right to contribute the code to Eclipse.
    * (4) I contribute the content under the EPL.
Comment 3 saadia dhouib CLA 2011-07-12 10:20:17 EDT
Created attachment 199501 [details]
This patch resolves the problem of CPU loads

* (1) I, Saadia Dhouib, wrote 100% of the code I've provided.
* (2) This code contains no cryptography
* (3) I have the right to contribute the code to Eclipse.
* (4) I contribute the content under the EPL.
Comment 4 Vincent Lorenzo CLA 2011-07-13 02:58:04 EDT
Comment on attachment 199501 [details]
This patch resolves the problem of CPU loads

Patch commited in R5031 on the branch
Comment 5 Vincent Lorenzo CLA 2011-07-13 10:03:03 EDT
Merge done with the trunk in R5041. This bug can be marked as closed.