C++ and Java CNI: Check Java references

Mark Mitchell mark@codesourcery.com
Tue Apr 24 15:35:00 GMT 2001


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

    Tom> Yeah, I agree.  What sort of performance penalty can we
    Tom> expect from that?

Small now, none later.  With the new C++ inliner, the penalties should
be very slight -- especially on those systems where you have an MMU
and so don't need to do the check.  In the future, the abstraction
penalty here should be completely eliminated.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Java mailing list