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