How to interact between two JVMs using memory mapped files?

I was wondering how you synchronize a file with memory mapping in order to safely use it as a channel between two JVMs. Has anyone done this with success?

+6
source share
1 answer

I have a library that does this, but does not use synchronization. It writes once to memory, rather than reusing memory, which simplifies the memory model. Java Chronicle

+2
source

All Articles