garbage collection take too much time to execute....

Andrew Haley aph@redhat.com
Wed Jun 18 10:37:00 GMT 2008


- - wrote:
> Hi,
> I found a strange behaviour on code generated by gcj when compare its output with code generated by eclipse.
>> Mainly the code generated by gcj take too much time to perform a memory garbage collection (about 5 seconds) instead of only 15 milliseconds of byte code generated by eclipse.
>> The problem seems to happens when there are canvas and transform operations. I attach a simple snippet code that write a vertical text on canvas in order to reproduce the behaviour.
>> The gcj compiler I use is:
> $ gcj --version
> gcj.exe (GCC) 3.4.5 (mingw-vista special r3)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> with the swt version 3349: "swt-gdip-win32-3349.dll" and "swt-win32-3349.dll"
>> I'm new of this discussion list, hoping not annoy you. It is a trouble or it is just a mistake on usage of transform?
> thanks you,

I addition to what Hans said, I have to tell you that gcj 3.4.x is so old
that it's very unlikely that anyone will want to fix any problems.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /