发明名称 Optimization of an application to reduce local memory usage
摘要 A method of optimizing an application to reduce local memory usage. The method can include instrumenting at least one executable class file of the application with analysis code, the executable class file including bytecode. The method also can include executing the class file on a virtual machine, wherein during execution the analysis code generates data related to the application's use of local memory. The method further can include, via a processor, analyzing the data related to the application's use of the local memory to generate a memory profile analysis. The method further can include, based on the memory profile analysis, automatically revising at least one portion of the bytecode to reduce an amount of the local memory used by the application.
申请公布号 US8843912(B2) 申请公布日期 2014.09.23
申请号 US201213400204 申请日期 2012.02.20
申请人 International Business Machines Corporation 发明人 Brauneis David;Care Jeffrey E.;Hrischuk Curtis E.;Naumann Andrew D.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Cuenot, Forsythe & Kim, LLC 代理人 Cuenot, Forsythe & Kim, LLC
主权项 1. A method of optimizing an application to reduce local memory usage, the method comprising: instrumenting at least one executable class file of the application with analysis code, the executable class file comprising bytecode; executing the class file on a virtual machine, wherein during execution the analysis code generates data related to the application's use of local memory; via a processor, analyzing the data related to the application's use of the local memory to generate a memory profile analysis, wherein analyzing the data related to the application's use of the local memory to generate the memory profile analysis comprises identifying at least one object or string that is loaded into the local memory when the object or string is not yet required by the application; and based on the memory profile analysis, automatically revising at least one portion of the bytecode to reduce an amount of the local memory used by the application, wherein automatically revising at least one portion of the bytecode to reduce the amount of the local memory used by the application comprises revising the bytecode to prevent the object or string from being loaded into the local memory until the object or string is required by the application.
地址 Armonk NY US