Hi all, Please review this fix: https://bugs.openjdk.java.net/browse/JDK-6477756 http://cr.openjdk.java.net/~vadim/6477756/webrev.00/
For me this bug reproduces only when running through the RDP and with -Dsun.java2d.d3d=false flag. Basically each DescribePixelFormat takes about 40-60 ms when running without hardware acceleration because it calls LoadLibrary/FreeLibrary for opengl32.dll every time.
So the fix is to cache the handle to the dll. There is no need to free it. Thanks, Vadim
