Learning about Java bytecode and the JVM

前端 未结 6 546
孤独总比滥情好
孤独总比滥情好 2021-01-29 19:15

In a recent question asked recently my simple minded answer highlighted many of my misconceptions about Java, the JVM, and how the code gets compiled and run. This has created

6条回答
  •  既然无缘
    2021-01-29 19:53

    The Apache BCEL will allow you to analyse and hand craft .class files from bytecode.

    javap will allow you to disassemble existing .class files. It's particularly useful for knocking up quick test classes to understand what is really going on underneath the covers.

提交回复
热议问题