[Bug libgcj/17738] New: Binary Compatibility: _Jv_FindClassInCache

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 29 20:54:00 GMT 2004


Right now I think interpreted classes and other things
loaded by the system class loader are stored in the
internal class cache.

First, this seems incorrect.  I think it would be better
to use this only for classes that are linked into the
application and thus registered before the VM has been
brought up.  Once the VM is up, new classes should be
registered with the system ClassLoader (via the loadedClasses
map).

Second, I believe we do multiple calls to _Jv_FindClassInCache
when trying to load a class.  With the change above we should
only need one, at the very lowest level of the search.

-- 
           Summary: Binary Compatibility: _Jv_FindClassInCache
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17738



More information about the Gcc-bugs mailing list