This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: C++ and Java CNI: Check Java references
Jason Merrill writes:
> Just to be pedantic, it's impossible to eliminate the abstraction penalty
> when the ABI is different for passing a pointer v. a smart pointer. But if
> you can inline most of the uses it shouldn't be a big deal.
We can't inline many of the uses because we just don't have the
technology to inline C++ routines in Java routines.
It's a cool idea, though!
Andrew.