Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19411
| From | David Lamb <dalamb@cs.queensu.ca> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: RAM FileDescriptor |
| Date | 2012-10-17 15:08 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <k5mvmg$7gb$2@dont-email.me> (permalink) |
| References | <f6d1d840-9769-447a-893e-f8cce07d2d23@googlegroups.com> <k5hl0v$i7r$1@dont-email.me> <k5hmue$vae$1@dont-email.me> <cWZes.20253$2h5.2462@newsfe20.iad> <507ed2b5$0$288$14726298@news.sunsite.dk> |
On 17/10/2012 11:45 AM, Arne Vajhoej wrote: > On 10/15/2012 3:59 PM, Daniel Pitts wrote: >> On 10/15/12 12:07 PM, David Lamb wrote: >>> I doubt it exists as a general concept and thus probably doesn't exist >>> in Java. I seem to recall that some operating systems from many years >>> ago let you map a file into RAM and operate on it from there, but I'm >>> moderately sure that feature either went through the standard file >>> system stuff and was (nearly) invisible, or you accessed a massive byte >>> array directly. >> Java's NIO does actually have this capability (for example, in >> MappedByteBuffer) >> >> <http://docs.oracle.com/javase/7/docs/api/java/nio/MappedByteBuffer.html> > > At least it maps files into virtual address space. > > Which is probably what David was talking about. Yes; I unfortunately often leave out necessary context. > But strictly speaking it is not mapping into RAM. You're right, and I did mistakenly reuse the OP's 'RAM' instead of the correct "virtual memory"
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RAM FileDescriptor bob smith <bob@coolfone.comze.com> - 2012-10-15 11:08 -0700
Re: RAM FileDescriptor Lew <lewbloch@gmail.com> - 2012-10-15 11:27 -0700
Re: RAM FileDescriptor Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-15 14:34 -0400
Re: RAM FileDescriptor Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 14:41 -0400
Re: RAM FileDescriptor David Lamb <dalamb@cs.queensu.ca> - 2012-10-15 15:07 -0400
Re: RAM FileDescriptor Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-15 12:59 -0700
Re: RAM FileDescriptor Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 11:45 -0400
Re: RAM FileDescriptor David Lamb <dalamb@cs.queensu.ca> - 2012-10-17 15:08 -0400
Re: RAM FileDescriptor Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 15:25 -0400
Re: RAM FileDescriptor Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 16:22 -0400
Re: RAM FileDescriptor Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 16:26 -0400
Re: RAM FileDescriptor Jim Janney <jjanney@shell.xmission.com> - 2012-10-16 12:40 -0600
Re: RAM FileDescriptor Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 11:43 -0400
Re: RAM FileDescriptor Jan Burse <janburse@fastmail.fm> - 2012-10-17 17:55 +0200
csiph-web