Hi there- Quite a while back I was posting about an SF citybuilder project of mine. It’s not quite dead yet, but I’ve run into a significant performance bottleneck on larger maps and I couldn’t seem to track down a consistent culprit for the slowdown.
Anyway, I ran the program under a couple of conditions using VisualVM and came up with the following fairly consistently:
http://s21.postimg.org/d5g65varr/Screen_shot_2015_05_09_at_18_38_16.png
Which seems to be pointing the finger at stuff LibGDX is doing internally. Now I know this is only happening on larger maps, so it’s probable that I’m inefficiently allocating some kind of repetitive task to the engine where the cost is only evident later in the update loop. But I don’t quite know enough about the engine to pinpoint how I might be misusing it. Do those methods look familiar to anyone?
(There are public releases of the game available at the second link, so if anyone wants to take a gander, feel free.)