public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: set default library control to LIB_NEVER
@ 2006-05-31 15:44 Thomas Fitzsimmons
  2006-05-31 17:32 ` Tom Tromey
  2006-05-31 17:32 ` Tom Tromey
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Fitzsimmons @ 2006-05-31 15:44 UTC (permalink / raw)
  To: java-patches

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

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.

[-- Attachment #2: libgcj-disable-library-control.patch --]
[-- Type: text/x-patch, Size: 405 bytes --]

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();
   }

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-31 23:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 15:44 Patch: set default library control to LIB_NEVER Thomas Fitzsimmons
2006-05-31 17:32 ` Tom Tromey
2006-05-31 18:15   ` Bryce McKinlay
2006-05-31 23:15     ` Thomas Fitzsimmons
2006-05-31 17:32 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).