Skip to content

xb-bx/kava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KAVA is JVM written in odin

TODO:

  • Class parser
  • Type system
  • .jar loading
  • JIT(WIP ~50% done)
  • JNI
  • GC
  • Multithreading

Goals:

  • Run Minecraft

Building

run

make all

Debugging with gdb

  • Build the project. Optionally you can build project with BREAKPOINT variable. The jit will insert int3 instruction at the start of the specified method.

    BREAKPOINT='CLASS:METHOD:DESCRIPTOR' make all
  • Start gdb.

  • When you will step into jitted function you will be able to see java bytecode. And also you can use command 'kava-locals' to print local variables.

For whatever reason debugging with src/gdbplugin doesnt work in latest gdb. Should work fine in gdb 11

About

JVM written in Odin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages