Learn how to smart java compiler, make duplicate code lines in your code and after compilation, when you decompile of your compiled source code (.class file) you must see the how optimization is maden :)
Speacially Try-Catch Blocks for that, I prefer!
Monday, September 16, 2013
Wednesday, September 4, 2013
Java, Unknown Threads are perfect strangers, arent they?
Perfect memory usage is necessary for any application.
After write your application it comes to the performance monitoring.
The following comments for heap monitoring.
-verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:filename.ext
when you run your application you get the log file filename.ext.
GcViewer is the best for displaying log file.
Then enjoy!
After write your application it comes to the performance monitoring.
The following comments for heap monitoring.
-verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:filename.ext
when you run your application you get the log file filename.ext.
GcViewer is the best for displaying log file.
Then enjoy!