Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1050

High CPU load when opening attribute editor with Eclipse Mars

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M11, 2.0.0-M12
    • Component/s: studio-schemaeditor
    • Labels:
      None
    • Environment:
      Eclipse Mars RC2
      ArchLinux
      1.8.0_45 64bit

      Description

      I tested Studio plugins in Eclipse Mars RC2. Opening the AttributeType editor takes about a minute with 100% CPU load.

      The thread dump show that filling the superior combo widget causes the problem. Probably the Eclipse widget has changed.

      This issue is just a reminder to check again with final Mars release.

      	at org.eclipse.swt.internal.gtk.OS._gtk_combo_box_text_insert(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_combo_box_text_insert(OS.java:7103)
      	at org.eclipse.swt.widgets.Combo.setItems(Combo.java:2044)
      	at org.eclipse.jface.viewers.ComboViewer.listSetItems(ComboViewer.java:144)
      	at org.eclipse.jface.viewers.AbstractListViewer.inputChanged(AbstractListViewer.java:329)
      	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
      	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1701)
      	at org.apache.directory.studio.schemaeditor.view.editors.attributetype.AttributeTypeEditorOverviewPage.fillSupCombo(AttributeTypeEditorOverviewPage.java:948)
      	at org.apache.directory.studio.schemaeditor.view.editors.attributetype.AttributeTypeEditorOverviewPage.fillInUiFields(AttributeTypeEditorOverviewPage.java:906)
      	at org.apache.directory.studio.schemaeditor.view.editors.attributetype.AttributeTypeEditorOverviewPage.createFormContent(AttributeTypeEditorOverviewPage.java:669)
      

        Activity

        Hide
        seelmann Stefan Seelmann added a comment -

        Not an issue with Eclispse Mars.2

        Show
        seelmann Stefan Seelmann added a comment - Not an issue with Eclispse Mars.2

          People

          • Assignee:
            Unassigned
            Reporter:
            seelmann Stefan Seelmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development