MRP with harmony lib can now pass all dacapo-2006 test cases, and all dacapo-9.12-bach test cases with one exception as batik. Harmoy awt implementation has non-implemented methods.
Implementation details:
1. ELF generation
This library uses RandomAccess file to output bytes to hard disk and pass the object to native code to register with GDB. Native code implemented as JikesRVM SysCall. It will map the object file into memory and then manage register and remove of the compiled method.
To fill in length field in object file, elf4j uses placeholders. This lib will update all placeholders after written out content body.
ELF file sections include: ".shstrtab", ".strtab", ".symtab", ".text", ".eh_frame" or ".debug_frame", ".debug_line", ".debug_str", ".debug_abbrev", ".debug_info", ".debug_aranges", ".debug_pubnames", ".debug_pubtypes".