The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jan. 12, 2016
Filed:
Aug. 30, 2011
Derek B Inglis, Ontario, CA;
Kiyokuni Kawachiya, Kanagawa-ken, JP;
Tamiya Onodera, Tokyo, JP;
Michiaki Tatsubori, Kanagawa, JP;
Derek B Inglis, Ontario, CA;
Kiyokuni Kawachiya, Kanagawa-ken, JP;
Tamiya Onodera, Tokyo, JP;
Michiaki Tatsubori, Kanagawa, JP;
International Business Machines Corporation, Armonk, NY (US);
Abstract
A method and system for code generation and inlining. The method includes: scanning a code, where the code includes a method; determining whether the method includes a branch if the method is too large in size to be inlined, where the branch is based on runtime types of argument; profiling runtime types of actual arguments at a call site in the method if the method includes the branch; generating a polymorphic inline cache (PIC) code from a plurality of arguments, where the plurality of arguments are based on a result of the profiling step; generating a specialized method for a frequently appearing combination of the runtime types of argument and arguments that can be invoked from the PIC code; and inlining body of the specialized method into the call site if the specialized method has a body size within a permissible range.