Multithreaded saety

José Cornado jose.cornado at gmail.com
Fri Oct 14 18:41:51 UTC 2016


Hi, and thanks!

the scenario is, roughly:

I have a container/sandbox server. In each sandbox, the user can engage
jcov to verify the output of an agent.

jcov is invoked by launching separate jvms.

In the event that more than one sandbox happen to run jcov concurrently,
would the results run the risk of end up in the wrong listener? Or should I
change the port numbers?

Jose

On Fri, Oct 14, 2016 at 11:57 AM, Alexey Fedorchenko <
Alexey.Fedorchenko at oracle.com> wrote:

> Hello!
>
>         Please, add a short example of the situation you are trying to
> verify.
> Are you instrumenting all classes that you are interested in ? Are you
> using dynamic or static mode?
>
> Thank you.
>
> —Alexey
>
>
> > On 11 Oct 2016, at 18:19, José Cornado <jose.cornado at gmail.com> wrote:
> >
> > Hello all,
> >
> > I have a short question about threads and jcov.
> >
> > if I am accessing jcov from several threads but verifying the coverage of
> > different classes in the same running jvm, is there a risk that the
> results
> > will be mixed? or are they isolated?
> >
> > Thanks a lot in advance!
> >
> > jose
>
>


More information about the jcov-dev mailing list