Re: build felix

2009-03-14 Thread Joshua Yan
Hi, I appreciate your helping me. i will import the felix source code according to what you said, and hope i can begin my studying. i imported some projects into eclipse last night,and ran the example/servicebased... with felix 1.2 the way i used as following: 1) check out the source code f

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread João Ferreira
Hi I already read about VM kit in this paper [1], but its more focused in security for a JVM and they do heavy modification in the VM. I think i can resolve my problem with Felix modifications and a bit of JVM TI[2] using. For what i have understand of the code i think its possible to do what i wa

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread Marcel Offermans
On Mar 14, 2009, at 22:22 , Stevens Gestin wrote: For my OSGI bundles development I choose to make bundles as independent as possible on other bundles. In this approach, I'm not sharing libraries like logging, SAX, etc. and each bundle uses its own library set. Is this a bad concept? No,

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread Stevens Gestin
VMKit is a very interresting project. Thanks. For my OSGI bundles development I choose to make bundles as independent as possible on other bundles. In this approach, I'm not sharing libraries like logging, SAX, etc. and each bundle uses its own library set. Is this a bad concept? Stevens On Sat,

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread Marcel Offermans
Hello João, After reading what you're trying to do, I immediately had to think about some research I learned about when attending FOSDEM'09 recently. It's called VMKit, and based on it, they are doing research into using a new isolation abstraction for OSGi. References: http://vmkit.llvm

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread Richard S. Hall
My tip is essentially to just try to start your thread before the calling thread gets the locks in question. If that is not possible, you will have to look at which locks it acquires. If they are part of the locking protocol implemented by Felix, then you might be able to modify them to make t

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread João Ferreira
Hi Yes Im using trunk code. I got this idea from this previous work [1] but unfortunately the code is not available. Im not sure i understand your tips, because im not very familiar with the code and what the start level is supposed to do. What i need is that the start() method of the bundle is

Re: Isolation of OSGI resources and lock problems

2009-03-14 Thread Richard S. Hall
I am not sure what you want to do is possible. At a minimum, you would have to do your hand off before the start level thread acquires the locks. If the start level thread is only acquiring lock objects, you could potentially modify them to make them transferable to another thread, but this wo

Isolation of OSGI resources and lock problems

2009-03-14 Thread João Ferreira
Hi I'm doing some work in OSGi in an attempt to add better resource monitoring to osgi applications. My objective is to isolate the cpu consumption across the different bundles. To implement this my strategy is to group the different threads in ThreadGroups, where there is a different ThreadG

Re: build felix

2009-03-14 Thread João Ferreira
Hi The development environment i have in eclipse is the following: 1) a maven/java project of the felix trunk. i imported this project using import->maven->checkout maven projects from SCM. The sub modules of trunk aren't java projects in the eclipse environment. 2) a maven/java project of the

Re: build felix

2009-03-14 Thread Richard S. Hall
Not sure how up to date this is, but maybe it can help: http://felix.apache.org/site/integrating-felix-with-eclipse.html -> richard On 3/14/09 3:32 AM, Joshua Yan wrote: hi,all I am studying OSGI and reading felix source code I want to build felix in eclipse,but failed. i use maven p

build felix

2009-03-14 Thread Joshua Yan
hi,all I am studying OSGI and reading felix source code I want to build felix in eclipse,but failed. i use maven plugin to import felix source code into eclipse,but not all projects work who can tell me how to generate eclipse project with felix source code? thanks in advance Joshua Y