libjava status on Solaris 8/Intel and IRIX 6.5

Tom Tromey tromey@redhat.com
Tue Mar 26 15:13:00 GMT 2002


>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:

Adam> What's the advantage to using template-references instead of
Adam> pointers? Non-conservative GC, perhaps? What else?
Andrew> Inline reference checks, mostly.
Adam> Can't the gcc equivalent of the JVM's 'CheckClassCast' be inlined?
Andrew is really referring to null pointer checks here, not cast
checking. The problem is if you write CNI code on MMU-less platforms,
then you have to insert manual null pointer checks in your code. This
is hard to maintain. So one idea is to use ref<> instead and then let
the wrapper template do the checking on such platforms.
Whether this will happen depends heavily on demand. For instance, I'm
very unlikely to do anything about it unless Red Hat gets a contract
for it. I simply don't use such systems in my "normal" life.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /