This is the mail archive of the java-patches@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]
Other format: [Raw text]

Re: [PATCH] enable double buffering on GtkCanvasPeer


>>>>> "graydon" == graydon hoare <graydon@redhat.com> writes:

graydon> if JNI is really super-expensive

JNI is pretty heavy.  BTW I like your numbers-driven approach.


How thin is the JNI layer?  If it could be auto-generated, then we
could auto-generate CNI native methods, eliminating the overhead.

That may not be a good idea if it comes at the expense of safety
though.  This is something SWT has problems with (pointer math in
java, eww).

Tom


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