Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Parallel bundle activation?

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 <njbartlett@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
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 <gunnar@xxxxxxxxxxxxxxx> wrote:
Hi Lars,
 
Here is a good thread about the topic:
 
TLDR: single thread only
 
-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/
 



 
 
On Oct 26, 2018, at 14:09, Lars Vogel <lars.vogel@xxxxxxxxxxx> 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.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
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@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev
 


Back to the top