Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351312 - [CommunicationDiagram] High CPU loads if diagram is visible
Summary: [CommunicationDiagram] High CPU loads if diagram is visible
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 07:45 EDT by Ansgar Radermacher CLA
Modified: 2011-07-13 10:03 EDT (History)
2 users (show)

See Also:


Attachments
This patch resolves the problem of CPU loads (2.16 KB, application/octet-stream)
2011-07-12 10:13 EDT, saadia dhouib CLA
no flags Details
This patch resolves the problem of CPU loads (653 bytes, application/octet-stream)
2011-07-12 10:20 EDT, saadia dhouib CLA
vincent.lorenzo: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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.