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: Fibonacci and performance


Per wrote:
> What I forgot was that we do the Jv_InitClass at the start of the
> called method, not at the call site.  This saves code space, but
> it makes it harder to optimize the call away when it is unneeded.
> We might re-consider this decision if/when we get smarter about
> initialization.

Andrew Haley's suggestion from a while back was to implement two
entry-points into a method (with and without _Jv_InitClass).

I don't know if GCC's infrastructure supports this yet.

AG


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