2 ms·
... and VisualVM, and Flight Recorder + Java Mission Control, and BTrace/Byteman... the list goes on and on. If you need to, you can print out the assembly code
by pron 13y ago
... and VisualVM, and Flight Recorder + Java Mission Control, and BTrace/Byteman... the list goes on and on. If you need to, you can print out the assembly code generated by the JIT at runtime, modify your code on the fly, and see how the assembly changes. Erlang's BEAM VM has some of these capabilities, but not the JVM's performance. Other runtimes are decades behind.
- pjmlp 13y ago> Other runtimes are decades behind. To be fair, .NET also offers a similar level of support. The only difference is that you have to pay for it, by getting Visual Studio Premium or third party tooling like dotTrace which plug into the CLR monitoring API. For many people, the fact that they get such tools without paying a dime is a selling point for the JVM vs .NET.
- pron 13y agoYes, .NET is excellent, too. But it's Windows only.
- pjmlp 13y agoMany of us don't have a problem with it. :) On my type of work, the tools are chosen by the customers, not me. So usually .NET in Windows only shops, JVM languages in heterogeneous shops, and a little sprinkle of C++ via JNI/Interop if really required.