JAL-2865 unhelpful System.gc() calls removed bug/JAL-2865removeGC
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 10 Jan 2018 15:30:27 +0000 (15:30 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 10 Jan 2018 15:30:27 +0000 (15:30 +0000)
src/jalview/appletgui/OverviewCanvas.java
src/jalview/gui/AlignFrame.java
src/jalview/gui/Desktop.java
src/jalview/gui/OverviewCanvas.java

index 9597b44..ecc90b8 100644 (file)
@@ -132,7 +132,6 @@ public class OverviewCanvas extends Component
               od.getColumns(av.getAlignment()));
       mg.translate(0, -od.getSequencesHeight());
     }
-    System.gc();
 
     if (restart)
     {
index 298688b..c8de714 100644 (file)
@@ -1826,7 +1826,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   @Override
   protected void copy_actionPerformed(ActionEvent e)
   {
-    System.gc();
     if (viewport.getSelectionGroup() == null)
     {
       return;
index 128481c..569c105 100644 (file)
@@ -899,8 +899,6 @@ public class Desktop extends jalview.jbgui.GDesktop
           menuItem.removeActionListener(menuItem.getActionListeners()[0]);
         }
         windowMenu.remove(menuItem);
-
-        System.gc();
       };
     });
 
@@ -1388,7 +1386,6 @@ public class Desktop extends jalview.jbgui.GDesktop
     {
       ssm.resetAll();
     }
-    System.gc();
   }
 
   @Override
index 2991889..34fbc97 100644 (file)
@@ -161,7 +161,6 @@ public class OverviewCanvas extends JComponent
               od.getColumns(av.getAlignment()));
       mg.translate(0, -od.getSequencesHeight());
     }
-    System.gc();
 
     or.removePropertyChangeListener(progressPanel);
     or = null;