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

  • SEARCH
  • Home
  • 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 6975669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:23:54+00:00 2026-05-27T17:23:54+00:00

I am doing some Java application instrumentation. But the available instrumentation tools that use

  • 0

I am doing some Java application instrumentation. But the available instrumentation tools that use ASM or BCEL only allow to instrument the bytecode. Do you guys know of some tool that can instrument the execution of the application (as in the stuff that is not just there in bytecode but the JVM did it).

For example, if the application has a class A

class A
{
 int a;

 public A()
 {}
}

When I do A obj = new A(), then the byte code will not contain any write to obj.a, but the JVM will do that, AFIK.

There is other stuff as well that can not be captured in bytecode. So, can you guys tell me if there exists such a framework that can capture the operations executed by the JVM.

  • 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-27T17:23:54+00:00Added an answer on May 27, 2026 at 5:23 pm

    If you want complete control over the instrumentation, you ideally need complete access to the source and the ability to modify it. Otherwise you are at the mercy of what the bytecode retains.

    Our DMS Software Reengineering Toolkit is a program transformation system that provides such access to the source. Using its Java Front End, DMS can parse (Java) code, build ASTs, apply arbitrary transforms to the ASTs and regenerated instrumented Java code.

    What you choose to instrument is up to you. This paper on instrumenting code describes how to build classic test coverage, but the ideas are general.

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

Sidebar

Related Questions

I am working on a Java application that will use some Hibernate (annotated by
I'm doing a Java application that requires to use a web browser inside the
I have a java application which doing some logic... ... But the java application
I'm writing a Java GUI application that is doing some XML parsing and analysis.
We are running a Java application that sometimes freezes because some thread is using
I have been doing some reading and have found out that the Java Swing
I'm starting a Web Application project in Java and I've been doing some research
Our java application relies on some resources which are available on a network share.
Well I'm doing some Java - C integration, and throught C library werid type
I'm doing some JAVA coding at home and at work. At home i have

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.