According to http://java.sun.com/docs/hotspot/VMOptions.html
-XX:+PrintInlining might give some interesting stats... it says "(debug only)" Does that mean a debug build of the VM?
I tried it and the option was not recognized. Is there any way to determine if something gets inlined or not?
I'm experimenting with how different techniques might effect HotSpot.. for instance is a method any more likely to be inlined if it is declared final? I know it doesn't have to be final to be inlined, but I would like to know if being final boosts the chances at all. If so it might be worth making some specific methods final , but I wouldn't want to do that to my code unless there was a tangible benefit.