Varun
Varun

Reputation: 5061

Exploring threads in Java

I am looking forward to develop something to analyze the JVM threads of an application running on a server, the requirement is as below:

  1. to access all the threads running in separate application
  2. Print the stack of threads
  3. Get to know the details of the events- logging the execution time alongside method details(executed in a particular thread)

I have worked out on 1 and 2 but unsure how to proceed with point 3 without actually updating the existing application (adding aop).

Is there any feature been provided by JVM to do so?

Upvotes: 2

Views: 58

Answers (2)

Harish
Harish

Reputation: 269

You can go thorugh the eclipse plugin provided for JVM monitoring..

http://jvmmonitor.org/doc/index.html

Upvotes: 1

Kayaman
Kayaman

Reputation: 73578

You'll want to look into JPDA (Java Platform Debugger Architecture).

Upvotes: 1

Related Questions