never seen a guide or anything myself. might exist of course
just make some screenshots and ask here I suppose. But dont worry, it is confusing by nature =D
Am reading a “classic” – Brackeen’s Developing Games in Java. Don’t know how much of it is out of date (almost 10 years old!), but there is an entire chapter (chapter 16) devoted to optimization techniques. The very first rule of thumb will appeal to many here:
[quote]Don’t optimize! First, attempt to create code that is easier to read, maintain, and modify.
[/quote]
There is a guide to using the HotSpot profiler. I haven’t tried it yet. It uses the flag -Xprof. Maybe the jconsole.exe and jvisualvm.exe produce the equivalent reports? Both of those tools do have documents printed on how to use them. But, in contrast, the description/example in Brackeen is oriented to our game making needs.
Another BIG bonus is that he explains a technique for measuring and tuning the GC.
It would be outstanding, imho, if someone “reviewed” this chapter, gave a thumbs up/down on the current value of the various suggestions.