Invention Grant
- Patent Title: Supporting dynamic behavior in statically compiled programs
-
Application No.: US15010936Application Date: 2016-01-29
-
Publication No.: US09836290B2Publication Date: 2017-12-05
- Inventor: Michal Strehovsky , David Charles Wrighton , Atsushi Kanamori , Mircea Trofin , Rudi Martin
- Applicant: Microsoft Technology Licensing LLC
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agency: Ogilvie Law Firm
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Support for dynamic behavior is provided during static compilation while reducing reliance on JIT compilation and large runtimes. A mapping is created between metadata and native code runtime artifacts, such as between type definition metadata and a runtime type description, or between method definition metadata, a runtime type description, and a native code method location, or field definition metadata, a runtime type description, and a field location. A mapping between runtime artifacts may also be created. Some compilation results include trampoline code to support a reflection invocation of an artifact in the reduced runtime support environment, for virtual method calls, call-time bounds checking, calling convention conversion, or compiler-intrinsic methods. Some results support runtime diagnostics by including certain metadata even when full dynamic behavior is not supported.
Public/Granted literature
- US20160147513A1 SUPPORTING DYNAMIC BEHAVIOR IN STATICALLY COMPILED PROGRAMS Public/Granted day:2016-05-26
Information query