From: Doug B. <br...@cl...> - 2003-10-31 17:11:40
|
By the way, has anyone noticed that after the splash screen progress bar completes, there is still approximately 5-7 seconds of delay before the jEdit window is available? At least one other person on the Community site described this behaviour, but there was no explanation. (Third response at <http://community.jedit.org/modules.php?op=modload&name=NS-Polls&file=index&req=results&pollID=28&mode=thread&order=0&thold=0>) With this behaviour, 4.2 actually starts up slower for me than 4.1 does. It's been happening for the last several "pre" releases, including pre6. I've observed this behaviour both on WinXP and Win2K, both with plugins installed and with no plugins installed (that's when I accidentally deleted tools.jar :-)). Sun JDK 1.4.2_01 and 1.4.2_02. Doug |
From: Jingzhao Ou <ja...@ya...> - 2003-10-31 17:27:56
|
I am using jEdit on WinXP. I have encountered the same phenomenon. Best regards, Jingzhao --- Doug Breaux <br...@cl...> wrote: > By the way, has anyone noticed that after the splash screen progress bar > completes, there is still approximately 5-7 seconds of delay before the > jEdit window is available? At least one other person on the Community > site described this behaviour, but there was no explanation. (Third > response at > <http://community.jedit.org/modules.php?op=modload&name=NS-Polls&file=index&req=results&pollID=28&mode=thread&order=0&thold=0>) > > With this behaviour, 4.2 actually starts up slower for me than 4.1 does. > It's been happening for the last several "pre" releases, including > pre6. I've observed this behaviour both on WinXP and Win2K, both with > plugins installed and with no plugins installed (that's when I > accidentally deleted tools.jar :-)). Sun JDK 1.4.2_01 and 1.4.2_02. > > Doug > |
From: Slava P. <sl...@je...> - 2003-10-31 19:32:18
|
What plugins are installed? Can you run this from a DOS prompt to have a rough idea of what its doing when it stalls: java -jar <path to>\jedit.jar -log=0 On Fri, 2003-10-31 at 12:10, Doug Breaux wrote: > By the way, has anyone noticed that after the splash screen progress bar > completes, there is still approximately 5-7 seconds of delay before the > jEdit window is available? At least one other person on the Community > site described this behaviour, but there was no explanation. (Third > response at > <http://community.jedit.org/modules.php?op=modload&name=NS-Polls&file=index&req=results&pollID=28&mode=thread&order=0&thold=0>) > > With this behaviour, 4.2 actually starts up slower for me than 4.1 does. > It's been happening for the last several "pre" releases, including > pre6. I've observed this behaviour both on WinXP and Win2K, both with > plugins installed and with no plugins installed (that's when I > accidentally deleted tools.jar :-)). Sun JDK 1.4.2_01 and 1.4.2_02. > > Doug > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ -- Slava Pestov |
From: Doug B. <br...@cl...> - 2003-10-31 20:21:42
|
Well, this happened for me even with no plugins installed, although now I do have several. (I can't remember if there's a command-line option to disable all plugins?) Watching the log output, the last message that was written before the delay was: [message] HistoryModel: Loading history.xml Here is the entire activity log up until when the jEdit window was completely active: [message] Log: When reporting bugs, please include the following information: [message] Log: java.version=1.4.2_02 [message] Log: java.vm.version=1.4.2_02-b03 [message] Log: java.runtime.version=1.4.2_02-b03 [message] Log: java.vendor=Sun Microsystems Inc. [message] Log: java.compiler=null [message] Log: os.name=Windows 2000 [message] Log: os.version=5.0 [message] Log: os.arch=x86 [message] Log: user.home=C:\Documents and Settings\breaux [message] Log: java.home=c:\java\jdk1.4.2\jre [message] Log: java.class.path=c:\java\jedit4.2\jedit.jar [notice] jEdit: jEdit version 4.2pre6 [message] jEdit: Settings directory is C:\Documents and Settings\breaux\.jedit [message] jEdit: jEdit home directory is C:\java\jEdit4.2 [debug] EditServer: jEdit server started on port 4510 [debug] EditServer: Authorization key is 1496684477 [debug] ActionSet: Loading actions from jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/actions.xml [debug] DockableWindowManager: Loading dockables from jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/dockables.xml [debug] jEdit: Loading services from jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/services.xml [debug] EditBus: SearchSettingsChanged[source=null] [notice] jEdit: Loading plugins from C:\java\jEdit4.2\jars [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\bcel.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\bouncycastle-ciphers-0.0.1-alpha.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\BufferTabs.jar,class=buffertabs.BufferTabsPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\CommonControls.jar,class=CommonControlsPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\commons-collections.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\commons-logging.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\Console.jar,class=console.ConsolePlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\ErrorList.jar,class=errorlist.ErrorListPlugin] [debug] ActionSet: Loading actions from jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\FTP.jar,class=ftp.FtpPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\j2ssh-common-0.2.6.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\j2ssh-core-0.2.6.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JakartaCommons.jar,class=jakartacommons.JakartaCommonsPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JBrowse.jar,class=jbrowse.JBrowsePlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JCompiler.jar,class=jcompiler.JCompilerPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JTools.jar,class=jtools.JToolsPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\kappalayout.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\LatestVersion.jar,class=LatestVersionPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\log4j.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\QuickNotepad.jar,class=QuickNotepadPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\Sessions.jar,class=sessions.SessionsPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SideKick.jar,class=sidekick.SideKickPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SSHTools-j2ssh-0.1.7.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SwitchBuffer.jar,class=switchbuffer.SwitchBufferPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xercesImpl.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xml-commons-resolver.jar] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\XML.jar,class=xml.XmlPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xmlParserAPIs.jar] [notice] jEdit: Loading plugins from C:\Documents and Settings\breaux\.jedit\jars [message] BufferHistory: Loading recent.xml [message] KillRing: Loading killring.xml [debug] jEdit: SOCKS proxy disabled [debug] jEdit: HTTP proxy disabled [debug] EditBus: PropertiesChanged[source=null] [message] jEdit: Loading mode catalog file C:\java\jEdit4.2\modes\catalog [message] jEdit: Loading mode catalog file C:\Documents and Settings\breaux\.jedit\modes\catalog [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\BufferTabs.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\BufferTabs.jar,class=buffertabs.BufferTabsPlugin] [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\CommonControls.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\CommonControls.jar,class=CommonControlsPlugin] [debug] EditPlugin$JAR: Activating console.ConsolePlugin because of startup [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\Console.jar [debug] EditBus: DynamicMenuChanged[menu=plugin.console.ConsolePlugin.menu,source=null] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\Console.jar,class=console.ConsolePlugin] [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\JBrowse.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\JBrowse.jar,class=jbrowse.JBrowsePlugin] [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\JCompiler.jar [debug] MiscUtilities: Searching for tools.jar... [debug] MiscUtilities: - adding c:\java\jdk1.4.2\lib\tools.jar to jEdit plugins. [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=c:\java\jdk1.4.2\lib\tools.jar] [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\JCompiler.jar,class=jcompiler.JCompilerPlugin] [debug] EditPlugin$JAR: Activating sessions.SessionsPlugin because of startup [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\Sessions.jar [debug] Session: open: name=AZP-MVRRS [debug] Session: loadXML: name=AZP-MVRRS filename=C:\Documents and Settings\breaux\.jedit\sessions\AZP-MVRRS.xml [debug] Session$SessionXmlHandler: endElement: mode [debug] Session$SessionXmlHandler: endElement: basedir [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\Sessions.jar,class=sessions.SessionsPlugin] [debug] EditPlugin$JAR: Activating sidekick.SideKickPlugin because of startup [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\SideKick.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\SideKick.jar,class=sidekick.SideKickPlugin] [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\SwitchBuffer.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\SwitchBuffer.jar,class=switchbuffer.SwitchBufferPlugin] [debug] Macros: Registered beanshell macro handler [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] [message] PerspectiveManager: Loading C:\Documents and Settings\breaux\.jedit\perspective.xml [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (c:\)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (c:\)] [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] [message] HistoryModel: Loading history.xml [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\ErrorList.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\ErrorList.jar,class=errorlist.ErrorListPlugin] [debug] EditBus: EditorStarted[source=null] [message] jEdit: Startup complete [debug] WorkThread: Work request thread starting [jEdit I/O #1] [debug] WorkThread: Running in work thread: [id=4,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@1024994,path1=c:\,path2=null]] [debug] WorkThread: Work request thread starting [jEdit I/O #2] [debug] WorkThread: Work request thread starting [jEdit I/O #3] [debug] WorkThread: Work request thread starting [jEdit I/O #4] [notice] jEdit: Loading edit mode C:\java\jEdit4.2\modes\text.xml [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Untitled-1 (c:\)] [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1 (c:\)] [debug] EditBus: SideKickUpdate[source=null] [debug] FileRootsVFS: Java 1.4 FileSystemView detected [debug] jEdit: Loading services from jeditresource:/FTP.jar!/services.xml [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\FTP.jar [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\log4j.jar [debug] EditBus: PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\FTP.jar,class=ftp.FtpPlugin] > What plugins are installed? Can you run this from a DOS prompt to have a > rough idea of what its doing when it stalls: > > java -jar <path to>\jedit.jar -log=0 |
From: Slava P. <sl...@je...> - 2003-10-31 20:53:21
|
You mean: [message] HistoryModel: Loading history Can you send me this file? Its in <user.home>/.jedit/. On Fri, 2003-10-31 at 15:19, Doug Breaux wrote: > Well, this happened for me even with no plugins installed, although now > I do have several. (I can't remember if there's a command-line option > to disable all plugins?) > > Watching the log output, the last message that was written before the > delay was: > > [message] HistoryModel: Loading history.xml > > Here is the entire activity log up until when the jEdit window was > completely active: > > [message] Log: When reporting bugs, please include the following > information: > [message] Log: java.version=1.4.2_02 > [message] Log: java.vm.version=1.4.2_02-b03 > [message] Log: java.runtime.version=1.4.2_02-b03 > [message] Log: java.vendor=Sun Microsystems Inc. > [message] Log: java.compiler=null > [message] Log: os.name=Windows 2000 > [message] Log: os.version=5.0 > [message] Log: os.arch=x86 > [message] Log: user.home=C:\Documents and Settings\breaux > [message] Log: java.home=c:\java\jdk1.4.2\jre > [message] Log: java.class.path=c:\java\jedit4.2\jedit.jar > [notice] jEdit: jEdit version 4.2pre6 > [message] jEdit: Settings directory is C:\Documents and > Settings\breaux\.jedit > [message] jEdit: jEdit home directory is C:\java\jEdit4.2 > [debug] EditServer: jEdit server started on port 4510 > [debug] EditServer: Authorization key is 1496684477 > [debug] ActionSet: Loading actions from > jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/actions.xml > [debug] DockableWindowManager: Loading dockables from > jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/dockables.xml > [debug] jEdit: Loading services from > jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/services.xml > [debug] EditBus: SearchSettingsChanged[source=null] > [notice] jEdit: Loading plugins from C:\java\jEdit4.2\jars > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\bcel.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\bouncycastle-ciphers-0.0.1-alpha.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\BufferTabs.jar,class=buffertabs.BufferTabsPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\CommonControls.jar,class=CommonControlsPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\commons-collections.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\commons-logging.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\Console.jar,class=console.ConsolePlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\ErrorList.jar,class=errorlist.ErrorListPlugin] > [debug] ActionSet: Loading actions from > jar:file:/C:/java/jEdit4.2/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\FTP.jar,class=ftp.FtpPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\j2ssh-common-0.2.6.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\j2ssh-core-0.2.6.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JakartaCommons.jar,class=jakartacommons.JakartaCommonsPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JBrowse.jar,class=jbrowse.JBrowsePlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JCompiler.jar,class=jcompiler.JCompilerPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\JTools.jar,class=jtools.JToolsPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\kappalayout.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\LatestVersion.jar,class=LatestVersionPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\log4j.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\QuickNotepad.jar,class=QuickNotepadPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\Sessions.jar,class=sessions.SessionsPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SideKick.jar,class=sidekick.SideKickPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SSHTools-j2ssh-0.1.7.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\SwitchBuffer.jar,class=switchbuffer.SwitchBufferPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xercesImpl.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xml-commons-resolver.jar] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\XML.jar,class=xml.XmlPlugin] > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=C:\java\jEdit4.2\jars\xmlParserAPIs.jar] > [notice] jEdit: Loading plugins from C:\Documents and > Settings\breaux\.jedit\jars > [message] BufferHistory: Loading recent.xml > [message] KillRing: Loading killring.xml > [debug] jEdit: SOCKS proxy disabled > [debug] jEdit: HTTP proxy disabled > [debug] EditBus: PropertiesChanged[source=null] > [message] jEdit: Loading mode catalog file C:\java\jEdit4.2\modes\catalog > [message] jEdit: Loading mode catalog file C:\Documents and > Settings\breaux\.jedit\modes\catalog > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\BufferTabs.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\BufferTabs.jar,class=buffertabs.BufferTabsPlugin] > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\CommonControls.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\CommonControls.jar,class=CommonControlsPlugin] > [debug] EditPlugin$JAR: Activating console.ConsolePlugin because of startup > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\Console.jar > [debug] EditBus: > DynamicMenuChanged[menu=plugin.console.ConsolePlugin.menu,source=null] > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\Console.jar,class=console.ConsolePlugin] > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\JBrowse.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\JBrowse.jar,class=jbrowse.JBrowsePlugin] > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\JCompiler.jar > [debug] MiscUtilities: Searching for tools.jar... > [debug] MiscUtilities: - adding c:\java\jdk1.4.2\lib\tools.jar to jEdit > plugins. > [debug] EditBus: > PluginUpdate[what=LOADED,exit=false,source=c:\java\jdk1.4.2\lib\tools.jar] > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\JCompiler.jar,class=jcompiler.JCompilerPlugin] > [debug] EditPlugin$JAR: Activating sessions.SessionsPlugin because of > startup > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\Sessions.jar > [debug] Session: open: name=AZP-MVRRS > [debug] Session: loadXML: name=AZP-MVRRS filename=C:\Documents and > Settings\breaux\.jedit\sessions\AZP-MVRRS.xml > [debug] Session$SessionXmlHandler: endElement: mode > [debug] Session$SessionXmlHandler: endElement: basedir > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\Sessions.jar,class=sessions.SessionsPlugin] > [debug] EditPlugin$JAR: Activating sidekick.SideKickPlugin because of > startup > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\SideKick.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\SideKick.jar,class=sidekick.SideKickPlugin] > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\SwitchBuffer.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\SwitchBuffer.jar,class=switchbuffer.SwitchBufferPlugin] > [debug] Macros: Registered beanshell macro handler > [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] > [message] PerspectiveManager: Loading C:\Documents and > Settings\breaux\.jedit\perspective.xml > [debug] EditBus: > BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (c:\)] > [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 > (c:\)] > [debug] TextAreaPainter: Using monospaced font optimization: > java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: > java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: > java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] > [debug] EditBus: > EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] > [message] HistoryModel: Loading history.xml > [debug] EditBus: > ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\ErrorList.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\ErrorList.jar,class=errorlist.ErrorListPlugin] > [debug] EditBus: EditorStarted[source=null] > [message] jEdit: Startup complete > [debug] WorkThread: Work request thread starting [jEdit I/O #1] > [debug] WorkThread: Running in work thread: > [id=4,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@1024994,path1=c:\,path2=null]] > [debug] WorkThread: Work request thread starting [jEdit I/O #2] > [debug] WorkThread: Work request thread starting [jEdit I/O #3] > [debug] WorkThread: Work request thread starting [jEdit I/O #4] > [notice] jEdit: Loading edit mode C:\java\jEdit4.2\modes\text.xml > [debug] EditBus: > BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Untitled-1 (c:\)] > [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1 (c:\)] > [debug] EditBus: SideKickUpdate[source=null] > [debug] FileRootsVFS: Java 1.4 FileSystemView detected > [debug] jEdit: Loading services from jeditresource:/FTP.jar!/services.xml > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\FTP.jar > [debug] EditPlugin$JAR: Opening C:\java\jEdit4.2\jars\log4j.jar > [debug] EditBus: > PluginUpdate[what=ACTIVATED,exit=false,source=C:\java\jEdit4.2\jars\FTP.jar,class=ftp.FtpPlugin] > > > What plugins are installed? Can you run this from a DOS prompt to have a > > rough idea of what its doing when it stalls: > > > > java -jar <path to>\jedit.jar -log=0 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ -- Slava Pestov |
From: Doug B. <br...@cl...> - 2003-10-31 21:28:01
Attachments:
activity.log
|
Slava Pestov wrote: > You mean: > > [message] HistoryModel: Loading history I just cut and pasted it directly, and it says history.xml. Maybe that tells you something? > Can you send me this file? Its in <user.home>/.jedit/. Attaching file. |
From: Slava P. <sl...@je...> - 2003-10-31 21:41:53
|
On Fri, 2003-10-31 at 16:26, Doug Breaux wrote: > I just cut and pasted it directly, and it says history.xml. Maybe that > tells you something? No, it tells me that I made a mistake in the Log.log() statement in the code :-) The actual file being loaded is ~/.jedit/history. Can you check if its unusually large and email me a copy (if it doesn't contain sensitive information)? > > Can you send me this file? Its in <user.home>/.jedit/. > > Attaching file. You actually attached your activity log :-) > > ______________________________________________________________________ > [message] HistoryModel: Loading history.xml > [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] It could also be that the view is taking a long to create. Try moving the history file to another file name and see if the problem still happends. -- Slava Pestov |
From: Doug B. <br...@cl...> - 2003-10-31 22:01:31
Attachments:
activity.log
|
Slava Pestov wrote: > No, it tells me that I made a mistake in the Log.log() statement in the > code :-) The actual file being loaded is ~/.jedit/history. Can you check > if its unusually large and email me a copy (if it doesn't contain > sensitive information)? >>Can you send me this file? Its in <user.home>/.jedit/. >> >>Attaching file. > > > You actually attached your activity log :-) Oops - misunderstood what you were requesting :-) Will send it to you privately if you still want it, but see below: >>______________________________________________________________________ >>[message] HistoryModel: Loading history.xml >>[debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] > > > It could also be that the view is taking a long to create. Try moving > the history file to another file name and see if the problem still > happends. Renamed history file and now the delay happens after this message: [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] Which was the line immediately before the "history" one before I renamed that file. Attaching new activity.log. |
From: Doug B. <br...@cl...> - 2003-10-31 22:07:53
|
Slava Pestov wrote: > It could also be that the view is taking a long to create. Try moving > the history file to another file name and see if the problem still > happends. Incidentally, 4.2 didn't recreate that "history" file when it started. 4.1 did, but not 4.2. Don't know whether or not that's expected or whether it depends on the plugins installed. Doug |
From: Slava P. <sl...@je...> - 2003-10-31 22:16:53
|
Hi, If you have the time, can you download the jEdit source and add a few System.err.println() statements in the constructor of org/gjt/sp/jedit/View.java (there is only one, line 1148) to see where the slowdown is. A new history file should be created once some history data actually exists. Eg, try doing a search. On Fri, 2003-10-31 at 17:06, Doug Breaux wrote: > Slava Pestov wrote: > > > It could also be that the view is taking a long to create. Try moving > > the history file to another file name and see if the problem still > > happends. > > Incidentally, 4.2 didn't recreate that "history" file when it started. > 4.1 did, but not 4.2. Don't know whether or not that's expected or > whether it depends on the plugins installed. > > Doug > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ -- Slava Pestov |
From: Doug B. <br...@cl...> - 2003-10-31 22:22:51
|
Slava Pestov wrote: > Hi, > > If you have the time, can you download the jEdit source and add a few > System.err.println() statements in the constructor of > org/gjt/sp/jedit/View.java (there is only one, line 1148) to see where > the slowdown is. Will do. I have to leave work pretty soon, though, so I probably won't get to it until sometime this weekend. Doug |
From: Doug B. <br...@cl...> - 2003-11-01 14:45:22
Attachments:
activity.log
|
Slava Pestov wrote: > Hi, > > If you have the time, can you download the jEdit source and add a few > System.err.println() statements in the constructor of > org/gjt/sp/jedit/View.java (there is only one, line 1148) to see where > the slowdown is. Interesting. Here's an activity log where each of the numbered items (e.g. "1. enableEvents") is displayed before the described statement is executed, and "-- end of constructor --" is displayed as the last statement of the constructor. Again, the console delay occurred right after the "history.xml" line. The last thing logged from my additions was "14.SearchDialog.preloadSearchDialog". i.e. the last call made in the constructor. Also, as this is a fresh-compiled install in a new directory, you can see there are no extra plugins loaded. |
From: Slava P. <sl...@je...> - 2003-11-01 19:17:25
|
Hi, So it seems SearchDialog.preloadSearchDialog() is the curplit. Can you continue your investigation in this method? On Sat, 2003-11-01 at 09:43, Doug Breaux wrote: > Slava Pestov wrote: > > > Hi, > > > > If you have the time, can you download the jEdit source and add a few > > System.err.println() statements in the constructor of > > org/gjt/sp/jedit/View.java (there is only one, line 1148) to see where > > the slowdown is. > > Interesting. Here's an activity log where each of the numbered items > (e.g. "1. enableEvents") is displayed before the described statement is > executed, and "-- end of constructor --" is displayed as the last > statement of the constructor. Again, the console delay occurred right > after the "history.xml" line. The last thing logged from my additions > was "14.SearchDialog.preloadSearchDialog". i.e. the last call made in > the constructor. > > Also, as this is a fresh-compiled install in a new directory, you can > see there are no extra plugins loaded. > > > ______________________________________________________________________ > Log file created on Sat Nov 01 08:31:55 CST 2003 > IMPORTANT: > Because updating this file after every log message would kill > performance, it will be *incomplete* unless you invoke the > Utilities->Troubleshooting->Update Activity Log on Disk command! > [message] Log: When reporting bugs, please include the following information: > [message] Log: java.version=1.4.2_02 > [message] Log: java.vm.version=1.4.2_02-b03 > [message] Log: java.runtime.version=1.4.2_02-b03 > [message] Log: java.vendor=Sun Microsystems Inc. > [message] Log: java.compiler=null > [message] Log: os.name=Windows XP > [message] Log: os.version=5.1 > [message] Log: os.arch=x86 > [message] Log: user.home=C:\Documents and Settings\Doug > [message] Log: java.home=C:\Program Files\Java\j2re1.4.2_02 > [message] Log: java.class.path=jedit.jar > [notice] jEdit: jEdit version 4.2pre6 > [message] jEdit: Settings directory is C:\Documents and Settings\Doug\.jedit > [message] jEdit: jEdit home directory is C:\Data\src\jEdit4.2\jEdit > [debug] EditServer: jEdit server started on port 1837 > [debug] EditServer: Authorization key is 1423463340 > [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/actions.xml > [debug] DockableWindowManager: Loading dockables from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/dockables.xml > [debug] jEdit: Loading services from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/services.xml > [debug] EditBus: SearchSettingsChanged[source=null] > [notice] jEdit: Loading plugins from C:\Data\src\jEdit4.2\jEdit\jars > [notice] jEdit: Loading plugins from C:\Documents and Settings\Doug\.jedit\jars > [message] BufferHistory: Loading recent.xml > [message] KillRing: Loading killring.xml > [debug] jEdit: SOCKS proxy disabled > [debug] jEdit: HTTP proxy disabled > [debug] EditBus: PropertiesChanged[source=null] > [message] jEdit: Loading mode catalog file C:\Data\src\jEdit4.2\jEdit\modes\catalog > [message] jEdit: Loading mode catalog file C:\Documents and Settings\Doug\.jedit\modes\catalog > [debug] Macros: Registered beanshell macro handler > [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] > [message] BeanShell: Running script C:\Data\src\jEdit4.2\jEdit\startup\startup.bsh > [debug] String: BeanShell interpreter version 1.3.0-jedit1 > [message] PerspectiveManager: Loading C:\Documents and Settings\Doug\.jedit\perspective.xml > [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=View.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=View.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [error] AWT-EventQueue-0: 1. enableEvents > [error] AWT-EventQueue-0: 2. getEditorIcon > [error] AWT-EventQueue-0: 3. new DockableWindowManager > [error] AWT-EventQueue-0: 4. new JPanels > [error] AWT-EventQueue-0: 5. new ToolBarManager > [error] AWT-EventQueue-0: 6. new StatusBar > [error] AWT-EventQueue-0: 7. new DefaultInputHandler > [error] AWT-EventQueue-0: 8. try restoreSplitConfig > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] > [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] > [error] AWT-EventQueue-0: 9. getContentPane().add > [error] AWT-EventQueue-0: 10.dockableWindowManager.init > [error] AWT-EventQueue-0: 11.propertiesChanged > [error] AWT-EventQueue-0: 12.setDefaultCloseOperation > [error] AWT-EventQueue-0: 13.EditBus.addToBus > [error] AWT-EventQueue-0: 14.SearchDialog.preloadSearchDialog > [message] HistoryModel: Loading history.xml > [error] AWT-EventQueue-0: -- end of constructor -- > [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml > [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] > [debug] EditBus: EditorStarted[source=null] > [message] jEdit: Startup complete > [debug] WorkThread: Work request thread starting [jEdit I/O #4] > [debug] WorkThread: Work request thread starting [jEdit I/O #3] > [debug] WorkThread: Work request thread starting [jEdit I/O #2] > [debug] WorkThread: Work request thread starting [jEdit I/O #1] > [debug] WorkThread: Running in work thread: [id=1,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=View.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)]] > [debug] WorkThread: Running in work thread: [id=4,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@eb67e8,path1=C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\,path2=null]] > [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\java.xml > [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\xml.xml > [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=View.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=View.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] FileRootsVFS: Java 1.4 FileSystemView detected > [debug] EditBus: EditorExitRequested[source=org.gjt.sp.jedit.View[active]] > [message] PerspectiveManager: Saving C:\Documents and Settings\Doug\.jedit\perspective.xml > [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] > [debug] EditBus: EditPaneUpdate[what=DESTROYED,source=org.gjt.sp.jedit.EditPane[active]] > [debug] EditBus: EditorExiting[source=null] > [message] HistoryModel: Saving history > [message] BufferHistory: Saving C:\Documents and Settings\Doug\.jedit\#recent.xml#save# > [message] KillRing: Saving killring.xml -- Slava Pestov |
From: Doug B. <br...@cl...> - 2003-11-01 22:55:19
Attachments:
activity.log
|
Looks like: SearchDialog.preloadSearchDialog() -> SearchDialog constructor -> GUIUtilities.loadGeometry() -> GUIUtilities.adjustForScreenBounds() -> OperatingSystem.getScreenBounds(Rectangle) -> gd[i].getConfigurations() i.e. in java.awt.GraphicsDevice :-( Perhaps video driver related? Both of my machines have nVidia graphics, although one is a GeForce Ti4200 and the other is an on-board Vanta. Activity log attached. Incidentally, I tried with the Sun 1.3.1 JDK as well, and the same delay occurred at the same place. Also, I think the status bar is finished around where the PerspectiveManager logs that it's loading perspective.xml, and several other things occur between that and the getConfigurations call, but the delay at getConfigurations is by far the largest component. Slava Pestov wrote: > Hi, > > So it seems SearchDialog.preloadSearchDialog() is the curplit. Can you > continue your investigation in this method? > |
From: Slava P. <sl...@je...> - 2003-11-02 00:19:39
|
Thanks for investigating this far! Now, can you try changing the code from line 97 to line 111 in OperatingSystem.java to this: GraphicsConfiguration gc = gd[i].getDefaultConfiguration(); L2: // Don't add duplicates if (window.intersects(gc.getBounds())) { for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (gcc.getBounds().equals(gc[j].getBounds())) break; } intersects.add(gc); } (Instead of calling getConfigurations() and checking each, it only calls getDefaultConfiguration().) If this doesn't help, try changing the call to OperatingSystem.getScreenBounds(Rectangle) in GUIUtilities.loadGeometry() to call OperatingSystem.getScreenBounds(). Both APIs do the same thing, however the latter is not multiple-monitor aware, and it does not call any GraphicsDevice/GraphicsConfiguration APIs. On Sat, 2003-11-01 at 17:53, Doug Breaux wrote: > Looks like: > SearchDialog.preloadSearchDialog() -> > SearchDialog constructor -> > GUIUtilities.loadGeometry() -> > GUIUtilities.adjustForScreenBounds() -> > OperatingSystem.getScreenBounds(Rectangle) -> > gd[i].getConfigurations() > > i.e. in java.awt.GraphicsDevice :-( Perhaps video driver related? Both > of my machines have nVidia graphics, although one is a GeForce Ti4200 > and the other is an on-board Vanta. > > Activity log attached. > > Incidentally, I tried with the Sun 1.3.1 JDK as well, and the same delay > occurred at the same place. > > Also, I think the status bar is finished around where the > PerspectiveManager logs that it's loading perspective.xml, and several > other things occur between that and the getConfigurations call, but the > delay at getConfigurations is by far the largest component. > > Slava Pestov wrote: > > > Hi, > > > > So it seems SearchDialog.preloadSearchDialog() is the curplit. Can you > > continue your investigation in this method? > > > > > ______________________________________________________________________ > Log file created on Sat Nov 01 16:20:35 CST 2003 > IMPORTANT: > Because updating this file after every log message would kill > performance, it will be *incomplete* unless you invoke the > Utilities->Troubleshooting->Update Activity Log on Disk command! > [message] Log: When reporting bugs, please include the following information: > [message] Log: java.version=1.4.2_02 > [message] Log: java.vm.version=1.4.2_02-b03 > [message] Log: java.runtime.version=1.4.2_02-b03 > [message] Log: java.vendor=Sun Microsystems Inc. > [message] Log: java.compiler=null > [message] Log: os.name=Windows XP > [message] Log: os.version=5.1 > [message] Log: os.arch=x86 > [message] Log: user.home=C:\Documents and Settings\Doug > [message] Log: java.home=C:\Program Files\Java\j2re1.4.2_02 > [message] Log: java.class.path=jedit.jar > [notice] jEdit: jEdit version 4.2pre6 > [message] jEdit: Settings directory is C:\Documents and Settings\Doug\.jedit > [message] jEdit: jEdit home directory is C:\Data\src\jEdit4.2\jEdit > [debug] EditServer: jEdit server started on port 2295 > [debug] EditServer: Authorization key is 2072234645 > [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/actions.xml > [debug] DockableWindowManager: Loading dockables from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/dockables.xml > [debug] jEdit: Loading services from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/services.xml > [debug] EditBus: SearchSettingsChanged[source=null] > [notice] jEdit: Loading plugins from C:\Data\src\jEdit4.2\jEdit\jars > [notice] jEdit: Loading plugins from C:\Documents and Settings\Doug\.jedit\jars > [message] BufferHistory: Loading recent.xml > [message] KillRing: Loading killring.xml > [debug] jEdit: SOCKS proxy disabled > [debug] jEdit: HTTP proxy disabled > [debug] EditBus: PropertiesChanged[source=null] > [message] jEdit: Loading mode catalog file C:\Data\src\jEdit4.2\jEdit\modes\catalog > [message] jEdit: Loading mode catalog file C:\Documents and Settings\Doug\.jedit\modes\catalog > [debug] Macros: Registered beanshell macro handler > [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] > [message] BeanShell: Running script C:\Data\src\jEdit4.2\jEdit\startup\startup.bsh > [debug] String: BeanShell interpreter version 1.3.0-jedit1 > [message] PerspectiveManager: Loading C:\Documents and Settings\Doug\.jedit\perspective.xml > [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] > [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] > [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [error] AWT-EventQueue-0: 1. enableEvents > [error] AWT-EventQueue-0: 2. getEditorIcon > [error] AWT-EventQueue-0: 3. new DockableWindowManager > [error] AWT-EventQueue-0: 4. new JPanels > [error] AWT-EventQueue-0: 5. new ToolBarManager > [error] AWT-EventQueue-0: 6. new StatusBar > [error] AWT-EventQueue-0: 7. new DefaultInputHandler > [error] AWT-EventQueue-0: 8. try restoreSplitConfig > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] > [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] > [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] > [error] AWT-EventQueue-0: 9. getContentPane().add > [error] AWT-EventQueue-0: 10.dockableWindowManager.init > [error] AWT-EventQueue-0: 11.propertiesChanged > [error] AWT-EventQueue-0: 12.setDefaultCloseOperation > [error] AWT-EventQueue-0: 13.EditBus.addToBus > [error] AWT-EventQueue-0: 14.SearchDialog.preloadSearchDialog > [error] AWT-EventQueue-0: 1. (after) super > [error] AWT-EventQueue-0: 2. new JPanel > [message] HistoryModel: Loading history.xml > [error] AWT-EventQueue-0: 3. pack > [error] AWT-EventQueue-0: 4. unsetProperty > [error] AWT-EventQueue-0: 5. loadGeometry > [error] AWT-EventQueue-0: 1. win.getSize > [error] AWT-EventQueue-0: 2. getDefaultScreenDevice > [error] AWT-EventQueue-0: 3. getBounds > [error] AWT-EventQueue-0: 4. getParent > [error] AWT-EventQueue-0: 5. adjustForScreenBounds > [error] AWT-EventQueue-0: 1. getScreenBounds > [error] AWT-EventQueue-0: 1. getScreenDevices > [error] AWT-EventQueue-0: 2. getConfigurations > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 3. intersects > [error] AWT-EventQueue-0: 4. elements > [error] AWT-EventQueue-0: 5. equals > [error] AWT-EventQueue-0: 1.5getScreenBounds > [error] AWT-EventQueue-0: -- end of adjustForScreenBounds -- > [error] AWT-EventQueue-0: 5.5 adjustForScreenBounds > [error] AWT-EventQueue-0: 6. setBounds > [error] AWT-EventQueue-0: -- end of loadGeometry -- > [error] AWT-EventQueue-0: 6. load > [error] AWT-EventQueue-0: 7. EditBus.addToBus > [error] AWT-EventQueue-0: -- end of constructor (SearchDialog) -- > [error] AWT-EventQueue-0: -- end of constructor -- > [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml > [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] > [debug] EditBus: EditorStarted[source=null] > [message] jEdit: Startup complete > [debug] WorkThread: Work request thread starting [jEdit I/O #4] > [debug] WorkThread: Work request thread starting [jEdit I/O #3] > [debug] WorkThread: Work request thread starting [jEdit I/O #2] > [debug] WorkThread: Work request thread starting [jEdit I/O #1] > [debug] WorkThread: Running in work thread: [id=1,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)]] > [debug] WorkThread: Running in work thread: [id=3,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)]] > [debug] WorkThread: Running in work thread: [id=5,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)]] > [debug] WorkThread: Running in work thread: [id=8,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@8e4805,path1=C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\,path2=null]] > [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\java.xml > [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\xml.xml > [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] > [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] > [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] > [debug] FileRootsVFS: Java 1.4 FileSystemView detected > [debug] EditBus: EditorExitRequested[source=org.gjt.sp.jedit.View[active]] > [message] PerspectiveManager: Saving C:\Documents and Settings\Doug\.jedit\perspective.xml > [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] > [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] > [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] > [debug] EditBus: EditPaneUpdate[what=DESTROYED,source=org.gjt.sp.jedit.EditPane[active]] > [debug] EditBus: EditorExiting[source=null] > [message] HistoryModel: Saving history > [message] BufferHistory: Saving C:\Documents and Settings\Doug\.jedit\#recent.xml#save# > [message] KillRing: Saving killring.xml -- Slava Pestov |
From: Patric B. <be...@ip...> - 2003-11-02 00:55:31
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 01 Nov 2003 19:19:34 -0500, Slava Pestov wrote: Hello Slava, hello Doug, could you try jdk1.4.2_02, as there was a fix in always reallocating GraphicsConfiguration objects, which hit some Dual Screen Scenarios? Looks like the exact problem described in the bug report mentioned in the release notes... at least AFAR. tia Patric >Thanks for investigating this far! >Now, can you try changing the code from line 97 to line 111 in >OperatingSystem.java to this: > GraphicsConfiguration gc = gd[i].getDefaultConfiguration(); >L2: // Don't add duplicates > if (window.intersects(gc.getBounds())) > { > for (Enumeration e = intersects.elements(); e.hasMoreElements();) > { > GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); > if (gcc.getBounds().equals(gc[j].getBounds())) > break; > } > intersects.add(gc); > } >(Instead of calling getConfigurations() and checking each, it only calls >getDefaultConfiguration().) >If this doesn't help, try changing the call to >OperatingSystem.getScreenBounds(Rectangle) in >GUIUtilities.loadGeometry() to call OperatingSystem.getScreenBounds(). >Both APIs do the same thing, however the latter is not multiple-monitor >aware, and it does not call any GraphicsDevice/GraphicsConfiguration >APIs. >On Sat, 2003-11-01 at 17:53, Doug Breaux wrote: >> Looks like: >> SearchDialog.preloadSearchDialog() -> >> SearchDialog constructor -> >> GUIUtilities.loadGeometry() -> >> GUIUtilities.adjustForScreenBounds() -> >> OperatingSystem.getScreenBounds(Rectangle) -> >> gd[i].getConfigurations() >> >> i.e. in java.awt.GraphicsDevice :-( Perhaps video driver related? Both >> of my machines have nVidia graphics, although one is a GeForce Ti4200 >> and the other is an on-board Vanta. >> >> Activity log attached. >> >> Incidentally, I tried with the Sun 1.3.1 JDK as well, and the same delay >> occurred at the same place. >> >> Also, I think the status bar is finished around where the >> PerspectiveManager logs that it's loading perspective.xml, and several >> other things occur between that and the getConfigurations call, but the >> delay at getConfigurations is by far the largest component. >> >> Slava Pestov wrote: >> >> > Hi, >> > >> > So it seems SearchDialog.preloadSearchDialog() is the curplit. Can you >> > continue your investigation in this method? >> > >> >> >> ______________________________________________________________________ >> Log file created on Sat Nov 01 16:20:35 CST 2003 >> IMPORTANT: >> Because updating this file after every log message would kill >> performance, it will be *incomplete* unless you invoke the >> Utilities->Troubleshooting->Update Activity Log on Disk command! >> [message] Log: When reporting bugs, please include the following information: >> [message] Log: java.version=1.4.2_02 >> [message] Log: java.vm.version=1.4.2_02-b03 >> [message] Log: java.runtime.version=1.4.2_02-b03 >> [message] Log: java.vendor=Sun Microsystems Inc. >> [message] Log: java.compiler=null >> [message] Log: os.name=Windows XP >> [message] Log: os.version=5.1 >> [message] Log: os.arch=x86 >> [message] Log: user.home=C:\Documents and Settings\Doug >> [message] Log: java.home=C:\Program Files\Java\j2re1.4.2_02 >> [message] Log: java.class.path=jedit.jar >> [notice] jEdit: jEdit version 4.2pre6 >> [message] jEdit: Settings directory is C:\Documents and Settings\Doug\.jedit >> [message] jEdit: jEdit home directory is C:\Data\src\jEdit4.2\jEdit >> [debug] EditServer: jEdit server started on port 2295 >> [debug] EditServer: Authorization key is 2072234645 >> [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/actions.xml >> [debug] DockableWindowManager: Loading dockables from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/dockables.xml >> [debug] jEdit: Loading services from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/services.xml >> [debug] EditBus: SearchSettingsChanged[source=null] >> [notice] jEdit: Loading plugins from C:\Data\src\jEdit4.2\jEdit\jars >> [notice] jEdit: Loading plugins from C:\Documents and Settings\Doug\.jedit\jars >> [message] BufferHistory: Loading recent.xml >> [message] KillRing: Loading killring.xml >> [debug] jEdit: SOCKS proxy disabled >> [debug] jEdit: HTTP proxy disabled >> [debug] EditBus: PropertiesChanged[source=null] >> [message] jEdit: Loading mode catalog file C:\Data\src\jEdit4.2\jEdit\modes\catalog >> [message] jEdit: Loading mode catalog file C:\Documents and Settings\Doug\.jedit\modes\catalog >> [debug] Macros: Registered beanshell macro handler >> [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] >> [message] BeanShell: Running script C:\Data\src\jEdit4.2\jEdit\startup\startup.bsh >> [debug] String: BeanShell interpreter version 1.3.0-jedit1 >> [message] PerspectiveManager: Loading C:\Documents and Settings\Doug\.jedit\perspective.xml >> [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >> [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >> [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [error] AWT-EventQueue-0: 1. enableEvents >> [error] AWT-EventQueue-0: 2. getEditorIcon >> [error] AWT-EventQueue-0: 3. new DockableWindowManager >> [error] AWT-EventQueue-0: 4. new JPanels >> [error] AWT-EventQueue-0: 5. new ToolBarManager >> [error] AWT-EventQueue-0: 6. new StatusBar >> [error] AWT-EventQueue-0: 7. new DefaultInputHandler >> [error] AWT-EventQueue-0: 8. try restoreSplitConfig >> [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] >> [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] >> [debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] >> [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] >> [error] AWT-EventQueue-0: 9. getContentPane().add >> [error] AWT-EventQueue-0: 10.dockableWindowManager.init >> [error] AWT-EventQueue-0: 11.propertiesChanged >> [error] AWT-EventQueue-0: 12.setDefaultCloseOperation >> [error] AWT-EventQueue-0: 13.EditBus.addToBus >> [error] AWT-EventQueue-0: 14.SearchDialog.preloadSearchDialog >> [error] AWT-EventQueue-0: 1. (after) super >> [error] AWT-EventQueue-0: 2. new JPanel >> [message] HistoryModel: Loading history.xml >> [error] AWT-EventQueue-0: 3. pack >> [error] AWT-EventQueue-0: 4. unsetProperty >> [error] AWT-EventQueue-0: 5. loadGeometry >> [error] AWT-EventQueue-0: 1. win.getSize >> [error] AWT-EventQueue-0: 2. getDefaultScreenDevice >> [error] AWT-EventQueue-0: 3. getBounds >> [error] AWT-EventQueue-0: 4. getParent >> [error] AWT-EventQueue-0: 5. adjustForScreenBounds >> [error] AWT-EventQueue-0: 1. getScreenBounds >> [error] AWT-EventQueue-0: 1. getScreenDevices >> [error] AWT-EventQueue-0: 2. getConfigurations >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 3. intersects >> [error] AWT-EventQueue-0: 4. elements >> [error] AWT-EventQueue-0: 5. equals >> [error] AWT-EventQueue-0: 1.5getScreenBounds >> [error] AWT-EventQueue-0: -- end of adjustForScreenBounds -- >> [error] AWT-EventQueue-0: 5.5 adjustForScreenBounds >> [error] AWT-EventQueue-0: 6. setBounds >> [error] AWT-EventQueue-0: -- end of loadGeometry -- >> [error] AWT-EventQueue-0: 6. load >> [error] AWT-EventQueue-0: 7. EditBus.addToBus >> [error] AWT-EventQueue-0: -- end of constructor (SearchDialog) -- >> [error] AWT-EventQueue-0: -- end of constructor -- >> [debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml >> [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] >> [debug] EditBus: EditorStarted[source=null] >> [message] jEdit: Startup complete >> [debug] WorkThread: Work request thread starting [jEdit I/O #4] >> [debug] WorkThread: Work request thread starting [jEdit I/O #3] >> [debug] WorkThread: Work request thread starting [jEdit I/O #2] >> [debug] WorkThread: Work request thread starting [jEdit I/O #1] >> [debug] WorkThread: Running in work thread: [id=1,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit \org\gjt\sp\jedit\search\)]] >> [debug] WorkThread: Running in work thread: [id=3,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit \org\gjt\sp\jedit\)]] >> [debug] WorkThread: Running in work thread: [id=5,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=OperatingSystem.java (C:\Data\src\jEdit4.2 \jEdit\org\gjt\sp\jedit\)]] >> [debug] WorkThread: Running in work thread: [id=8,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@ 8e4805,path1=C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\,path2=null]] >> [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\java.xml >> [notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\xml.xml >> [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >> [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >> [debug] FileRootsVFS: Java 1.4 FileSystemView detected >> [debug] EditBus: EditorExitRequested[source=org.gjt.sp.jedit.View[active]] >> [message] PerspectiveManager: Saving C:\Documents and Settings\Doug\.jedit\perspective.xml >> [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >> [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >> [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >> [debug] EditBus: EditPaneUpdate[what=DESTROYED,source=org.gjt.sp.jedit.EditPane[active]] >> [debug] EditBus: EditorExiting[source=null] >> [message] HistoryModel: Saving history >> [message] BufferHistory: Saving C:\Documents and Settings\Doug\.jedit\#recent.xml#save# >> [message] KillRing: Saving killring.xml >-- >Slava Pestov >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >-- >----------------------------------------------- >jEdit Users' List >jEd...@li... >https://lists.sourceforge.net/lists/listinfo/jedit-users -----BEGIN PGP SIGNATURE----- Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies. iQA/AwUBP6RHd3xoBrvMu8qQEQLo7ACgg5WPOyVNJbJL6Cb556Sb5VixyLoAoJUv EvRDDee9X3/dd3ZajK4UVYNo =nMH/ -----END PGP SIGNATURE----- |
From: Doug B. <br...@cl...> - 2003-11-02 02:17:52
|
Unfortunately, jdk 1.4.2_02 is what I'm already using :-(. You can tell from the first lines of the activity log. Patric Bechtel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 01 Nov 2003 19:19:34 -0500, Slava Pestov wrote: > > Hello Slava, hello Doug, > > could you try jdk1.4.2_02, as there was a fix in always reallocating GraphicsConfiguration objects, which hit some Dual Screen Scenarios? Looks like the exact > problem described in the bug report mentioned in the release notes... at least AFAR. > > tia > Patric |
From: Doug B. <br...@cl...> - 2003-11-02 02:47:04
|
Much better with the first set of suggested code changes. No multi-second delay between any of the startup logging messages now. What capability is lost with this change? Slava Pestov wrote: > Thanks for investigating this far! > > Now, can you try changing the code from line 97 to line 111 in > OperatingSystem.java to this: > > GraphicsConfiguration gc = gd[i].getDefaultConfiguration(); > L2: // Don't add duplicates > if (window.intersects(gc.getBounds())) > { > for (Enumeration e = intersects.elements(); e.hasMoreElements();) > { > GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); > if (gcc.getBounds().equals(gc[j].getBounds())) > break; > } > intersects.add(gc); > } > > (Instead of calling getConfigurations() and checking each, it only calls > getDefaultConfiguration().) > > If this doesn't help, try changing the call to > OperatingSystem.getScreenBounds(Rectangle) in > GUIUtilities.loadGeometry() to call OperatingSystem.getScreenBounds(). > Both APIs do the same thing, however the latter is not multiple-monitor > aware, and it does not call any GraphicsDevice/GraphicsConfiguration > APIs. > > On Sat, 2003-11-01 at 17:53, Doug Breaux wrote: > >>Looks like: >> SearchDialog.preloadSearchDialog() -> >> SearchDialog constructor -> >> GUIUtilities.loadGeometry() -> >> GUIUtilities.adjustForScreenBounds() -> >> OperatingSystem.getScreenBounds(Rectangle) -> >> gd[i].getConfigurations() >> >>i.e. in java.awt.GraphicsDevice :-( Perhaps video driver related? Both >>of my machines have nVidia graphics, although one is a GeForce Ti4200 >>and the other is an on-board Vanta. >> >>Activity log attached. >> >>Incidentally, I tried with the Sun 1.3.1 JDK as well, and the same delay >>occurred at the same place. >> >>Also, I think the status bar is finished around where the >>PerspectiveManager logs that it's loading perspective.xml, and several >>other things occur between that and the getConfigurations call, but the >>delay at getConfigurations is by far the largest component. >> >>Slava Pestov wrote: >> >> >>>Hi, >>> >>>So it seems SearchDialog.preloadSearchDialog() is the curplit. Can you >>>continue your investigation in this method? >>> >> >> >>______________________________________________________________________ >>Log file created on Sat Nov 01 16:20:35 CST 2003 >>IMPORTANT: >>Because updating this file after every log message would kill >>performance, it will be *incomplete* unless you invoke the >>Utilities->Troubleshooting->Update Activity Log on Disk command! >>[message] Log: When reporting bugs, please include the following information: >>[message] Log: java.version=1.4.2_02 >>[message] Log: java.vm.version=1.4.2_02-b03 >>[message] Log: java.runtime.version=1.4.2_02-b03 >>[message] Log: java.vendor=Sun Microsystems Inc. >>[message] Log: java.compiler=null >>[message] Log: os.name=Windows XP >>[message] Log: os.version=5.1 >>[message] Log: os.arch=x86 >>[message] Log: user.home=C:\Documents and Settings\Doug >>[message] Log: java.home=C:\Program Files\Java\j2re1.4.2_02 >>[message] Log: java.class.path=jedit.jar >>[notice] jEdit: jEdit version 4.2pre6 >>[message] jEdit: Settings directory is C:\Documents and Settings\Doug\.jedit >>[message] jEdit: jEdit home directory is C:\Data\src\jEdit4.2\jEdit >>[debug] EditServer: jEdit server started on port 2295 >>[debug] EditServer: Authorization key is 2072234645 >>[debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/actions.xml >>[debug] DockableWindowManager: Loading dockables from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/dockables.xml >>[debug] jEdit: Loading services from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/services.xml >>[debug] EditBus: SearchSettingsChanged[source=null] >>[notice] jEdit: Loading plugins from C:\Data\src\jEdit4.2\jEdit\jars >>[notice] jEdit: Loading plugins from C:\Documents and Settings\Doug\.jedit\jars >>[message] BufferHistory: Loading recent.xml >>[message] KillRing: Loading killring.xml >>[debug] jEdit: SOCKS proxy disabled >>[debug] jEdit: HTTP proxy disabled >>[debug] EditBus: PropertiesChanged[source=null] >>[message] jEdit: Loading mode catalog file C:\Data\src\jEdit4.2\jEdit\modes\catalog >>[message] jEdit: Loading mode catalog file C:\Documents and Settings\Doug\.jedit\modes\catalog >>[debug] Macros: Registered beanshell macro handler >>[debug] EditBus: DynamicMenuChanged[menu=macros,source=null] >>[message] BeanShell: Running script C:\Data\src\jEdit4.2\jEdit\startup\startup.bsh >>[debug] String: BeanShell interpreter version 1.3.0-jedit1 >>[message] PerspectiveManager: Loading C:\Documents and Settings\Doug\.jedit\perspective.xml >>[debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >>[debug] EditBus: BufferUpdate[what=CREATED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >>[debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=CREATED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=CREATED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[error] AWT-EventQueue-0: 1. enableEvents >>[error] AWT-EventQueue-0: 2. getEditorIcon >>[error] AWT-EventQueue-0: 3. new DockableWindowManager >>[error] AWT-EventQueue-0: 4. new JPanels >>[error] AWT-EventQueue-0: 5. new ToolBarManager >>[error] AWT-EventQueue-0: 6. new StatusBar >>[error] AWT-EventQueue-0: 7. new DefaultInputHandler >>[error] AWT-EventQueue-0: 8. try restoreSplitConfig >>[debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=plain,size=12] >>[debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=italic,size=12] >>[debug] TextAreaPainter: Using monospaced font optimization: java.awt.Font[family=monospaced,name=monospaced,style=bold,size=12] >>[debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] >>[error] AWT-EventQueue-0: 9. getContentPane().add >>[error] AWT-EventQueue-0: 10.dockableWindowManager.init >>[error] AWT-EventQueue-0: 11.propertiesChanged >>[error] AWT-EventQueue-0: 12.setDefaultCloseOperation >>[error] AWT-EventQueue-0: 13.EditBus.addToBus >>[error] AWT-EventQueue-0: 14.SearchDialog.preloadSearchDialog >>[error] AWT-EventQueue-0: 1. (after) super >>[error] AWT-EventQueue-0: 2. new JPanel >>[message] HistoryModel: Loading history.xml >>[error] AWT-EventQueue-0: 3. pack >>[error] AWT-EventQueue-0: 4. unsetProperty >>[error] AWT-EventQueue-0: 5. loadGeometry >>[error] AWT-EventQueue-0: 1. win.getSize >>[error] AWT-EventQueue-0: 2. getDefaultScreenDevice >>[error] AWT-EventQueue-0: 3. getBounds >>[error] AWT-EventQueue-0: 4. getParent >>[error] AWT-EventQueue-0: 5. adjustForScreenBounds >>[error] AWT-EventQueue-0: 1. getScreenBounds >>[error] AWT-EventQueue-0: 1. getScreenDevices >>[error] AWT-EventQueue-0: 2. getConfigurations >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 3. intersects >>[error] AWT-EventQueue-0: 4. elements >>[error] AWT-EventQueue-0: 5. equals >>[error] AWT-EventQueue-0: 1.5getScreenBounds >>[error] AWT-EventQueue-0: -- end of adjustForScreenBounds -- >>[error] AWT-EventQueue-0: 5.5 adjustForScreenBounds >>[error] AWT-EventQueue-0: 6. setBounds >>[error] AWT-EventQueue-0: -- end of loadGeometry -- >>[error] AWT-EventQueue-0: 6. load >>[error] AWT-EventQueue-0: 7. EditBus.addToBus >>[error] AWT-EventQueue-0: -- end of constructor (SearchDialog) -- >>[error] AWT-EventQueue-0: -- end of constructor -- >>[debug] ActionSet: Loading actions from jar:file:/C:/Data/src/jEdit4.2/jEdit/jedit.jar!/org/gjt/sp/jedit/browser.actions.xml >>[debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[inactive]] >>[debug] EditBus: EditorStarted[source=null] >>[message] jEdit: Startup complete >>[debug] WorkThread: Work request thread starting [jEdit I/O #4] >>[debug] WorkThread: Work request thread starting [jEdit I/O #3] >>[debug] WorkThread: Work request thread starting [jEdit I/O #2] >>[debug] WorkThread: Work request thread starting [jEdit I/O #1] >>[debug] WorkThread: Running in work thread: [id=1,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)]] >>[debug] WorkThread: Running in work thread: [id=3,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)]] >>[debug] WorkThread: Running in work thread: [id=5,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=LOAD,buffer=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)]] >>[debug] WorkThread: Running in work thread: [id=8,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@8e4805,path1=C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\,path2=null]] >>[notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\java.xml >>[notice] jEdit: Loading edit mode C:\Data\src\jEdit4.2\jEdit\modes\xml.xml >>[debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >>[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=SearchDialog.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\search\)] >>[debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=GUIUtilities.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=OperatingSystem.java (C:\Data\src\jEdit4.2\jEdit\org\gjt\sp\jedit\)] >>[debug] FileRootsVFS: Java 1.4 FileSystemView detected >>[debug] EditBus: EditorExitRequested[source=org.gjt.sp.jedit.View[active]] >>[message] PerspectiveManager: Saving C:\Documents and Settings\Doug\.jedit\perspective.xml >>[debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >>[debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >>[debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null] >>[debug] EditBus: EditPaneUpdate[what=DESTROYED,source=org.gjt.sp.jedit.EditPane[active]] >>[debug] EditBus: EditorExiting[source=null] >>[message] HistoryModel: Saving history >>[message] BufferHistory: Saving C:\Documents and Settings\Doug\.jedit\#recent.xml#save# >>[message] KillRing: Saving killring.xml |
From: Slava P. <sl...@je...> - 2003-11-02 04:57:15
|
On Sat, 2003-11-01 at 21:46, Doug Breaux wrote: > Much better with the first set of suggested code changes. No > multi-second delay between any of the startup logging messages now. > What capability is lost with this change? As far as I know, none at all! Thanks for helping me track down the cause of the slowdown. I will incorporate this change in 4.2pre7. -- Slava Pestov |