about non-compatible optimization (was: Re: patch to bring java vtables closer to g++ abi conformance)

Tom Tromey tromey@redhat.com
Mon Jan 28 21:19:00 GMT 2002


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> In fact a virtual method call (in a loop) in GCJ is *faster*
Bryce> than a static method call (in Java or C).

This is very interesting, because it means that even if we can
devirtualize a method call (via the eventual AST code), we might not
want to in certain situations.

Tom



More information about the Java mailing list