I recently wrote a little bowling game in Java.
I tried really hard to reuse my objects and avoid the new keyword.
However, sometimes (not all the time, mind you) I still get this little pause before the ball hits the pins.
I’m calling the garbage collector in between frames but I still see these little pauses every once in a while - very annoying!
How do I figure out what is causing this exactly? I don’t have much experience with profilers, etc.
Thanks,
Drew