Hi,

I have now tried to force another way of garbage collection in several
ways, including the one Pete mentions below, but I still experience serious
delays and pauses in my animations that were not there before in JDK1.1.

It seems like if you have a very powerful system (PII 350Mhz+) the JVM
manages to achieve a smooth framerate even in Java 1.2, but I'm very
disappointed.
Isn't Java 2 supposed to make Java perform better as a multimedia platform,
not worse? I hope Sun will fix this problem instead of concentrating on
making new API addons. I hope you all agree stable and good performing APIs
are more important than a new API every week.

Does anyone experience the same problem on other systems than the Windows
platform? I'm talking about jerky movement, or random pauses, in an
otherwise smooth running animation, probably because of garbage collection
of internal garbage created by the JVM itself?

Regards,

- Tonny

>
>You could try setting the flag using the
>AppletViewer's -J flag, which can be used to pass flags to the JVM. In this
>case you would use -J-Xincgc. I must admit, though, I don't think the news
>is good. When I run the 'Waves' benchmark from
>http://rsb.info.nih.gov/ij/applet/ on the Mandril image, I get ~14.5fps
>using JDK 1.1.7B, with no pauses (I'm careful to make sure no other windows
>overlap the Mandril image window). When I run the same thing using 1.2.1
>Hotspot with the -Xincgc flag, I get ~9 fps, and pauses. Given that Hotspot
>was supposed to fix the garbage collection problem, this is worrisome.
>
>Cheers,
>Pete
>
>--
>Pete Cockerell
>California, USA
>http://216.102.89.91
>


Plutonium Software
http://www.plutoniumsoftware.com

Reply via email to