Is there any tool for handling java applications in Windows 7?

I created a Java project. In this project, I used file creation, deletion for file manipulation operations using a file handler. so I need to see these file handlers when debugging a project. I tried the following command JPS, JSTACK , etc. These tools display the process ID, class name, package name.

But I need to know the actual functionality of each class. For example, creating an object, creating a file, removing objections, etc. Is there any tool for windows?

+4
source share
1 answer

Using -XX:+PrintCompilation can help you.

The -XX:+PrintCompilation flag -XX:+PrintCompilation looks something like this:

 1 sb java.lang.ClassLoader::loadClassInternal (6 bytes) 2 b java.lang.String::lastIndexOf (12 bytes) 3 s!b java.lang.ClassLoader::loadClass (58 bytes) 

Flags correspond to:

 b Blocking compiler (always set for client) * Generating a native wrapper % On stack replacement ! Method has exception handlers s Synchronized method 

More details .


Alternatively, perhaps you can try javamelody to monitor your applications.

Here are some screenshots: all charts

enter image description here

enter image description here

+1
source

All Articles