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]

Re: Page faults and libgcj.so startup time



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



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