Re: Disable Garbage Collection in Web Start
From: Dan Hinojosa (dhinojosa-squigglything-evolutionnext-dot-com)
Date: 02/24/05
- Next message: none: "Re: searching for yoda - a developer's tale"
- Previous message: grz01_at_spray.se: "Re: Java String comparison"
- In reply to: guyzdancin: "Re: Disable Garbage Collection in Web Start"
- Next in thread: Dan Hinojosa: "Re: Disable Garbage Collection in Web Start"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Feb 2005 15:14:49 -0700
guyzdancin wrote:
> There is actually a very good reason to stop the garbage collector.
> The application runs an animation of buffered images that are timed to
> run at a specific speed. If gc() runs during the animation, it slows
> down the animation or causes it to stop (like hitting a bump). When
> the application is run locally as an installed app, the garbage
> collector is disabled at the command line (-Xnoclassgc) and System.gc()
> is called at pauses in the animation. Bob, do you have a constructive
> answer?
>
GC runs on a low priority thread so if you are so concerned about that
issue you can try bumping up the priority of your animation thread
higher. I have never heard of stopping the garbage collector though.
- Next message: none: "Re: searching for yoda - a developer's tale"
- Previous message: grz01_at_spray.se: "Re: Java String comparison"
- In reply to: guyzdancin: "Re: Disable Garbage Collection in Web Start"
- Next in thread: Dan Hinojosa: "Re: Disable Garbage Collection in Web Start"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|