I just ran across this info on the spray.io website and wanted to remember it here. The image shows a couple of flags that can be used to show Java JVM garbage collection and hot spot compiler information. In particular the second flag shows when the hot spot compiler is “done”.
A Java compile example: How to compile a Java program from a Unix/Linux shell script.
From time to time circumstances come up where I don't have Ant or an Ant-based project to compile my Java programs. On those occasions (which are very rare these days), I typically use a Linux shell script to compile my Java classes. I thought I'd share this "java compile" shell script here today.
I was scanning over a Java performance programming book the other night, and it reminded me about a
javac compiler option I had forgotten about. The short story is that they suggest you can use this command: