[Issue 6457] Infinite loop in positioning element

[email protected] Thu, 28 Feb 2013 05:58:01 -0800 (PST)
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6457






------- Additional comments from [email protected] Thu Feb 28 05:58:01 -0800 2013 -------
I also tried on faster computer (3.2GHz dual core 3.5Gb RAM) and as you i can't 
reproduce the issue.
Then i write a small programme to load strongly my CPU.

private int[] m_Array = new int[100000];
private void LoadCpuAndMemory() {
 while (true) {
  for (int i = 0; i < m_Array.Length; i++) {
   m_Array[i]++;
   if (m_bStop) break;
  }
  if (m_bStop) break;
  for (int i = 0; i < m_Array.Length; i++) {
   m_Array[i]--;
   if (m_bStop) break;
  }
  if (m_bStop) break;
 }
}

I make this method runned by 4 thread and then the bug appear.
See the attached video.

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=3050041

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.