|
Evaluation
|
As part of the startup time optimizations done in 6668037 / 6678929,
the initialization of the Java Console was made multithreaded in the
new Java Plug-In. This caused a race condition between the console's
initial display of the Java version and the help message, and the
application's initial printouts to the console.
To address this problem without losing the startup time benefits of
asynchronously initializing the Java Console, changed the initial
display of the version and the help to print directly to the console
window, and deferred the hooking up of the console's trace listener,
which is a preexisting mechanism which already buffers up the
application's output before it is displayed to the console.
This change requires the calling code to call the new plugin-specific
JavaRunTime.installConsoleTraceListener(); modified both the old and
the new plug-in to call this method appropriately.
Tested on:
- Windows, IE 7, old + new Java Plug-In
- Windows, Firefox 3, old + new Java Plug-In
- Solaris/x86, Firefox 2, old Java Plug-In
- Solaris/x86, Firefox 3, new Java Plug-In
Posted Date : 2008-06-13 00:27:19.0
|