Method and apparatus for internal versioning of objects using a mapfile
    1.
    发明授权
    Method and apparatus for internal versioning of objects using a mapfile 失效
    使用mapfile内部版本化对象的方法和装置

    公开(公告)号:US5805899A

    公开(公告)日:1998-09-08

    申请号:US499062

    申请日:1995-07-06

    CPC分类号: G06F8/54 G06F8/71

    摘要: A method and apparatus for providing versioning information for a plurality of software objects. When an object is compiled and linked, at build time, the link-editor creates a version definition section and a version symbol section in the object that specify the global symbols defined in various versions of the object. The object can be a shared object, a relocatable object, or a dynamic executable object. When an application software program is linked with the versioned object, at build time, the linker-editor creates a version dependency section in the resulting dynamic executable object that specifies which version of the object is required for execution of the software application program. At runtime, the runtime-linker determines whether all required versions of the object are present before the program is executed. The invention allows the definition of "weak" versions that do not contain new global symbols. The invention also allows the explicit specification of the version of an object to which the software application program should be linked.

    摘要翻译: 一种用于为多个软件对象提供版本信息的方法和装置。 当编译和链接对象时,在构建时,链接编辑器将在对象中创建一个版本定义部分和一个版本符号部分,该部分指定在对象的各种版本中定义的全局符号。 对象可以是共享对象,可重定位对象或动态可执行对象。 当应用软件程序与版本化对象链接时,在构建时,链接器编辑器在生成的动态可执行对象中创建一个版本依赖项,指定该对象的哪个版本执行该软件应用程序。 在运行时,运行时链接程序会在执行程序之前确定对象的所有必需版本是否存在。 本发明允许定义不包含新的全局符号的“弱”版本。 本发明还允许显式地规定软件应用程序应链接到的对象的版本。

    LARGE MEMORY PAGES FOR SHARED LIBRARIES
    2.
    发明申请
    LARGE MEMORY PAGES FOR SHARED LIBRARIES 有权
    共享图书馆的大记忆页

    公开(公告)号:US20100287356A1

    公开(公告)日:2010-11-11

    申请号:US12437628

    申请日:2009-05-08

    IPC分类号: G06F12/10 G06F12/00

    摘要: A method for loading shared libraries. The method includes receiving an indication of a requirement to load the shared library into the virtual memory and determining that the shared library is a candidate for using shared large pages. Further, the method includes, in response to the determination, storing a text section of the shared library in a shared large page of the virtual memory and storing a data section of the shared library in a page of the virtual memory, where the virtual memory is mapped to a physical memory of the computer, where, within an address space of the virtual memory, a starting address of the text section of the shared library is separated from a starting address of the data section of the shared library by a predefined distance, and where the predefined distance is larger than a size of the large page.

    摘要翻译: 一种加载共享库的方法。 该方法包括接收将共享库加载到虚拟存储器中并且确定共享库是使用共享大页面的候选者的要求的指示。 此外,该方法响应于确定,将共享库的文本部分存储在虚拟存储器的共享大页面中,并且将共享库的数据部分存储在虚拟存储器的页面中,其中虚拟存储器 被映射到计算机的物理存储器,其中在虚拟存储器的地址空间内,共享库的文本部分的起始地址与共享库的数据部分的起始地址以预定距离分开 ,并且其中预定距离大于大页面的大小。

    Large memory pages for shared libraries
    3.
    发明授权
    Large memory pages for shared libraries 有权
    共享库的大内存页面

    公开(公告)号:US08095772B2

    公开(公告)日:2012-01-10

    申请号:US12437628

    申请日:2009-05-08

    IPC分类号: G06F12/10

    摘要: A method for loading shared libraries. The method includes receiving an indication of a requirement to load the shared library into the virtual memory and determining that the shared library is a candidate for using shared large pages. Further, the method includes, in response to the determination, storing a text section of the shared library in a shared large page of the virtual memory and storing a data section of the shared library in a page of the virtual memory, where the virtual memory is mapped to a physical memory of the computer, where, within an address space of the virtual memory, a starting address of the text section of the shared library is separated from a starting address of the data section of the shared library by a predefined distance, and where the predefined distance is larger than a size of the large page.

    摘要翻译: 一种加载共享库的方法。 该方法包括接收将共享库加载到虚拟存储器中并且确定共享库是使用共享大页面的候选者的要求的指示。 此外,该方法响应于确定,将共享库的文本部分存储在虚拟存储器的共享大页面中,并且将共享库的数据部分存储在虚拟存储器的页面中,其中虚拟存储器 被映射到计算机的物理存储器,其中在虚拟存储器的地址空间内,共享库的文本部分的起始地址与共享库的数据部分的起始地址以预定距离分开 ,并且其中预定距离大于大页面的大小。