directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1211595 - in /directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io: api/DirectoryApiConnectionWrapper.java jndi/JNDIConnectionWrapper.java
Date Wed, 07 Dec 2011 18:53:55 GMT
Author: pamarcelot
Date: Wed Dec  7 18:53:55 2011
New Revision: 1211595

URL: http://svn.apache.org/viewvc?rev=1211595&view=rev
Log:
Fix for DIRSTUDIO-658 (Exiting Directory Studio consumes CPU for couple of minutes).
Removed System.gc() calls.

Modified:
    directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
    directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java

Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java?rev=1211595&r1=1211594&r2=1211595&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
(original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Wed Dec  7 18:53:55 2011
@@ -288,7 +288,6 @@ public class DirectoryApiConnectionWrapp
             ldapConnection = null;
         }
         isConnected = false;
-        System.gc();
     }
 
 
@@ -1123,7 +1122,6 @@ public class DirectoryApiConnectionWrapp
                             }
                             isConnected = false;
                             ldapConnection = null;
-                            System.gc();
                         }
                         isConnected = false;
                     }

Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java?rev=1211595&r1=1211594&r2=1211595&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
(original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
Wed Dec  7 18:53:55 2011
@@ -240,7 +240,6 @@ public class JNDIConnectionWrapper imple
             context = null;
         }
         isConnected = false;
-        System.gc();
     }
 
 
@@ -1270,7 +1269,6 @@ public class JNDIConnectionWrapper imple
                             }
                             isConnected = false;
                             context = null;
-                            System.gc();
                         }
                         isConnected = false;
                     }



Mime
View raw message