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?
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