Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10028

JBoss Central Editor Maximize/Restore actions freeze UI and loads CPU

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.3.0.M4
    • Fix Version/s: 3.3.0.M4
    • Component/s: central
    • Labels:
      None
    • Environment:
      Linux GTK x86
    • Steps to Reproduce:
      Hide

      EXEC: Start Eclipse with Installed JBT
      ASSERT: JBoss Central is visible and UI is responsive
      EXEC: Maximize JBoss Cenrtall Editor
      ASSERT: UI is responsive
      EXEC: Minimized JBoss Central Editor
      ASSERT: UI is responsive

      Show
      EXEC: Start Eclipse with Installed JBT ASSERT: JBoss Central is visible and UI is responsive EXEC: Maximize JBoss Cenrtall Editor ASSERT: UI is responsive EXEC: Minimized JBoss Central Editor ASSERT: UI is responsive

      Description

      After any operation related to Maximize/Restore UI is freezes for noticeable time, one CPU is loaded 100% and after some time OS ask about killing eclipse window. After any EXEC: step in test case UI is freezes. Always reproducible.

        Gliffy Diagrams

        1. animatedgif.patch
          4 kB
          Snjezana Peco
        2. projectExamples.patch
          5 kB
          Snjezana Peco
        3. projectExamples1.patch
          3 kB
          Snjezana Peco
        4. stacktrace.txt
          23 kB
          Denis Golovin

          Activity

          Hide
          maxandersen Max Rydahl Andersen added a comment -

          This patch: https://source.jboss.org/changelog/JBossTools?cs=36025 breaks Project Examples.

          When expanding the node it does not show any examples - I have to expand the nodes, then press refresh and then sometime they show up.

          If I rever the code to what was before the patch above things work again (but of course much slower

          Show
          maxandersen Max Rydahl Andersen added a comment - This patch: https://source.jboss.org/changelog/JBossTools?cs=36025 breaks Project Examples. When expanding the node it does not show any examples - I have to expand the nodes, then press refresh and then sometime they show up. If I rever the code to what was before the patch above things work again (but of course much slower
          Hide
          ldimaggio Len DiMaggio added a comment - - edited

          Just watching the slow-down - it really is obvious - from vmstat:

          procs ----------memory--------- --swap- ----io--- -system- ----cpu----
          r b swpd free buff cache si so bi bo in cs us sy id wa st
          0 0 211400 1157952 57524 641020 11 8 55 45 15 1 12 2 84 2 0
          1 0 211400 1158472 57524 640936 0 0 0 0 1592 3530 13 2 85 0 0
          0 0 211652 1143916 57512 640664 0 126 0 134 1434 2755 12 1 87 0 0
          1 0 211652 1120412 57520 652964 0 0 0 18 1676 3335 16 2 82 1 0
          0 0 211648 1157592 57520 642184 0 0 0 0 1791 4258 13 2 85 0 0
          2 0 211648 1159080 57528 641068 0 0 0 68 1556 3303 12 2 85 1 0
          0 1 211644 1135780 57372 648976 0 0 2 10 1556 3323 13 2 84 0 0
          1 0 211644 1143132 57472 640308 0 0 58 0 1450 3738 11 2 86 1 0
          2 0 211644 1140088 57480 640848 0 0 0 30 1506 3025 13 1 85 1 0
          2 0 211640 1160556 57488 639924 0 0 0 10 2585 2881 37 1 62 0 0 <---- Starts here
          1 0 211636 1159896 57488 640788 0 0 0 2 2353 3330 33 1 66 0 0
          3 0 211636 1144100 57488 640228 0 0 0 24 2297 2438 34 1 65 1 0
          1 0 211636 1143244 57496 640128 0 0 0 12 2126 2299 32 1 67 0 0
          1 0 211632 1140048 57496 641292 0 0 0 0 1564 3265 13 2 85 0 0

          Show
          ldimaggio Len DiMaggio added a comment - - edited Just watching the slow-down - it really is obvious - from vmstat: procs ---------- memory --------- -- swap - ---- io --- - system - ---- cpu ---- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 211400 1157952 57524 641020 11 8 55 45 15 1 12 2 84 2 0 1 0 211400 1158472 57524 640936 0 0 0 0 1592 3530 13 2 85 0 0 0 0 211652 1143916 57512 640664 0 126 0 134 1434 2755 12 1 87 0 0 1 0 211652 1120412 57520 652964 0 0 0 18 1676 3335 16 2 82 1 0 0 0 211648 1157592 57520 642184 0 0 0 0 1791 4258 13 2 85 0 0 2 0 211648 1159080 57528 641068 0 0 0 68 1556 3303 12 2 85 1 0 0 1 211644 1135780 57372 648976 0 0 2 10 1556 3323 13 2 84 0 0 1 0 211644 1143132 57472 640308 0 0 58 0 1450 3738 11 2 86 1 0 2 0 211644 1140088 57480 640848 0 0 0 30 1506 3025 13 1 85 1 0 2 0 211640 1160556 57488 639924 0 0 0 10 2585 2881 37 1 62 0 0 <---- Starts here 1 0 211636 1159896 57488 640788 0 0 0 2 2353 3330 33 1 66 0 0 3 0 211636 1144100 57488 640228 0 0 0 24 2297 2438 34 1 65 1 0 1 0 211636 1143244 57496 640128 0 0 0 12 2126 2299 32 1 67 0 0 1 0 211632 1140048 57496 641292 0 0 0 0 1564 3265 13 2 85 0 0
          Hide
          snjeza Snjezana Peco added a comment -

          Len,

          Could you please try to reproduce the issue in the next build?

          Show
          snjeza Snjezana Peco added a comment - Len, Could you please try to reproduce the issue in the next build?
          Hide
          ldimaggio Len DiMaggio added a comment -

          Of course!

          Show
          ldimaggio Len DiMaggio added a comment - Of course!
          Hide
          rhopp Radim Hopp added a comment -

          Verified in JBT 3.3.0.M4a

          Show
          rhopp Radim Hopp added a comment - Verified in JBT 3.3.0.M4a

            People

            • Assignee:
              snjeza Snjezana Peco
              Reporter:
              dgolovin Denis Golovin
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development