This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Page faults and libgcj.so startup time
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Page faults and libgcj.so startup time
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 30 Mar 2001 17:03:26 -0500 (EST)
- cc: java at gcc dot gnu dot org
I wrote:
> Also, apart from dynamic linking, it appears that _Jv_RegisterClass causes
> the class argument to be dereferenced as a side effect, which
> probably defeats the purpose of clustering the constructors in one
> section. That could be avoided by having the compiler precompute the class
> hash, which might be a worthwhile optimization in its own right.
Sorry, I ignored the part where you grouped the class and UTF data in
their own sections as well.
Regardless, a precomputed hash may be more efficient yet.
Jeff