No, it's not wrong. It's just the best way of avoiding GC runs in your code.
A game is not like most software out there. A lot of the time modern
design patterns have to be thrown out the window just for performance
and usability.
Sure it would be nice if the GC were faster and more efficient (
On Tue, Oct 19, 2010 at 6:16 PM, Miguel Morales wrote:
> Sometimes, on devices such as a G1 there is still a GC that occurs
> once around every minute due to background system services.
>
Those GCs are not in your process; as of 1.6 such GCs in a background
process can not together take more than
Sometimes, on devices such as a G1 there is still a GC that occurs
once around every minute due to background system services.
However, there is plenty you can do in your own code to avoid GC runs.
The first thing I recommend watching is this google presentation:
http://www.google.com/events/io/20
3 matches
Mail list logo