发明授权
US06658492B1 System and method for reducing the footprint of preloaded classes
失效
用于减少预加载类的占用空间的系统和方法
- 专利标题: System and method for reducing the footprint of preloaded classes
- 专利标题(中): 用于减少预加载类的占用空间的系统和方法
-
申请号: US09045508申请日: 1998-03-20
-
公开(公告)号: US06658492B1公开(公告)日: 2003-12-02
- 发明人: Hideya Kawahara , Nedim Fresko
- 申请人: Hideya Kawahara , Nedim Fresko
- 主分类号: G06F900
- IPC分类号: G06F900
摘要:
A method and system that reduces the space allocated for internal data structures by a runtime engine. The internal data structures store member information for preloaded classes used by applications executed by the runtime engine. The system determines the different types of internal data structures represented in the classes and identifies thee possible values of each type's members. The system next determines the amount of space required to store the values for each type in a respective value table and the number of bits needed to index each entry of that table. The system determines based on the stored information whether occurrences of a member are optimally represented as a set of value table indices and a value table or, in the conventional manner, as a general variable that stores the member's value for each occurrence. The system then emits appropriate information for the member and its parent data structure.
信息查询