Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 318291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:33:21+00:00 2026-05-12T08:33:21+00:00

If I instrument two jars in emma, point them to the same emma session

  • 0

If I instrument two jars in emma, point them to the same emma session file, and then run them concurrently (e.g., a client and a server), should I expect things to work or fail miserably? The jars are building out of common source, so I don’t expect problems with the metadata.

I didn’t see anything about this in documentation, so if it is there a pointer would certainly be welcomed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:33:22+00:00Added an answer on May 12, 2026 at 8:33 am

    No it can’t. Emma writes out the result of instrumentation when the process ends for the most part. It overwrites any file in the existing position, but it is also writing out a text file and has no direct support for merging as it goes along or of merging multiple reports.

    There is however a profiling tool that might help you do this called Grobo. It has a profiling mode “safe” which writes every event to the logging file and then closes that log file. That may allow multiple instances to run and output to the same place and give you up to date profiling information without shutting down the process. An older version used to allow the merging of coverage reports but the latest version makes no mention of it. I have used it in the past where Tomcat was killing the Emma profiling thread before it finished writing out, and in that scenario the safe mode worked to ensure all coverage data was written without problems. It can also be used to get coverage part way through a set of tests which with integration tests can sometimes be very useful.

    The other option, and likely the best one, is Cobertura. It has the ability to merge multiple report files and hence you could run each of your Java processes with a different output file and then merge them all at the end to produce your report of combined coverage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My leak instrument indicates that I have a retain count of two yet I
I am using the leak instrument first time. i am getting two leaks in
I have: // file model.h #include instrument.h class model { // A function which
Hi I'm using a table which two columns namely instrument and method. On click
Suppose you have two tables: Musicians musicianID (primary key, int) name (varchar) instrument (varchar)
I am following this guide developer instrument guide and RayWenderlich's tutorial to view and
Im building a sample pad type instrument for a project, i have four channels
The steps that I followed to instrument the Cobertura instrumenting the sources with cobertura
now i'm working on a project for creating audio unit instrument that provide the
i am writing a simple timer aspect to instrument all the methods in all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.