Simple JVM written in Golang
Mainly referenced from zxh0/jvm.go , and added many Chinese comments
This project is used to familiarize myself with Golang and JVM. Actually, it works well
- command line startup
supported arguments
done:
version
verbose
verbose:class
verbose:inst
classpath
cp
Xjre
class
args
todo:
Xms
Xmx
Xss
- load and parse class file
- runtime data
- JVM instructions ( 195 instructions completed )
- method call
- array support
- string support
- native method call
- exception handling
- implement native methods...
- multifaceted optimization...