Speed up platform startup time by priming SCLOsgi
Current situation
INFO [2018-11-30 14:02:51,990] org.simantics.SimanticsPlatform: Beginning of SimanticsPlatform.startUp
INFO [2018-11-30 14:02:52,065] org.simantics.project.management.ServerManagerFactory: ServerManagerFactory.create called with id acorn, driver is org.simantics.acorn.AcornDriver@6339e604.
!SESSION 2018-11-30 14:02:31.914 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product fi.semantum.gams.ui.desktopProduct --launcher.XXMaxPermSize 192m -fixerrors -cssTheme org.eclipse.e4.ui.css.theme.e4_classic
Command-line arguments: -product fi.semantum.gams.ui.desktopProduct -data C:\ws\gams/../runtime-MONA.product -dev file:C:/ws/gams/.metadata/.plugins/org.eclipse.pde.core/MONA.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog --launcher.XXMaxPermSize 192m -fixerrors -data @noDefault -cssTheme org.eclipse.e4.ui.css.theme.e4_classic
!ENTRY org.simantics 1 0 2018-11-30 14:02:52.078
!MESSAGE Initializing database at C:\rt\gams-mathias\db with driver acorn
INFO [2018-11-30 14:02:52,555] org.simantics.acorn.MainState: Removed useless working folder C:\rt\gams-mathias\db\40
INFO [2018-11-30 14:02:53,076] org.simantics.SimanticsPlatform: Database setup complete
INFO [2018-11-30 14:02:53,136] org.simantics.SimanticsPlatform: Asserting all ontologies are installed
INFO [2018-11-30 14:02:53,168] org.simantics.SimanticsPlatform: find installed bundles from database
INFO [2018-11-30 14:02:53,228] org.simantics.SimanticsPlatform: load all transferable graphs from platform
INFO [2018-11-30 14:02:53,411] org.simantics.SimanticsPlatform: extend bundles to compile versions
INFO [2018-11-30 14:02:53,412] org.simantics.SimanticsPlatform: check bundle reinstallation demand
INFO [2018-11-30 14:02:53,413] org.simantics.SimanticsPlatform: Merging ontology changes
INFO [2018-11-30 14:02:53,534] org.simantics.SimanticsPlatform: Analyzed graph bundles
INFO [2018-11-30 14:02:53,610] org.simantics.SimanticsPlatform: Ontologies synchronized
INFO [2018-11-30 14:02:53,630] org.simantics.SimanticsPlatform: Installed all features into project
INFO [2018-11-30 14:02:53,651] org.simantics.SimanticsPlatform: Flush query cache
INFO [2018-11-30 14:02:53,667] org.simantics.SimanticsPlatform: Open database session
INFO [2018-11-30 14:02:53,680] org.simantics.SimanticsPlatform: Session context created
INFO [2018-11-30 14:02:53,686] org.simantics.db.services.GlobalServiceInitializer: Initializing..
INFO [2018-11-30 14:02:53,688] org.simantics.db.services.AdaptionServiceInitializer: Initializing
INFO [2018-11-30 14:02:53,699] org.simantics.db.services.adaption.AdapterRegistry2: Initializing
INFO [2018-11-30 14:02:54,142] org.simantics.scl.osgi.internal.Activator: Warming up SCL-compiler with StandardLibrary
INFO [2018-11-30 14:02:54,146] org.simantics.db.services.adaption.AdapterRegistry2: Adapters installed
INFO [2018-11-30 14:02:54,146] org.simantics.db.services.AdaptionServiceInitializer: Updating
INFO [2018-11-30 14:02:54,954] org.simantics.db.services.GlobalServiceInitializer: initialize: org.simantics.internal.AutosaveServiceInitializer (id=org.simantics.autosave)
INFO [2018-11-30 14:02:54,964] org.simantics.db.services.GlobalServiceInitializer: initialize: org.simantics.db.indexing.IndexedRelationsInitializer (id=org.simantics.db.indexing.IndexedRelationsInitializer)
INFO [2018-11-30 14:02:54,970] org.simantics.db.services.GlobalServiceInitializer: initialize: org.simantics.db.layer0.service.impl.ActivationServiceInitializer (id=org.simantics.db.layer0.service.ActivationServiceInitializer)
INFO [2018-11-30 14:02:54,972] org.simantics.db.services.GlobalServiceInitializer: initialize: org.simantics.db.services.activation.ActivationManagerInitializer (id=org.simantics.db.services.activation.ActivationServiceInitializer)
INFO [2018-11-30 14:02:54,975] org.simantics.SimanticsPlatform: Session services registered
INFO [2018-11-30 14:02:54,977] org.simantics.SimanticsPlatform: Put ResourceBinding that throws an exception to General Bindings
INFO [2018-11-30 14:02:54,980] org.simantics.SimanticsPlatform: Register datatype bindings
INFO [2018-11-30 14:02:54,985] org.simantics.SimanticsPlatform: Load project
INFO [2018-11-30 14:02:55,019] org.simantics.SimanticsPlatform: Loading projects complete
INFO [2018-11-30 14:02:55,019] org.simantics.SimanticsPlatform: Activate project
INFO [2018-11-30 14:02:55,019] org.simantics.project.impl.Project: Configuring project feature org.simantics.modeling.LifeCycleProcesses@5fafa76d
INFO [2018-11-30 14:02:58,076] org.simantics.modeling.LifeCycleProcesses: Done
INFO [2018-11-30 14:02:58,076] org.simantics.project.impl.Project: Configuring project feature org.simantics.project.features.DependencyValidationFeature@58b03029
INFO [2018-11-30 14:02:58,083] org.simantics.project.impl.Project: Configuring project feature org.simantics.project.features.DependencyValidationFeature@3428420d
INFO [2018-11-30 14:02:58,085] org.simantics.project.impl.Project: Configuring project feature org.simantics.simulation.project.ExperimentSupportFeature@523ade68
INFO [2018-11-30 14:02:58,300] org.simantics.SimanticsPlatform: Project activated
INFO [2018-11-30 14:02:58,332] org.simantics.workbench.internal.SimanticsWorkbenchAdvisor: startPlatform finished
Edited by Tuukka Lehtonen