Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.ui.ide.application;singleton:=true
Bundle-Version: 1.5.600.qualifier
Bundle-Version: 1.5.700.qualifier
Bundle-Vendor: %Plugin.providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui.ide;bundle-version="[3.21.0,4.0.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ public class IDEApplication implements IApplication, IExecutableExtension {
*/
public static final String PLUGIN_ID = "org.eclipse.ui.ide.application"; //$NON-NLS-1$

/**
* Suspending JobManager can be forced by specify VM property:
* {@code -Dorg.eclipse.ui.suspendJobManagerDuringStart=true}
*/
static final boolean SUSPEND_JOBMANAGER_DURING_START = Boolean
.getBoolean("org.eclipse.ui.suspendJobManagerDuringStart"); //$NON-NLS-1$

/**
* Creates a new IDE application.
*/
Expand All @@ -146,7 +153,9 @@ public Object start(IApplicationContext appContext) throws Exception {
// is done to reduce resource contention during startup.
// The job manager will be resumed by the
// IDEWorkbenchAdvisor.postStartup method.
Job.getJobManager().suspend();
if (SUSPEND_JOBMANAGER_DURING_START) {
Job.getJobManager().suspend();
}

Display display = createDisplay();
// processor must be created before we start event loop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ public void postStartup() {
} finally {
// Resume the job manager to allow background jobs to run.
// The job manager was suspended by the IDEApplication.start method.
Job.getJobManager().resume();
if (IDEApplication.SUSPEND_JOBMANAGER_DURING_START) {
Job.getJobManager().resume();
}
}
}

Expand Down
Loading