[Bug libgcj/24125] New: use dlmopen to avoid copying .so

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 29 16:59:00 GMT 2005


Currently, SharedLibHelper will make a copy of a .so in some situations.
Specifically, this happens if the .so has already been opened by a
different class loader.

On systems that support it, we could (perhaps) use the dlmopen() call to avoid
this copy.  This would be more efficient.  Note that this comes from Solaris
but has recently been implemented in glibc; it appears in FC4.

-- 
           Summary: use dlmopen to avoid copying .so
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          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=24125



More information about the Gcc-bugs mailing list