madvise(ptr, len, MADV_SEQUENTIAL)

Alan Bateman Alan.Bateman at Sun.COM
Mon Jun 15 00:36:21 PDT 2009


Jason Rutherglen wrote:
> Is there going to be a way to do this in the new Java IO APIs?
Good question, as it has come up a few times and is needed for some 
important use-cases. A while back I looked into adding a 
MappedByteBuffer#advise method to allow the application provide hints on 
the expected usage but didn't complete it. We should probably look at 
this again for jdk7.

-Alan.




More information about the nio-discuss mailing list