background information
I've been in recent development of a game using LWJGL and I was curious as to how many frames per second I could get from running the game without using the Display.sync(60) function (Which limits fps to 60). Upon commenting out the code, I stumbled upon the game speed updating at 9000 some fps, which, in turn, made the game tick run 9 thousand times per second.
question
How should I implement a game timer to prevent the fps creating issues with how fast the game actually runs? I am aware I need to separate the two timers, but how/which way is the most efficient of going about doing so (in java)?