> Here's one improvement. If you can get rid of the places in the GTK peers > where class and method lookups are performed at runtime you'll probably > have a fix. This shouldn't be a massive amount of work, just rather > boring. > > In gcj, > > * Compiled java code is quite fast. > * Class lookup by name is slow. > * Calling JNI code from compiled java code is quite fast. > * Calling compiled java code from JNI code is slow. > * Exceptions are slow. > > Andrew. > > Hi Andrew, I tried your improvement but now I'm getting Segmentation Fault whenever I execute any GUI application. (Non-gui code is working fine) Do you have any idea to investigate this problem? Thank you, Francesco