Opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=540507 to
investigate a parallel activation of bundles. We are doing a similar
thing for the JDT compiler in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=531554 and if this is
possible bundle activation should also be possible.

Thanks again for the help, Lars
On Fri, Oct 26, 2018 at 3:13 PM Lars Vogel <lars.vo...@vogella.com> wrote:
>
> 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 <tjwat...@us.ibm.com> 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 <njbartl...@gmail.com>
> > Sent by: equinox-dev-boun...@eclipse.org
> > To: Equinox development mailing list <equinox-dev@eclipse.org>
> > 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 <gun...@wagenknecht.org> 
> > 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
> > gun...@wagenknecht.org, http://guw.io/
> >
> >
> >
> >
> >
> >
> >
> > On Oct 26, 2018, at 14:09, Lars Vogel <lars.vo...@vogella.com> 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: lars.vo...@vogella.com, Web: 
> > http://www.vogella.com
> > _______________________________________________
> > equinox-dev mailing list
> > equinox-dev@eclipse.org
> > 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
> > equinox-dev@eclipse.org
> > 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
> > equinox-dev@eclipse.org
> > 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
> > equinox-dev@eclipse.org
> > 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: lars.vo...@vogella.com, Web: 
> http://www.vogella.com



-- 
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: lars.vo...@vogella.com, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to