What does HackerNews think of jitwatch?

Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.

Language: Java

#33 in Java
In Java

    -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintInlining
and

    -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation
The generated logs can be seen with JITWatch [1].

[1] https://github.com/AdoptOpenJDK/jitwatch

If you use Oracle's own IDE, it will support it out of the box, as it already did on Sun's days.

Then there are other ways depending on which JVM implementation is used.

On OpenJDK's case you can load runtime plugin to do it

https://github.com/AdoptOpenJDK/jitwatch

For any compiled language you can read their generated Assembly via online tools like https://godbolt.org/

For .NET languages use https://sharplab.io/

For Java, https://github.com/AdoptOpenJDK/jitwatch

For JavaScript, if using V8 there are the set --print-something flags.

Java might have its issues, but it is one of the languages with best tools available.

For example, most languages eco-systems lack tooling like VisualVM, Mission Control, JITWatch on their canonical implementations.

https://visualvm.java.net/

http://www.oracle.com/technetwork/java/javaseproducts/missio...

https://github.com/AdoptOpenJDK/jitwatch

Also note that although many seem to be focused on Java being Oracle JVM or OpenJDK, there is a pleothora of JDKs both open source and commercial to choose from. With many other features.

For example, most commercial JDKs support AOT compilation to native code.

Or targeting micro-controllers with a few hundred KBs.

Also Java gets bashed by being all about a specific OO model, but VB.NET, C#, Eiffel, Smalltalk follow exactly the same model.

> Is google planning on phasing Java out and using Go?

Until they embrace Go in Android, ChromeOS, their Google Developer SDKs and Google IO sessions, I would say no.