How to Optimize Java Applications for Better Performance.