This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: solib: URL patch


Tom Tromey writes:
 > >>>>> "Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:
 > 
 > Bryce> With the new ABI fully implemented it shouldn't matter much whether
 > Bryce> you load them with RTLD_GLOBAL or not. After all, a class in an .so
 > Bryce> will just boil down to some constant pool data plus a table containing
 > Bryce> pointers to the (private symbols) of the method implementations,
 > Bryce> right? Its how those classes get registered with the classloader when
 > Bryce> the library is opened that matters.
 > 
 > You know, I never thought about that.  Weird.  I was just assuming
 > we'd keep on generating public symbols like we do now.  But of course
 > we don't need to do that.

Within libgcj, I would expect we'd want to use relative jumps as much
as possible and avoid indirections.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]