Name: rv122619 Date: 06/17/2004
4723654 is an ancient bug. There was a lot of communication between us and Dennis Gu at Sun about this problem. The problem was that it was easily possible to make applets really slow when using the animated steaming cup of copy that displayed during the loading of the applet. The result of this bug was to change the default to NOT use the animated cup. I noticed with 1.5 Beta 3 that an animation is back during applet loading. The animation is different, quite snazzy. I decided to run the tests that we had sent with the original defect. What I found was NOT encouraging. Running on a 400MHZ Intel PC running Windows 2000 with the animated cup, it too over 300 seconds to run this loop:
java.security.SecureRandom r = new java.security.SecureRandom();
long n = 1000000L;
double sum = 0;
for(long i = 0; i < n; i++)
sum += r.nextGaussian() + r.nextDouble();
Without the animated cup (specify image="" in the html params) the same loop takes 20 seconds. Thus it is still EASY to starve an applet. I think this should be looked at with 1.5 and not wait for 1.5.1.
======================================================================