Bug 611 - java.awt.Desktop performance drops after JOGL initialization
Summary: java.awt.Desktop performance drops after JOGL initialization
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: windows (show other bugs)
Version: 2
Hardware: pc_x86_32 windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2012-08-29 15:28 CEST by trnecka_david
Modified: 2012-09-16 15:40 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
jogl f2bd50ff25009de477a203460abe8a5597acdbc5
Workaround: ---


Attachments
Minimal repro case (412 bytes, text/java)
2012-08-29 15:28 CEST, trnecka_david
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trnecka_david 2012-08-29 15:28:40 CEST
Created attachment 366 [details]
Minimal repro case

The first invocation of java.awt.Desktop.open() done after the JOGL is initialized by a GLProfile.initSingleton() blocks execution for about 30 seconds.

Any subsequent call to the Desktop API works as expected, with no delay.

Reproduced on Windows XP SP3 x86, JRE 1.7.0_05, JOGL2 rc10. 

Does not happen with Windows 7 x64.

Traced Desktop.open() down to native, the problematic call is the ShellExecute windows API.

Repro case attached.
Comment 1 Sven Gothel 2012-09-16 13:58:50 CEST
There are still WinXP machines out there ?
Hmm .. if possible, pls re-test w/ latest sources, or upcoming aggregated autobuild.
Comment 2 Sven Gothel 2012-09-16 15:40:44 CEST
Added unit test in commit f2bd50ff25009de477a203460abe8a5597acdbc5.
(Will push it soon)

Will close this bug unless it persist in your configuration, please retest.