This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: set default library control to LIB_NEVER
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 31 May 2006 11:44:31 -0400
- Subject: Patch: set default library control to LIB_NEVER
Hi,
This patch sets the default library control to LIB_NEVER. This saves many
failed access() and open() calls for large applications like Eclipse.
Applications that still need the old library control can define the
gnu.gcj.runtime.VMClassLoader.library_control system property to "cache".
OK to commit?
Tom
2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/lang/VMClassLoader.java (initialize): Set default library
control to LIB_NEVER.
Index: java/lang/VMClassLoader.java
===================================================================
--- java/lang/VMClassLoader.java (revision 114136)
+++ java/lang/VMClassLoader.java (working copy)
@@ -309,7 +309,7 @@
else if ("full".equals(p))
lib_control = LIB_FULL;
else
- lib_control = LIB_CACHE;
+ lib_control = LIB_NEVER;
tried_libraries = new HashSet();
}