Multithreaded saety
Alexey Fedorchenko
Alexey.Fedorchenko at oracle.com
Fri Oct 14 23:37:19 UTC 2016
If I understand your request, you are interested in the following configuration:
JCov network grabber and the same static instrumented product in different VMs simultaneously.
You should not expect any problems here, grabber will merge the sent coverage data from
different VMs and produce one result.xml file (the merge and the result is based on specified
template.xml file for grabber).
Please, let us know how you are trying to receive coverage in your configuration.
—Alexey
> On 14 Oct 2016, at 21:41, José Cornado <jose.cornado at gmail.com> wrote:
>
> 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 <mailto: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 <mailto: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