This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]