• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Starting a Java applet drives IE8 into busyloop

M

Michael Moser

Flightless Bird
I have the odd effect that starting a Java applet drives IE8 into a busyloop
(i.e. one core starts going 100% busy).

Initially I thought, it's my applet, but my applet is NOT the culprit and it
is NOT busy-looping - I verified that by inserting lots of println()'s. When
it works, there are short peaks of process "javaw.exe" being active and the
println's show up on the Java console, but those are always over after at
most a few seconds. Next I had the suspicion, that some java script code
that surrounded my applet was faulty, but I removed everything else and the
page now reads:
---------------------
<html>
<head>
</head>
<body>
<applet ...>
<param .../>
<param .../>
</applet>
</body>
</html>
---------------------
i.e. it contains ONLY the applet, nothing else and still - the process
"iexplore.exe" goes 48-50% busy (one a dual-core machine, i.e. one core is
100% busy as one can show by setting the affinity of the process to one
core) the very moment the page containing the applet is loaded. And it stays
at that level until one kills it.

What could cause this busy-looping? Is there some tool or plugin, to observe
and monitor this?

Michael
 
P

PA Bear [MS MVP]

Flightless Bird
Developer-specific resources include:

MSDN IE Development Forum (post such questions here instead)
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

Tip: When posting in Developer forums, always include a link to your web
site or test pages in your first post.

IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

HTML and DHTML Overviews and Tutorials
http://msdn.microsoft.com/en-us/library/ms537623.aspx and

Cascading Style Sheets (CSS)
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
debugging tool for IE6, IE7, and IE8)
http://www.microsoft.com/downloads/...FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

Expression Web SuperPreview Release Notes
http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx

Validators:
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/


Michael Moser wrote:
> I have the odd effect that starting a Java applet drives IE8 into a
> busyloop
> (i.e. one core starts going 100% busy).
>
> Initially I thought, it's my applet, but my applet is NOT the culprit and
> it
> is NOT busy-looping - I verified that by inserting lots of println()'s.
> When
> it works, there are short peaks of process "javaw.exe" being active and
> the
> println's show up on the Java console, but those are always over after at
> most a few seconds. Next I had the suspicion, that some java script code
> that surrounded my applet was faulty, but I removed everything else and
> the
> page now reads:
> ---------------------
> <html>
> <head>
> </head>
> <body>
> <applet ...>
> <param .../>
> <param .../>
> </applet>
> </body>
> </html>
> ---------------------
> i.e. it contains ONLY the applet, nothing else and still - the process
> "iexplore.exe" goes 48-50% busy (one a dual-core machine, i.e. one core is
> 100% busy as one can show by setting the affinity of the process to one
> core) the very moment the page containing the applet is loaded. And it
> stays
> at that level until one kills it.
>
> What could cause this busy-looping? Is there some tool or plugin, to
> observe
> and monitor this?
>
> Michael
 
Top