提交 013a17a8 authored 作者: Thomas Mueller's avatar Thomas Mueller

NIO storage: the nio: prefix was using memory mapped files.

上级 cab61942
...@@ -18,7 +18,7 @@ Change Log ...@@ -18,7 +18,7 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>NIO storage: the nio: prefix was using memory mapped files instead of FileChannel.
</li></ul> </li></ul>
<h2>Version 1.1.109 (2009-03-14)</h2> <h2>Version 1.1.109 (2009-03-14)</h2>
......
...@@ -63,7 +63,7 @@ public class FileSystemDiskNio extends FileSystemDisk { ...@@ -63,7 +63,7 @@ public class FileSystemDiskNio extends FileSystemDisk {
fileName = translateFileName(fileName); fileName = translateFileName(fileName);
FileObject f; FileObject f;
try { try {
f = new FileObjectDiskMapped(fileName, mode); f = open(fileName, mode);
trace("openRandomAccessFile", fileName, f); trace("openRandomAccessFile", fileName, f);
} catch (IOException e) { } catch (IOException e) {
freeMemoryAndFinalize(); freeMemoryAndFinalize();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论