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

High CPU load when opening attribute editor with Eclipse Mars

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M11, 2.0.0-M12
    • studio-schemaeditor
    • None
    • 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)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: