Long running, reusable, extendible, virtual machine
    1.
    发明授权
    Long running, reusable, extendible, virtual machine 有权
    长时间运行,可重复使用,可扩展,虚拟机

    公开(公告)号:US06694346B1

    公开(公告)日:2004-02-17

    申请号:US09304160

    申请日:1999-04-30

    IPC分类号: G06F900

    CPC分类号: G06F9/44563

    摘要: In a virtual machine environment, the invention enables creation of a long running, reusable, virtual machine are disclosed. The environment includes a shared heap where requisite runtime code to bring the virtual machine into a ‘ready’ mode are loaded, linked, verified, initialized and compiled. Subsequent virtual machines are started and jointly use the shared heap. Applications create their objects in ‘private heaps’ that are exclusively reserved for the respective applications. At the end of execution of an application, each private heap is reinitialized. Static initializers are run in a persistent area of each private heap. This persistent area is reset to its initial values in between execution of applications. This obviates the need to terminate the virtual machine.

    摘要翻译: 在虚拟机环境中,本发明使得能够创建长时间运行的可重复使用的虚拟机被公开。 环境包括共享堆,其中将虚拟机置于“准备”模式的必需运行时代码被加载,链接,验证,初始化和编译。 后续虚拟机将启动并共同使用共享堆。 应用程序以专门为相应应用程序保留的“专用堆”创建其对象。 在应用程序执行结束时,每个专用堆都将重新初始化。 静态初始化器在每个专用堆的持久区域中运行。 这个持久性区域在应用程序的执行之间重置为初始值。 这样就无需终止虚拟机。

    System and method for optimizing template object files
    2.
    发明授权
    System and method for optimizing template object files 失效
    用于优化模板对象文件的系统和方法

    公开(公告)号:US6041180A

    公开(公告)日:2000-03-21

    申请号:US848629

    申请日:1997-04-28

    IPC分类号: G06F9/445 G06F9/45

    CPC分类号: G06F8/4434 G06F8/54

    摘要: The present invention provides a system and method to reuse code, and thus save code space within a program. A compiler and a linker work together to decide which object code to reuse, for implementation of template classes, and other repetitive code segments. The compiler notes in the object file which functions are generated from template code, or other repetitive types of code. An intelligent linker then attempts to match code, and in the cases where the code matches, simply eliminates multiple versions of the same code by aliasing the function names. The compiler can reduce the amount of linker searching by storing a cyclic redundancy check (CRC) code with each method. By using the system and method of the present invention, code reuse is made possible without sacrificing program efficiency.

    摘要翻译: 本发明提供一种重用代码的系统和方法,从而节省程序内的代码空间。 编译器和链接器一起工作来决定要重用的对象代码,实现模板类和其他重复代码段。 编译器在对象文件中注释哪些功能是从模板代码或其他重复类型的代码生成的。 智能链接器然后尝试匹配代码,并且在代码匹配的情况下,通过别名函数名称简单地消除了相同代码的多个版本。 编译器可以通过使用每种方法存储循环冗余校验(CRC)代码来减少链接器搜索的量。 通过使用本发明的系统和方法,可以在不牺牲程序效率的情况下实现代码重用。