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

Tom Tromey tromey@redhat.com
Tue Jan 29 11:37:00 GMT 2002


>>>>> "Tuomas" == Tuomas Leikola <tuomas.leikola@digia.com> writes:

Tuomas> unless devirtualization can assume the class is already
Tuomas> initialized, and it most of all enables the inliner to do it's
Tuomas> stuff.

For any virtual call we already know the class is initialized -- the
class has to have been initialized for an instance of it to exist.
Devirtualizing such a call won't affect this.

Tom



More information about the Java mailing list