Re: [GCJ] Performance of GUI applications on embedded systems

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.java.classpath.devel
Message-ID <[email protected]>
ffileppo wrote:
>> 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.

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

It didn't do that to me.

Where does the segfault occur?
Do you still get the segfault after backing out the patch?

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.