发明名称 Reducing Application Startup Time by Optimizing Spatial Locality of Instructions in Executables
摘要 Provided are techniques for parsing source code file into a plurality of functions generating a ranking corresponding to each of the plurality of functions based upon an order of occurrence in the source code file; generating a weight score corresponding to each of the plurality of functions based upon a weighing factor and the occurrence of a condition corresponding to each of the plurality of functions; and generating an object code file such that the plurality of functions are ordered in the object code file based upon the corresponding rankings and weight scores such during a startup of execution of the object code file a startup time is minimized with respect to an object code file not generated in accordance with the claimed method.
申请公布号 US2014366009(A1) 申请公布日期 2014.12.11
申请号 US201414337689 申请日期 2014.07.22
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Aslot Vishal Chittranjan;Prasad Aravinda
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method, comprising: parsing, on a plurality of processors, a source code file into a plurality of functions; ranking, on the plurality of processors, each particular function of the plurality of functions based upon an order of occurrence of each particular function in the source code file; generating, on the plurality of processors, a weight score for each function of the plurality of functions, wherein the weight score of each particular function corresponds to whether or not the particular function is called conditionally; and generating, on the plurality of processors, an object code file such that the plurality of functions are ordered in the object code file based upon the corresponding rankings and weight scores such that page faults are minimized with respect to an executable file generated from the object code file.
地址 Armonk NY US