内存映射有助于了解目标机情况。
Memory maps are a helpful aid in getting to know the target.
jmap——打印库的内存映射。
这样,我们就创建了一个内存映射文件。
This will create the memory mapped file but to start using it we will need a map view.
段3预留给内存映射文件,即mmap。
包括局部化保持,拓展块保留,内存映射和高速缓冲。
They include locality preservation, wilderness preservation, memory mapping, and caching.
创建合适的流之后,现在就可以创建内存映射文件了。
With the stream in place, we can now create the memory mapped file. Let's see an example.
高性能(支持SendFileAPI和内存映射文件)。
High performance (SendFile API support and memory-mapped files).
分段 3-C和E:内存映射区域(包括文件)和共享内存
Segments 3-C and E: Memory mapped regions (including files) and shared memory
显然,1gb的RAM不足以处理1.52 GB的共享内存映射。
Clearly, 1gb of RAM is not enough to handle 1.52gb of Shared memory mapping.
释放空间使底层操作系统减小对交换空间的许求并且重用内存映射表。
Releasing space allows the underlying operating system to cut down on swap space requirements and reuse memory mapping tables.
内存映射文件是把一块内存连接到一个文件的操作系统特性。
Memory-mapped files are an operating system feature that links a block of memory to a file.
还有一个好处是,内存映射可以沿着一个大概的、基于列的赋值处显示。
An added benefit is that the memory mapping can be displayed alongside a raw, column-based rendering.
为了帮助改善启动时间,JVM现在和内存映射文件一起工作。
To help improve startup time, the JVM now works with memory-mapped files.
包括读写文本文件的便捷方法,快速地列举目录,对内存映射文件的支持。
These include convenience methods for reading and writing text-based files, significantly faster directory enumeration, and support for memory mapped files.
内存映射特性能够使您根据XML文件中所定义的布局来显示内存的某个区域。
The memory mapping feature enables you to display a region of memory according to a layout defined in an XML file.
使用以上的XML文件,下面的屏幕截图会显示该结构实例的内存映射,如下所示。
Using the XML file above, the screen capture below shows the memory map rendering an instance of this structure, shown below.
顾名思义,一个内存映射文件将一个类似文件的结构映射到内存的地址中。
As the name implies, a memory-mapped file maps a file-like construct to an address in memory.
另外,不同的体系结构具有不同的内存映射支持;共享内存可用的区域也可能不同。
Also, different architectures will have different memory-map support; the areas available for Shared memory could be different.
为了创建一个内存映射赋值,您需要在定义您想要使用的布局的文件系统上选择文件。
To create a memory map rendering, you need to select the file on the file system that defines the layout you want to use.
其它进程如何读取该内存映射文件的内容呢。 一样,我们先创建一个内存映射文件。
Now if we want to read from it, the other process needs also to create a memory mapped file, we can use the other static initialize that opens an existing one or creates one if it does not exist.
查看一下具体的内存映射赋值,您可以看到有一些列提供了关于每一个字段的具体信息。
Taking a look at the memory map rendering in detail, you can see that there are several columns that provide detail about each field.
在处理巨型文件时,真正的开发人员会转而使用一种技术,名为内存映射文件。
When working with very large files, native developers turn to a technique known as Memory-Mapped files.
setup_arch还需要对闪存存储库、系统寄存器和其它特定设备执行内存映射。
The setup_arch also needs to perform any memory mappings for flash Banks, system registers, and other specific devices.
这样,在启动J VM时,就不会从头开始装入系统类,而是装入内存映射文件。
Then, when it is time to start the JVM, instead of loading the system classes from scratch, the memory-mapped files are loaded.
如果我们想要探究内存映射文件结构的话,不需要构造一个流,只要找到该资源的名字即可。
If we explore the construction of the memory mapped file we can see that there is no stream, we just name the resource.
进而我们会看看内存映射原理、与之相关的文件读写机制以及内存使用情况图表所揭示的含义。
Coming up we'll look at memory mapping, how file reading and writing ties into all this and what memory usage figures mean.
在本文后面,我将讨论第8种类型MappedByteBuffer,它用于内存映射文件。
I'll discuss an eighth type, MappedByteBuffer, available for memory-mapped files, later in this article.
如何访问文件就跟前述的示例一样了。千万记住,如果你关闭了内存映射文件,那么它就不能访问了。
The access to the file USES the same syntax as the previous example, remember that if you close the memory mapped file this will be non accessible, this issue catches many developer.
在阅读完本文之后,您应该了解了NIO从基本的get和put操作到读取内存映射文件方面的知识。
After reading this article, you should understand NIO, from basic get and put operations to reading a memory-mapped file.
在一个简单的实例中,内存映射工具使您能够为一个复杂的变量定义一个布局,例如一个集团或者一个结构。
In a simple case, the memory map tool enables you to define a layout for a complex variable, such as a union or a structure.
应用推荐