Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can ask the JVM to dump the actual instructions (https://javanexus.com/blog/printing-assembly-code-hotspot-ji...).

Just note that there may be differences between the very old APIs (as in your example), and the newer NIO (https://docs.oracle.com/en/java/javase/24/docs/api/java.base...), and you need to pay attention to text output that undergoes characeter set encoding (as in your example) vs binary output.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: