lljvm
lljvm copied to clipboard
Distinguish beetwen virtual and physical memory
Today Memory class handle paging with multiple ByteBuffer. You could use a single ByteBuffer which itself could handle paging.
The main benefit is to separate primitive and utility methods.
Background idea is porting Zero-assembler OpenJdk into jNodes OS. Zero could be booted into a ByteBuffer mapping physical memory to build a boot image.
It just an idea, and that is a minor part, there're lot of work to be usefull... But if anyone is interesting and have some time...