Closed
Bug 174873
Opened 23 years ago
Closed 23 years ago
Chimera starts up Java at startup
Categories
(Camino Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 183852
People
(Reporter: sfraser_bugs, Assigned: beard)
Details
If Java is enabled in the chimera prefs, Java gets fired up at startup, rather
than when we hit the first applet. This slows launch time, and causes lots of
JVM threads to run, some of which suck CPU time.
Java gets launched from here:
#3 0x169c91c4 in nsJVMManager::StartupJVM() (this=0x16e9c20) at
nsJVMManager.cpp:665
#4 0x169ca178 in nsJVMManager::MaybeStartupLiveConnect() (this=0x16e9c20) at
nsJVMManager.cpp:901
#5 0x169e5228 in nsJVMManager::StartupLiveConnect(JSRuntime*, int&) ()
#6 0x0d2a5404 in nsJSEnvironment::Init() () at nsJSEnvironment.cpp:1682
#7 0x0d2a5690 in NS_CreateScriptContext(nsIScriptGlobalObject*,
nsIScriptContext**) (aGlobal=0x16aff40, aContext=0x16cf844) at
nsJSEnvironment.cpp:1726
#8 0x0d298d0c in nsDOMSOFactory::NewScriptContext(nsIScriptGlobalObject*,
nsIScriptContext**) (this=0x16c86a0, aGlobal=0x16aff40, aContext=0x16cf844) at
nsDOMFactory.cpp:155
#9 0x0aba38c4 in nsDocShell::EnsureScriptEnvironment() (this=0x16cf790) at
nsDocShell.cpp:6183
#10 0x0aba6980 in nsWebShell::GetInterface(nsID const&, void**) (this=0x16cf790,
aIID=@0xb248450, aInstancePtr=0xbfffdcf0) at nsWebShell.cpp:294
#11 0x017eb798 in nsGetInterface::operator()(nsID const&, void**) const
(this=0xbfffde10, aIID=@0xb248450, aInstancePtr=0xbfffdcf0) at
nsIInterfaceRequestorUtils.cpp:53
#12 0x0b237ccc in nsCOMPtr<nsIDOMWindow>::assign_from_helper(nsCOMPtr_helper
const&, nsID const&) ()
#13 0x0b23dc2c in nsCOMPtr<nsIDOMWindow>::nsCOMPtr(nsCOMPtr_helper const&) ()
#14 0x0b23dbd8 in nsCOMPtr<nsIDOMWindow>::nsCOMPtr(nsCOMPtr_helper const&) ()
#15 0x0b20ae5c in nsWebBrowser::GetContentDOMWindow(nsIDOMWindow**)
(this=0x15bc050, _retval=0xbfffdf50) at nsWebBrowser.cpp:378
#16 0x0b20ec84 in nsWebBrowser::Create() (this=0x15bc050) at nsWebBrowser.cpp:1117
A side-effect of starting Java is that we grovel for all plugins at startup too,
increasing startup time. When Java is off, we grovel for plugins when we first
hit a page with one.
| Reporter | ||
Comment 1•23 years ago
|
||
I think this might be caused by Apple's Java plugin, and not the MRJ plugin.
Comment 2•23 years ago
|
||
I ran into this while running sampler.
Comment 3•23 years ago
|
||
dupe
*** This bug has been marked as a duplicate of 183852 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•