Runtime-Resource Management
    1.
    发明申请
    Runtime-Resource Management 有权
    运行时资源管理

    公开(公告)号:US20080077929A1

    公开(公告)日:2008-03-27

    申请号:US11948156

    申请日:2007-11-30

    IPC分类号: G06F9/50

    摘要: A runtime-resource management method, system, and product for managing resources available to application components in a portable device. The method, system, and product provide for loading one or more new application components into a portable device only if maximum runtime resources required by the one or more new application components are available in the portable device assuming loaded application components within the device are using the maximum runtime resources reserved by the loaded application components, reserving maximum runtime resources required by application components when application components are loaded into the portable device, and running loaded application components using only the runtime resources reserved for the loaded application components.

    摘要翻译: 用于管理可用于便携式设备中的应用组件的资源的运行时资源管理方法,系统和产品。 只有当一个或多个新的应用组件所需的最大运行时间资源在便携式设备中可用时,该方法,系统和产品才能将一个或多个新的应用组件加载到便携式设备中,假定设备内已加载的应用组件正在使用 由加载的应用程序组件保留的最大运行时间资源,将应用程序组件加载到便携式设备中时保留应用程序组件所需的最大运行时间资源,以及仅使用为加载的应用程序组件保留的运行时资源运行加载的应用程序组件。

    Runtime-resource management
    2.
    发明授权
    Runtime-resource management 有权
    运行时资源管理

    公开(公告)号:US08042113B2

    公开(公告)日:2011-10-18

    申请号:US11948156

    申请日:2007-11-30

    IPC分类号: G06F9/46 G06F15/173

    摘要: A runtime-resource management method, system, and product for managing resources available to application components in a portable device. The method, system, and product provide for loading one or more new application components into a portable device only if maximum runtime resources required by the one or more new application components are available in the portable device assuming loaded application components within the device are using the maximum runtime resources reserved by the loaded application components, reserving maximum runtime resources required by application components when application components are loaded into the portable device, and running loaded application components using only the runtime resources reserved for the loaded application components.

    摘要翻译: 用于管理可用于便携式设备中的应用组件的资源的运行时资源管理方法,系统和产品。 只有当一个或多个新的应用组件所需的最大运行时间资源在便携式设备中可用时,该方法,系统和产品才能将一个或多个新的应用组件加载到便携式设备中,假定设备内已加载的应用组件正在使用 由加载的应用程序组件保留的最大运行时间资源,将应用程序组件加载到便携式设备中时保留应用程序组件所需的最大运行时间资源,以及仅使用为加载的应用程序组件保留的运行时资源运行加载的应用程序组件。

    Runtime-resource management
    3.
    发明授权
    Runtime-resource management 有权
    运行时资源管理

    公开(公告)号:US07334228B2

    公开(公告)日:2008-02-19

    申请号:US09917507

    申请日:2001-07-27

    IPC分类号: G06F9/46 G06F15/16

    摘要: A runtime-resource management method, system, and product for managing resources available to application components in a portable device. The method, system, and product provide for loading one or more new application components into a portable device only if maximum runtime resources required by the one or more new application components are available in the portable device assuming loaded application components within the device are using the maximum runtime resources reserved by the loaded application components, reserving maximum runtime resources required by application components when application components are loaded into the portable device, and running loaded application components using only the runtime resources reserved for the loaded application components.

    摘要翻译: 用于管理可用于便携式设备中的应用组件的资源的运行时资源管理方法,系统和产品。 只有当一个或多个新的应用组件所需的最大运行时间资源在便携式设备中可用时,该方法,系统和产品才能将一个或多个新的应用组件加载到便携式设备中,假定设备内已加载的应用组件正在使用 由加载的应用程序组件保留的最大运行时间资源,将应用程序组件加载到便携式设备中时保留应用程序组件所需的最大运行时间资源,以及仅使用为加载的应用程序组件保留的运行时资源运行加载的应用程序组件。

    Packaging memory image files
    4.
    发明授权
    Packaging memory image files 有权
    包装记忆体图像文件

    公开(公告)号:US06446254B1

    公开(公告)日:2002-09-03

    申请号:US09374154

    申请日:1999-08-13

    IPC分类号: G06F944

    CPC分类号: G06F9/44573

    摘要: In typical Java and other interpreted programming language environments, the code is stored in ROM in a semi-processed state, .class files containing byte codes. When the device is turned on, a virtual machine resolves references and links the .class file in RAM to permit desired applications to be run. In the invention, the .class files are further pre-processed to select the data which will not change or require updating. This data is packaged into memory image files containing internal data pre-linking this data. The memory image files are stored in ROM and are accessible from ROM by the virtual machine at runtime. Only elements that will be updated, such as the objects themselves, must be instantiated in RAM at runtime. This reduces the amount of RAM needed to run the application. In an environment with memory constraints, the reduction in RAM requirements permits more RAM to be made available for application use.

    摘要翻译: 在典型的Java和其他解释型编程语言环境中,代码以半处理状态存储在ROM中,包含字节代码的.class文件。 当设备打开时,虚拟机将解析引用并将RAM中的.class文件链接以允许运行所需的应用程序。 在本发明中,进一步对.class文件进行预处理,以选择不改变或需要更新的数据。 该数据被打包到包含预先链接该数据的内部数据的存储器图像文件中。 存储器映像文件存储在ROM中,并且可以在运行时由虚拟机从ROM访问。 只有要更新的元素(如对象本身)必须在运行时在RAM中实例化。 这减少了运行应用程序所需的RAM量。 在具有内存限制的环境中,RAM要求的减少允许更多的RAM可用于应用程序的使用。

    Mapping a stack in a stack machine environment
    5.
    发明授权
    Mapping a stack in a stack machine environment 有权
    在堆栈机器环境中映射堆栈

    公开(公告)号:US07032221B1

    公开(公告)日:2006-04-18

    申请号:US09329558

    申请日:1999-06-10

    IPC分类号: G06F9/46 G06F12/00

    摘要: The stack mapper of the present invention seeks to determine the shape of the stack at a given program counter. This is accomplished by locating all start points possible for a given method, that is, at all of the entry points for the method and all of the exception entry points, and trying to find a path from the beginning of the method to the program counter in question. The mapper first tries to locate a linear path from the beginning of the method, and then iteratively processes the sequence of bytes at each branch until the destination program counter is reached. Once the path is found, a simulation is run of the stack through that path, which is used as the virtual stack for the purposes of the garbage collector.

    摘要翻译: 本发明的堆栈映射器寻求在给定的程序计数器处确定堆栈的形状。 这是通过定位给定方法可能的所有起始点,即方法和所有异常入口点的所有入口点,并尝试从方法开始到程序计数器找到一个路径来实现的 有问题 映射器首先尝试从方法的开头找到一条线性路径,然后迭代地处理每个分支处的字节序列,直到达到目标程序计数器。 找到路径后,通过该路径运行堆栈的模拟,该路径用作垃圾收集器的虚拟堆栈。

    Method, system and program product for implementing single threaded optimizations in a potentially multi-threaded environment
    6.
    发明申请
    Method, system and program product for implementing single threaded optimizations in a potentially multi-threaded environment 有权
    用于在潜在的多线程环境中实现单线程优化的方法,系统和程序产品

    公开(公告)号:US20060048116A1

    公开(公告)日:2006-03-02

    申请号:US10930032

    申请日:2004-08-30

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443

    摘要: Under the present invention, program code is examined (statically or dynamically) for characteristics indicative of a potential to generate multiple threads. If none are found, single threaded optimization(s) such as desynchronization, optimization of globals, etc., can be implemented. In addition, if the program code is later revealed to have the potential to generate multiple threads, the single threaded optimization(s) can be corrected to avoid incorrect execution.

    摘要翻译: 在本发明的范围内,针对指示产生多个线程的潜力的特性,检查(静态地或动态地)程序代码。 如果没有找到,则可以实现单线程优化,例如去同步,全局变量优化等。 另外,如果稍后显示程序代码有可能生成多个线程,则可以纠正单线程优化以避免错误执行。

    Method and apparatus for referencing a constant pool in a java virtual machine
    7.
    发明申请
    Method and apparatus for referencing a constant pool in a java virtual machine 失效
    引用Java虚拟机中常量池的方法和装置

    公开(公告)号:US20060010424A1

    公开(公告)日:2006-01-12

    申请号:US10886920

    申请日:2004-07-08

    IPC分类号: G06F9/44

    CPC分类号: G06F9/44521 G06F9/45504

    摘要: A method, apparatus, and computer instructions for referencing a constant pool. A determination is made as to whether a bytecode references the constant pool. A relative offset to the constant pool is identified for the bytecode, in response to the bytecode referencing the constant pool. The bytecode is then replaced with a new bytecode containing the relative offset. The relative offset is used to reference the constant pool.

    摘要翻译: 用于引用恒定池的方法,装置和计算机指令。 确定字节码是否引用常量池。 响应于引用常量池的字节码,为字节码标识常量池的相对偏移量。 字节码被替换为包含相对偏移量的新字节码。 相对偏移量用于引用常量池。

    Efficient class memory management
    8.
    发明申请
    Efficient class memory management 有权
    高效的类内存管理

    公开(公告)号:US20070078916A1

    公开(公告)日:2007-04-05

    申请号:US11244905

    申请日:2005-10-05

    IPC分类号: G06F17/30 G06F12/00

    CPC分类号: G06F12/0223

    摘要: Memory segments are allocated for a classloader to store class information, such as by selecting an allocation approach based on classloader type. In a first approach, in response to each request, a segment having a fixed size is allocated. In a second approach, in response to a first request, a first segment having a size equal to an amount of memory needed to store information related to the request is allocated. In response to a second request, a second segment having a second size is allocated, and in response to a third request, a third segment having a third size greater than the second size is allocated. In a third approach, in response to the first request, a first segment having a first size is allocated. In response to a second request, a second segment having a second size greater than the first size is allocated.

    摘要翻译: 内存段被分配给类加载器以存储类信息,例如通过基于类加载器类型选择分配方法。 在第一种方法中,响应于每个请求,分配具有固定大小的段。 在第二种方法中,响应于第一请求,分配具有等于存储与请求相关的信息所需的存储器量的大小的第一段。 响应于第二请求,分配具有第二大小的第二段,并且响应于第三请求,分配具有大于第二大小的第三大小的第三段。 在第三种方法中,响应于第一请求,分配具有第一大小的第一段。 响应于第二请求,分配具有大于第一大小的第二大小的第二段。

    Efficient virtual function calls for compiled/interpreted environments

    公开(公告)号:US07032230B2

    公开(公告)日:2006-04-18

    申请号:US09940127

    申请日:2001-08-27

    IPC分类号: G06F9/44

    CPC分类号: G06F9/45504 G06F9/449

    摘要: Virtual function calls in hybrid compiled and interpreted computer programming environments are carried out efficiently by dual virtual function tables. Each class object generated is provided with a compiled virtual function table and an interpreted virtual function table. Each table is symmetrically structured and contiguous with the class object. Calls from an interpreted function access the interpreted virtual function table. Entries in that table point to function data structures which provide for the interpretation of the called function, or for transfer to execution of a compiled version of the called function. Calls from a compiled function access the compiled virtual function table. Entries in the compiled virtual function table point to either executable code representing the called function, or to transition code for transition to the interpreter to interpret the called function.