System and method for lazy loading of shared libraries
    2.
    发明授权
    System and method for lazy loading of shared libraries 失效
    用于延迟加载共享库的系统和方法

    公开(公告)号:US5708811A

    公开(公告)日:1998-01-13

    申请号:US391300

    申请日:1995-02-21

    IPC分类号: G06F12/08 G06F9/445 G06F12/10

    摘要: Lazy loading of executable library objects reduces operating system overhead and memory commitment requirements by postponing object loading until object references are expected. Initial task loading allocates only the main executable and library objects referenced by that executable. Secondary referenced objects are not allocated. Object references cause page faults for allocated but not loaded pages. Page fault handling causes loading and fixup of executable objects. Page fault handling also determines the next level of object references and allocates memory for the next object level. Shared memory systems allow sharing of executable objects until explicitly referenced. Once referenced, memory fault causes copying and fixup to referencing task memory area.

    摘要翻译: 延迟加载可执行文件库对象可以通过延迟对象加载来减少操作系统开销和内存承诺要求,直到预期到对象引用。 初始任务加载仅分配由该可执行文件引用的主可执行文件和库对象。 未分配辅助引用对象。 对象引用导致分配但未加载页面的页面错误。 页面错误处理导致加载和修复可执行对象。 页面错误处理还可以确定下一级对象引用,并为下一个对象级别分配内存。 共享内存系统允许共享可执行对象,直到明确引用。 一旦引用,内存故障会引起复制和修复以引用任务存储区。