Invention Grant
US07949848B2 Data processing apparatus, method and computer program product for reducing memory usage of an object oriented program 有权
用于减少面向对象程序的存储器使用的数据处理装置,方法和计算机程序产品

  • Patent Title: Data processing apparatus, method and computer program product for reducing memory usage of an object oriented program
  • Patent Title (中): 用于减少面向对象程序的存储器使用的数据处理装置,方法和计算机程序产品
  • Application No.: US11715508
    Application Date: 2007-03-08
  • Publication No.: US07949848B2
    Publication Date: 2011-05-24
  • Inventor: Graham Peter Wilkinson
  • Applicant: Graham Peter Wilkinson
  • Applicant Address: GB Cambridge
  • Assignee: ARM Limited
  • Current Assignee: ARM Limited
  • Current Assignee Address: GB Cambridge
  • Agency: Nixon & Vanderhye P.C.
  • Main IPC: G06F12/00
  • IPC: G06F12/00 G06F17/30
Data processing apparatus, method and computer program product for reducing memory usage of an object oriented program
Abstract:
The present invention for reducing memory usage of an object oriented program. The object oriented program comprises class definitions used to create objects, each class definition providing at least one function that can be run in respect of objects created from that class definition, and identifying a number of storage items to be provided in memory for each object to store data values associated with that object. The method involves determining an original size associated with each storage item, and analysing the class definition to identify any numeric ranges associated with the storage items. For each storage item for which a numeric range is identified, it is determined if the original size can be reduced whilst still supporting the numeric range, and if so a modified size less than the original size is allocated to that storage item. Thereafter, the class definition is altered having regard to any storage element that has been allocated a modified size.
Information query
Patent Agency Ranking
0/0