Skip to main content

Question about Applet startup time

2 replies [Last post]
cowwoc
Offline
Joined: 2003-08-24
Points: 0

Hi,

If I open a new browser and hit http://weblogs.java.net/blog/joshy/archive/2008/05/java_doodle_cro.html I notice the applet renders 3 seconds after the rest of the page.

However, if I navigate to another page and then navigate back to the applet it takes under a second to render.

Can anyone else reproduce this? Any idea why the initial load is 3x slower?

I am using 1.6.0_10-beta-b24 under Windows Vista 64-bit with SuperFetch and QuickStarter enabled. One would think that even if the initial delay is due to the JVM starting up it wouldn't be a full 2 seconds with QuickStarter/SuperFetch enabled.

Thank you,
Gili

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
agolos
Offline
Joined: 2004-06-10
Points: 0

I see a java process that runs in parallel to an applet. Once I shutdown the applet, the java process remains running for about a minute. If during that minute I restart the applet, it starts instantaneously. However, if the java process terminates, next time I start the applet it starts that process again, verifies that the correct jar files are in cache and loads the classes all over again. That takes quite a bit of time.

kraik
Offline
Joined: 2007-12-17
Points: 0

It takes around 10 seconds on the initial run for me, then around a second during a reload.I also noticed that the orange loading screen did'nt appear during the initial run either.

1.6.0_10-beta-b25, WindowsXP SP2.

Rob