From b7d6f12a4f4670c226da1c5dd175622de1d703fe Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 20 Aug 2003 15:33:28 +0000 Subject: gcj.texi (Extensions): Added xref. * gcj.texi (Extensions): Added xref. (libgcj Runtime Properties): Document gnu.gcj.runtime.VMClassLoader.library_control. From-SVN: r70601 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/gcj.texi | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index a2ec2e5..fa23642 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2003-08-20 Tom Tromey + + * gcj.texi (Extensions): Added xref. + (libgcj Runtime Properties): Document + gnu.gcj.runtime.VMClassLoader.library_control. + 2003-08-13 Tom Tromey * gcj.texi (Invoking gij): Document -X and -?. diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index edce092..fc22329 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -543,7 +543,9 @@ all @samp{.}s will be transformed into @samp{-}s and that searching for inner classes starts with their outermost outer class. If the class cannot be found this way the system classloader tries to use the @code{libgcj} bytecode interpreter to load the class from the standard -classpath. +classpath. This process can be controlled to some degree via the +@code{gnu.gcj.runtime.VMClassLoader.library_control} property; +@xref{libgcj Runtime Properties}. @end itemize @node Invoking gcjh @@ -2247,6 +2249,14 @@ Whether an external process (@command{addr2line} or @command{addr2name.awk}) should be used as fallback to convert the addresses to function names when the runtime is unable to do it through @code{dladdr}. +@item gnu.gcj.runtime.VMClassLoader.library_control +This controls how shared libraries are automatically loaded by the +built-in class loader. By default, or if this property is set to +@samp{full}, a full search is done for each requested class. If this +property is set to @samp{cache}, then any failed lookups are cached +and not tried again. If this property is set to @samp{never}, then +lookups are never done. For more information, @xref{Extensions}. + @end table -- cgit v1.1