Eclipse profiler

What’s the best one to use? I’ve never really dealt with a profiler before and need to. I have a bottleneck causing massive frame drops for a few seconds and I can’t figure out what the issue is.

“Massive frame drops for a few seconds” sounds like garbage collection to me. You’ll certainly be able to see that with VisualVM.

1 Like

try Shenandoah GC too. Never dropped a frame since we started using it :slight_smile: It’s the bomb.

Ok sweet thanks guys! I’ll check those out this weekend.

Do you use some direct byte buffers ? Java’s GC does not like them. Using class “org.lwjgl.system.MemoryUtil” solved the problems of stuttering for me.

Also, used VisualVM, works very well to track unnecessary objects instancing.

I don’t think I use any direct byte buffers, unless LibGDX uses them.