JRE 1.6 very slow...

Our application used to run on JRE1.4 and 1.5 with reasonable speed. After we upgrade to JRE1.6, we noticed it's extremely slow when trying to pop up a blank screen. There is no hour glass and it looks like hang but somehow the sreen pop up eventually with at least 4 times slower than JRE1.4.

Does anybody know the reason and could it be related to the new Double buffering feature? Our GUI is an huge applet (25MB in total) and downloaded from the Application server.

[483 byte] By [walawalaa] at [2007-11-27 2:20:49]
# 1

Without seeing your code, I'd recommend the following:

- check bugs.sun.com to see if this is a known issue, and if there's a

workaround already

- if this isn't a known problem, prepare a simple program will demonstrate this

performance issue

- file a new bug on bugs.sun.com, provide as much environmental information

as possible and attach your test program.

gymma at 2007-7-12 2:22:35 > top of Java-index,Desktop,Runtime Environment...
# 2

Also, You might want to try cleaning out the java cache after updating to 1.6, Depending on your application this could be in multiple places. I know with Jinitiator from oracle it is in a folder called Oracle Jar Cache under Documents and settings\<username> (im not sure if it is in a deeper directory but you can search this folder for it) and most likely any other application could have its own cache folder. But by deleting this you allow the application to re-download all of its information and can sometimes resolve these issues. I think cleaning out the cache should be one of the first troubleshooting steps taken when dealing with Java issues.

dthardcorea at 2007-7-12 2:22:35 > top of Java-index,Desktop,Runtime Environment...
# 3

Thanks for your reply and we did try cleaning out the cache and donot see any difference. It's just very slow in both downloading the applet and bring up any screen afterward. The second time I bring up the same screen will be much faster. It seems to me something to do with the video buffer but I have no idea how to improve it.

walawalaa at 2007-7-12 2:22:35 > top of Java-index,Desktop,Runtime Environment...