Closed Bug 142452 Opened 24 years ago Closed 24 years ago

Loading Java Plugin freezes whole Windows desktop for a few seconds

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 86634

People

(Reporter: fv8l1rxj1, Assigned: joe.chou)

Details

When you open a page with a Java applet inside, the browser will have to wait for a few seconds (before continuing to render the page) till the JVM has fully initialized. That this process may take a while when being done for the first time is not the fault of Mozilla. Sun is aware of the problem, but unfortunately they can't fix it through current design problems. You can read this here: http://developer.java.sun.com/developer/bugParade/bugs/4243502.html It's Java bug number 4243502. You will need a Java developer login to view this bug. It may be resolved in the future one day, but right now there's no way around that without endangering the browser's stability. The bug speaks about IE, but I guess it's not different for Mozilla. So far this is okay and I understand where the problem is and why the browser must wait for the Java plugin to do whatever it has to do before continuing to render the page. But what I don't understand is why Mozilla has to freeze while this process takes place. It's not a bit unresponsive, it doesn't respond at all anymore (I also can't stop the loading process or open a menu or anything else). A total freeze for 3 to 5 seconds while I load a Java page for the first time. And even worse, Mozilla freezes whole Windows. Neither other applications nor the taskbar will react for these 3 to 5 seconds anymore and I don't think that this how an application should behave. I thought Mozilla may use 100% CPU resources and that causes the system freeze, but I checked that and found out that this is not true. Actually background processes continue work and they still work very well. It's just that Mozilla freezes the whole Windows desktop for a few seconds till the plugin finished loading the JVM, so programs can still perform tasks, but they can't react to user input anymore. This is not the fault of Java, as if I start a Java application from command line or via Appletviewer, it does not freeze the whole Windows desktop for a few seconds (even though loading takes even a bit longer than if it's done by the plugin) I don't provide any build ID, because it's not in a certain build only, it's in every build I used so far since maybe 0.6 and now I use a RC1 build. I think it's time to work around that somehow. Within IE (using the same JVM) the freeze takes place as well, but it's much shorter and thus it's hard to find out if it only freezes the browser or also the whole desktop (maybe it's also a Windows bug, who knows). I only think that a good application should always stay responsive and should in no way influence the ability of other applications to respond to user input.
oji and invalid is my call. the initial freeze is bcos the plugin is loading for the first time...pmac, pls check this one.
Assignee: beppe → joe.chou
Component: Plug-ins → OJI
QA Contact: shrir → pmac
But the question is: Why does loading a plugin freezes the whole system?
related to bug 86634?
Yup, this is the same as Bug #86634 *** This bug has been marked as a duplicate of 86634 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Chris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
Assignee: joe.chou → petersen
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.