[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why two threads in Soot?
Hi Jooyong,
Jooyong Lee <jlee@brics.dk> wrote:
> I am starting to read the tutorial about "goto instrumenter", and come
> to wonder why two threads are calling "internalTransform" method, which
> appears to make it hard to control the transformation. Anybody would
> like to give me an answer?
I think it is just a precaution. If your code is single-threaded,
then of course only one thread will be calling the transformation.
I would guess most Soot analyses assume they are being called by a
single thread in general and are not as considerate. :)
Cheers,
Navin.