首页> 外国专利> Mechanism for enabling multiple processes to share physical memory

Mechanism for enabling multiple processes to share physical memory

机译:使多个进程共享物理内存的机制

摘要

A mechanism is disclosed for enabling multiple processes to share the same portion of physical memory. The first time an instance of a process is executed, a list of common components is compiled. The compiled code is then written into a newly created mappable data structure, which is stored into persistent storage. The next time an instance of that process is executed, the mappable data structure is mapped into a portion of the process instance's virtual memory space. This enables the process instance to invoke the compiled code for the common components. Multiple instances of the process may have their virtual memory spaces mapped to the same mappable data structure in this way. Thereafter, it is up to the operating system to load the contents of the mappable data structure into a portion of physical memory, and to ensure that all of the process instances share that physical memory portion.
机译:公开了一种用于使多个进程能够共享物理存储器的相同部分的机制。第一次执行流程实例时,将编译通用组件列表。然后将编译后的代码写入到新创建的可映射数据结构中,并将其存储到持久性存储中。下次执行该流程的实例时,可映射的数据结构将映射到流程实例的虚拟内存空间的一部分。这使流程实例可以调用公共组件的已编译代码。进程的多个实例可以通过这种方式将其虚拟内存空间映射到相同的可映射数据结构。之后,由操作系统决定是否将可映射数据结构的内容加载到物理内存的一部分中,并确保所有流程实例共享该物理内存部分。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号