Restore VM work

A friend ask me to implement a simple JVM few days before. I was quite interesting at this area half year before. A JVM was almost implemented except multiple thread feature. It was just did not work when I tried to run it. I gave up to restore it after few days struggling. I dicided to create it from skratch. I am trying write it down in English for improve my English.

 

After few days work I implemented a few features.

 

File reader:

Functions in this file implement most basic file reader. It is used to isolate architecture of hardware (big endian of small endian).

 

Class File Reader:

Functions in this file read JAVA class file (binary format) to memory format

 

bcode implementation:

Implement a simpel add method invokation

JNI implementation:

Implement a simple JNI invokation

Test Framework:

Implement a test framework. It is really need some basic test for developing. Otherwise I can not confidence that whether codes I chanced don't break old functions.

你可能感兴趣的:(jvm,thread,jni,UP)