solib: URL patch
Bryce McKinlay
bryce@mckinlay.net.nz
Thu Aug 14 00:18:00 GMT 2003
On Thursday, Aug 14, 2003, at 12:01 Pacific/Auckland, Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>> Andrew> I didn't realize that we'd agreed to load .so files privately
> Andrew> (instead of RTLD_GLOBAL).
>> Actually, yeah, that is a new idea. It does seem like the only way to
> get correct semantics out of the new URL type.
With the new ABI fully implemented it shouldn't matter much whether you
load them with RTLD_GLOBAL or not. After all, a class in an .so will
just boil down to some constant pool data plus a table containing
pointers to the (private symbols) of the method implementations, right?
Its how those classes get registered with the classloader when the
library is opened that matters.
Regards
Bryce.
More information about the Java
mailing list