This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/24125] New: use dlmopen to avoid copying .so
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 29 Sep 2005 16:59:05 -0000
- Subject: [Bug libgcj/24125] New: use dlmopen to avoid copying .so
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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