You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4afde40
Browse filesBrowse the repository at this point in the historyBrowse files
Reduce startup time from ~72s to ~49ms by eliminating unnecessary
subprocess calls, system scans, and disk I/O on the critical path:
- Read JDK release file instead of spawning java -version subprocess
in getMajorVersion() (was ~33s per call)
- Skip listJdks() system scan in resolveRequirements when toolingJre
is valid - defer JDK discovery after server startup via
didChangeConfiguration notification (was ~16s)
- Defer addAutoDetectedJdks in getJavaConfig until after server start
by adding skipAutoDetection parameter
- Use context.extension.packageJSON.version instead of reading and
parsing package.json from disk in getVersion() (3 calls at startup)
Signed-off-by: azerr <azerr@redhat.com>
logger.info("Use the JDK from 'java.configuration.runtimes' as the initial default project JDK.");
110
105
}else{
111
-
openJDKDownload(reject,"Please download and install a JDK to compile your project. You can configure your projects with different JDKs by the setting ['java.configuration.runtimes'](https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements#java.configuration.runtimes)");
0 commit comments