1
Support / Java Game Programming Question
« on: February 20, 2009, 06:47:44 am »
Hi guys,
I know this forum isn't for Java in general, but I thought since so many of you are working on games, I might as well ask here.
Every once in a while, my applet will hang for a couple seconds. Then continue on fine. I can't really figure out the cause of it. I thought it was maybe a synchronization thing so I tried adding synchronized blocks, but they haven't helped.
Could it be the garbage collector? There are a lot of objects that get orphaned during the course of the game, so could this be a possibility?
Thanks,
Ken
I know this forum isn't for Java in general, but I thought since so many of you are working on games, I might as well ask here.
Every once in a while, my applet will hang for a couple seconds. Then continue on fine. I can't really figure out the cause of it. I thought it was maybe a synchronization thing so I tried adding synchronized blocks, but they haven't helped.
Could it be the garbage collector? There are a lot of objects that get orphaned during the course of the game, so could this be a possibility?
Thanks,
Ken