Re: Shared memory IPC using NIO memory-mapped files -- anyone done this?

Bob Lee <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On 8/18/07, Randall R Schulz <[email protected]> wrote:
>
> In any decent operating system, memory-mapped file pages are kept in
> core as much as other concurrent file access and RAM demand allows.
> Assuming one's (system-wide) working set does not exceed physical RAM,
> paging of memory-mapped file contents is probably not much of a
> problem.
>
> What's more, since the kernel manages memory globally, it can optimize
> with more comprehensive information than any single process (easily)
> could.


It's not a RAM disk. It still has to write the data to disk which you don't
want when you're just passing data between processes.

Bob

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.