[PATCH] enable double buffering on GtkCanvasPeer

Tom Tromey tromey@redhat.com
Fri Jul 18 17:25:00 GMT 2003


>>>>> "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



More information about the Java-patches mailing list