[Bug libgcj/9125] VMClassLoader should cache the result of Runtime.(internal)loadLibrary()
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 20 15:32:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9125
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-08-20 15:32 -------
Subject: Bug 9125
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2003-08-20 15:32:23
Modified files:
libjava : ChangeLog
libjava/gnu/gcj/runtime: VMClassLoader.java natVMClassLoader.cc
Log message:
Fix for PR libgcj/9125:
* gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
object outside of loop. Respect lib_control setting.
* gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
field.
(lib_control): New field.
(LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
(VMClassLoader): Initialize new field.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2107&r2=1.2108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/VMClassLoader.java.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/natVMClassLoader.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2
More information about the Gcc-bugs
mailing list