I'm very new to programming and I have the following question.
I have a class:
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
I wish I could see the heaps, threads (internally & externally) that this program used etc.
Are there any tools for it?
Use a debugger, like integrated in Netbeans or Eclipse.
aslo this profiler might be helpful, but it is very advanced.
http://visualvm.java.net/ which is integrated in any recent jvm. But you cannot really see which Thread THIS particular code runs in.
Look at following links:
Java VisualVM
IBM HeapAnalyzer
How can I see what is in my heap in Java?
Viewing live heap in Eclipse
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With