Thanks everyone for the prompt reply. @Tom, I agree unfortunately the Eclipse IDE has multiple long running activators, e.g., JDT UI takes 1/2 a second and these startups add up. The SDK starts for example for me in approx. 8 seconds while an EPP may need > 20 seconds. And fixing all of the IDE contributions is not realistic.
On Fri, Oct 26, 2018 at 3:09 PM Thomas Watson <[email protected]> wrote: > > Neil and Gunner are correct. I also question the motivation to running > activators in parallel. In implies some kind of design flaw because you must > have some long running BundleActivators if you want to run them in parallel. > You are better off investigating why you must have long running > BundleActivators. > > Tom > > > > > ----- Original message ----- > From: Neil Bartlett <[email protected]> > Sent by: [email protected] > To: Equinox development mailing list <[email protected]> > Cc: > Subject: Re: [equinox-dev] Parallel bundle activation? > Date: Fri, Oct 26, 2018 7:20 AM > > Hi Lars, > > Activation of a bundle happens when the launcher calls Bundle.start(). You > can certainly write a launcher that calls start() on many bundles > concurrently from multiple threads. > > Most existing launchers, including AFAICT the default Eclipse/Equinox > launcher, call start() in series. > > Neil > > On Fri, Oct 26, 2018 at 1:12 PM Gunnar Wagenknecht <[email protected]> > wrote: > > Hi Lars, > > Here is a good thread about the topic: > https://www.eclipse.org/forums/index.php/t/206827/ > > TLDR: single thread only > > -Gunnar > > -- > Gunnar Wagenknecht > [email protected], http://guw.io/ > > > > > > > > On Oct 26, 2018, at 14:09, Lars Vogel <[email protected]> wrote: > > Hi, > > can Equinox perform bundle activation during startup in parallel? > > For example, lets assume I have two bundles A and B which have no > dependency to each other. Both should be activated during startup. Can > this be done in parallel? Or is the current code single-threaded? > > Best regards, Lars > > -- > Eclipse Platform project co-lead > CEO vogella GmbH > > Haindaalwisch 17a, 22395 Hamburg > Amtsgericht Hamburg: HRB 127058 > Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel > USt-IdNr.: DE284122352 > Fax (040) 5247 6322, Email: [email protected], Web: > http://www.vogella.com > _______________________________________________ > equinox-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/equinox-dev > > _______________________________________________ > equinox-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/equinox-dev > > _______________________________________________ > equinox-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/equinox-dev > > > > _______________________________________________ > equinox-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/equinox-dev -- Eclipse Platform project co-lead CEO vogella GmbH Haindaalwisch 17a, 22395 Hamburg Amtsgericht Hamburg: HRB 127058 Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel USt-IdNr.: DE284122352 Fax (040) 5247 6322, Email: [email protected], Web: http://www.vogella.com _______________________________________________ equinox-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
