97% of time in "org.lwjgl.opengl.MacOSXContextImplementation.nUpdate[native]"

Started by weston, December 28, 2014, 05:22:34

Previous topic - Next topic

weston

So, I'm trying to optimize my LWJGL program using VisualVM, which tells me that 97% of the run's cpu time is spent in "org.lwjgl.opengl.MacOSXContextImplementation.nUpdate[native]()." My speculation is that this means I'm spending much more time on GPU tasks than CPU, and the CPU is waiting for the GPU to finish. So partly I'd like to verify that assumption, and I'm curious whether anyone has ideas on how to go about getting more information on my bottleneck in this case...