Source:
<code>private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); serviceLoader.load(EngineThreadPools.class); serviceLoader.load(PreviousHostedEngineHost.class); for (SchedulerUtil taskScheduler : taskSchedulers) { log.info("Started task scheduler {}", taskScheduler); } serviceLoader.load(CacheManager.class); Config.setConfigUtils(new DBConfigUtils()); initOsRepository(); if (firstInitialization) { compensate(); firstInitialization = false; } log.info("Running ovirt-engine {}", Config.<String>getValue(ConfigValues.ProductRPMVersion)); serviceLoader.load(CpuFlagsManagerHandler.class); serviceLoader.load(AuditLogCleanupManager.class); serviceLoader.load(TagsDirector.class); serviceLoader.load(IsoDomainListSynchronizer.class); serviceLoader.load(AsyncTaskManager.class); serviceLoader.load(CommandCoordinatorUtil.class); serviceLoader.load(CommandCallbacksPoller.class); serviceLoader.load(CommandEntityCleanupManager.class); initSearchDependencies(); initHandlers(); initVmPropertiesUtils(); final String AppErrorsFileName = "bundles/AppErrors.properties"; final String VdsErrorsFileName = "bundles/VdsmErrors.properties"; errorsTranslator = new ErrorTranslatorImpl(AppErrorsFileName, VdsErrorsFileName); vdsErrorsTranslator = new ErrorTranslatorImpl(VdsErrorsFileName); log.info("Mark incomplete jobs as {}", JobExecutionStatus.UNKNOWN.name()); initJobRepository(); serviceLoader.load(JobRepositoryCleanupManager.class); serviceLoader.load(AutoRecoveryManager.class); initExecutionMessageDirector(); _startedAt = DateTime.getNow(); serviceLoader.load(VmPoolHandler.class); serviceLoader.load(VmPoolMonitor.class); serviceLoader.load(HaAutoStartVmsRunner.class); serviceLoader.load(QuotaManager.class); serviceLoader.load(VmMigrationProgressMonitoring.class); <START> serviceLoader.load(ThreadPoolMonitoringService.class); <END> initAttestation(); updatePredefinedIcons(); iconCleanup(); EngineExtensionsManager.getInstance().engineInitialize(); AuthenticationProfileRepository.getInstance(); AcctUtils.reportReason(Acct.ReportReason.STARTUP, "Starting up engine"); }</code><technical_language>reason loading late? loaded loading EngineThreadPool</technical_language>

Target:
private void initialize() { log.info("Start initializing {}", getClass().getSimpleName()); serviceLoader.load(EngineThreadPools.class); serviceLoader.load(PreviousHostedEngineHost.class); for (SchedulerUtil taskScheduler : taskSchedulers) { log.info("Started task scheduler {}", taskScheduler); } serviceLoader.load(CacheManager.class); Config.setConfigUtils(new DBConfigUtils()); serviceLoader.load(ThreadPoolMonitoringService.class); initOsRepository(); if (firstInitialization) { compensate(); firstInitialization = false; } log.info("Running ovirt-engine {}", Config.<String>getValue(ConfigValues.ProductRPMVersion)); serviceLoader.load(CpuFlagsManagerHandler.class); serviceLoader.load(AuditLogCleanupManager.class); serviceLoader.load(TagsDirector.class); serviceLoader.load(IsoDomainListSynchronizer.class); serviceLoader.load(AsyncTaskManager.class); serviceLoader.load(CommandCoordinatorUtil.class); serviceLoader.load(CommandCallbacksPoller.class); serviceLoader.load(CommandEntityCleanupManager.class); initSearchDependencies(); initHandlers(); initVmPropertiesUtils(); final String AppErrorsFileName = "bundles/AppErrors.properties"; final String VdsErrorsFileName = "bundles/VdsmErrors.properties"; errorsTranslator = new ErrorTranslatorImpl(AppErrorsFileName, VdsErrorsFileName); vdsErrorsTranslator = new ErrorTranslatorImpl(VdsErrorsFileName); log.info("Mark incomplete jobs as {}", JobExecutionStatus.UNKNOWN.name()); initJobRepository(); serviceLoader.load(JobRepositoryCleanupManager.class); serviceLoader.load(AutoRecoveryManager.class); initExecutionMessageDirector(); _startedAt = DateTime.getNow(); serviceLoader.load(VmPoolHandler.class); serviceLoader.load(VmPoolMonitor.class); serviceLoader.load(HaAutoStartVmsRunner.class); serviceLoader.load(QuotaManager.class); serviceLoader.load(VmMigrationProgressMonitoring.class); initAttestation(); updatePredefinedIcons(); iconCleanup(); EngineExtensionsManager.getInstance().engineInitialize(); AuthenticationProfileRepository.getInstance(); AcctUtils.reportReason(Acct.ReportReason.STARTUP, "Starting up engine"); }