How can I take advantage of shared memory support in my Java applications under Linux?

Nathan Meyers

Java doesn't tend to expose OS-specific features like shared memory. You always have the option to allocate, manage, and use blocks of shared memory within JNI code (see the native shmget() and related functions), but I don't believe there's any way to integrate that memory with the heap or reference it directly from Java code.