Memory-Mapped Files & Transparent Persistence of Java Objects
- by geeko
Greeting All,
I want to achieve transparent persistence of Java objects through memory-mapped files (utilize the OS paging/swapping mechanism).
My problem is: how can I move a Java object to my memory-mapped block ?
Plus, how can I force a new object instance to reside in such blocks ?
As you all know, a memory-mapped block can be seen as a byte array, and what I am really asking here is how to overlap the address space of Java objects with the one of such arrays ?
If Java does not allow me for this, what cross-platform & garbage-collecting OO language would you advise me to use ?
Thank you all in advance.