High performance (SendFile API support and memory-mapped files).
高性能(支持SendFileAPI和内存映射文件)。
To help improve startup time, the JVM now works with memory-mapped files.
为了帮助改善启动时间,JVM现在和内存映射文件一起工作。
As the name implies, a memory-mapped file maps a file-like construct to an address in memory.
顾名思义,一个内存映射文件将一个类似文件的结构映射到内存的地址中。
I'll discuss an eighth type, MappedByteBuffer, available for memory-mapped files, later in this article.
在本文后面,我将讨论第8种类型MappedByteBuffer,它用于内存映射文件。
After reading this article, you should understand NIO, from basic get and put operations to reading a memory-mapped file.
在阅读完本文之后,您应该了解了NIO从基本的get和put操作到读取内存映射文件方面的知识。
Provides memory allocation options for memory-mapped files.
为内存映射文件提供内存分配选项。
The common language runtime does not have permissions to create memory-mapped files.
公共语言运行时不具备创建内存映射文件的权限。
Creates or opens a memory-mapped file that has the specified capacity and access type in system memory.
在系统内存中创建或打开一个内存映射文件。
With the next version of the BCL,.net developers will be able to use memory-mapped files directly instead of via platform invoke calls.
在BCL的下一个版本中,. NET开发人员将能够直接使用内存映射文件,而无需通过平台调用的方式。
If two applications open the same memory-mapped file, changes made by one application will be immediately visible to the other application.
如果两个应用程序打开了同一个内存映射文件,那么某个应用程序做出的改变会立即反映给另外一个应用程序。
When the ppe wants to access the mailbox, it needs to have access to the memory-mapped register space, which is normally only available to kernel space.
当PPE希望访问邮箱时,它需要能够访问内存映射的寄存器空间,后者通常只对于内核空间来说是可用的。
Many concepts and technologies had to come together to make the GUI possible: the mouse, memory-mapped video, powerful processors, and pop-up Windows.
许多概念和技术的同时出现使得图形用户界面成为可能,如鼠标、内存映射视频、功能强大的处理器,以及弹出窗口。
Memory-mapped files are an operating system feature that links a block of memory to a file.
内存映射文件是把一块内存连接到一个文件的操作系统特性。
When working with very large files, native developers turn to a technique known as Memory-Mapped files.
在处理巨型文件时,真正的开发人员会转而使用一种技术,名为内存映射文件。
With the stream in place, we can now create the memory mapped file. Let's see an example.
创建合适的流之后,现在就可以创建内存映射文件了。
Remember the system break, the location that is the edge of mapped memory for the process?
还记得系统中断点吗?该位置是进程映射的内存边界。
The dynamic libraries are mapped into the application execution memory by the dynamic linking loader.
通过动态链接装入器,将动态库映射进应用程序的可执行内存中。
With documents where most of the data values need to be kept as Strings, the memory advantage of the mapped binding approaches would be diminished.
对于其中大多数数据值都需要保存为String的文档而言,映射绑定方法的内存优势就会被削弱。
As mentioned above, the edge of mapped memory — last valid address — is often known as the system break or the current break.
如前所述,被映射的内存的边界(最后一个有效地址)常被称为系统中断点或者当前中断点。
So, in the above example, there are 188426 working storage pages mapped into memory.
因此,在上面的示例中,一共有188426个工作存储分页映射到内存中。
The two mapped binding approaches use the same internal structure for the bound data, so they show identical memory usage.
两种映射绑定方法为绑定数据使用了同一种内部结构,所以它们表现出了相同的内存使用情况。
Performance counters use a memory mapped file, or Shared memory, to publish performance data.
性能计数器使用内存映射文件或共享内存发布性能数据。
The physical memory that is mapped for the guest operating system is actually virtual memory mapped into the process.
映射给客户操作系统的物理内存实际上是映射给这个进程的虚拟内存。
When an application references a page that is not mapped into real memory, the system generates a page fault.
如果应用程序引用了某个分页,而该分页并没有映射到实际内存中,那么系统将产生一个缺页。
These include convenience methods for reading and writing text-based files, significantly faster directory enumeration, and support for memory mapped files.
包括读写文本文件的便捷方法,快速地列举目录,对内存映射文件的支持。
Assuming a large page size of 4 MB is used in the same example from above, that same 1 GB of memory could be mapped with only 256 page-table entries instead of 262,144.
假定在前面的中使用页大小为4MB的大内存页,同样1GB内存只用256个页表条目就可以映射,而不需要262,144个。
Segments 3-C and E: Memory mapped regions (including files) and shared memory
分段 3-C和E:内存映射区域(包括文件)和共享内存
In addition to actual files, devices and Shared memory objects can be mapped.
除了实际的文件,设备与共享内存对象都能够被映射。
Regions in a process's virtual address space can be mapped to physical memory, to a file, or to any other addressable storage.
进程的虚拟地址空间中的区域可被映射到物理内存、文件或任何其他可寻址存储。
Figure 1 illustrates how virtual pages in a process's address space are mapped to physical page frames in memory.
图1说明了进程地址空间中的虚拟页如何映射到内存中的物理页帧。
应用推荐