generic type support

Tom Tromey tromey@redhat.com
Wed Feb 19 21:09:00 GMT 2003


>> Come generics, GCJ would only need to support it at a bytecode level.

Andrew> I on't know about that.  I would have thought that there are
Andrew> tremendous opportunities for optimization with the added type
Andrew> information.

I read a paper about java generics last year.  Their approach requires
the insertion of checkcast calls, even though they are known to always
succeed.  We could omit these checks from the object code.

Tom



More information about the Java mailing list