3 ms·
There's some flag you can give the JVM which will make it dump out the assembly for JITted code. That is an enlightening read. There is all sorts of weird stuff
by twic 4y ago
There's some flag you can give the JVM which will make it dump out the assembly for JITted code. That is an enlightening read. There is all sorts of weird stuff going on in there to do with safepoints, dynamic deoptimisation, etc.
- kaba0 4y agoYou can also use JITwatch to do it from a GUI, similarly to what godbolt does (showing corresponding byte code)!