请帮忙翻译一下,我实在是看不懂。!!!
On Windows systems, the memory manager manages all dynamic memory allocations and deallocations in an application. The New, Dispose, GetMem, ReallocMem, and FreeMem standard procedures use the memory manager, and all objects and long strings are allocated through the memory manager.
On Windows, the memory manager is optimized for applications that allocate large numbers of small- to medium-sized blocks, as is typical for object-oriented applications and applications that process string data. Other memory managers, such as the implementations of GlobalAlloc, LocalAlloc, and private heap support in Windows, typically do not perform well in such situations, and would slow down an application if they were used directly.
To ensure the best performance, the memory manager interfaces directly with the Win32 virtual memory API (the VirtualAlloc and VirtualFree functions). The memory manager reserves memory from the operating system in 1-MB sections of address space, and commits memory as required in 16-KB increments. It decommits and releases unused memory in 16-KB and 1-MB sections. For smaller blocks, committed memory is further suballocated.
Memory manager blocks are always rounded upward to a 4-byte boundary, and always include a 4-byte header in which the size of the block and other status bits are stored. This means that memory manager blocks are always double-word-aligned, which guarantees optimal CPU performance when addressing the block.
The memory manager maintains two status variables, AllocMemCount and AllocMemSize, which contain the number of currently allocated memory blocks and the combined size of all currently allocated memory blocks. Applications can use these variables to display status information for debugging.
The System unit provides two procedures, GetMemoryManager and SetMemoryManager, that allow applications to intercept low-level memory manager calls. The System unit also provides a function called GetHeapStatus that returns a record containing detailed memory-manager status information.
以上是Delphi的Help中Object Pascal laguage中Memory manager overview的几段话。小弟的英语水平有限,实在是看不懂中间两段(To ensure the best performance----to display status information for debugging)哪位朋友请帮忙翻译一下好吗。
谢谢!!!!!!!!!!!!
On Windows, the memory manager is optimized for applications that allocate large numbers of small- to medium-sized blocks, as is typical for object-oriented applications and applications that process string data. Other memory managers, such as the implementations of GlobalAlloc, LocalAlloc, and private heap support in Windows, typically do not perform well in such situations, and would slow down an application if they were used directly.
To ensure the best performance, the memory manager interfaces directly with the Win32 virtual memory API (the VirtualAlloc and VirtualFree functions). The memory manager reserves memory from the operating system in 1-MB sections of address space, and commits memory as required in 16-KB increments. It decommits and releases unused memory in 16-KB and 1-MB sections. For smaller blocks, committed memory is further suballocated.
Memory manager blocks are always rounded upward to a 4-byte boundary, and always include a 4-byte header in which the size of the block and other status bits are stored. This means that memory manager blocks are always double-word-aligned, which guarantees optimal CPU performance when addressing the block.
The memory manager maintains two status variables, AllocMemCount and AllocMemSize, which contain the number of currently allocated memory blocks and the combined size of all currently allocated memory blocks. Applications can use these variables to display status information for debugging.
The System unit provides two procedures, GetMemoryManager and SetMemoryManager, that allow applications to intercept low-level memory manager calls. The System unit also provides a function called GetHeapStatus that returns a record containing detailed memory-manager status information.
以上是Delphi的Help中Object Pascal laguage中Memory manager overview的几段话。小弟的英语水平有限,实在是看不懂中间两段(To ensure the best performance----to display status information for debugging)哪位朋友请帮忙翻译一下好吗。
谢谢!!!!!!!!!!!!
...全文
相关推荐
Nginx实现异步访问mysql的配置方法
主要介绍了Nginx实现异步访问mysql的配置方法,本文先是讲解了安装配置方法,然后给出了使用方法,需要的朋友可以参考下
linux 安装nginx+php+mysql nginx
主要采用阿里云服务器Centos7 版本: linux 安装nginx+php+mysql nginx整合php、mysql,设置防火墙,mysql设置远程访问和权限,Navicat for MySQL远程连接linux mysql
Nginx实现MYSQL主备高可用
Nginx实现MYSQL主备高可用双活Nginx实现MySQL主备高可用双活Nginx实现MYSQL主备高可用双活Nginx实现MYSQL主备高可用双活Nginx实现MYSQL主备高可用双活
Mysql,Nginx
Mysql5.6安装包,里面有三个RPM包,Nginx1.13的源码安装包
liunx下nginx和mysql安装文档
在linux下安装mysql和nginx的教程文档,非常详细,按照文档来执行一定成功。


