Invention Grant
- Patent Title: Pre-compiling hosted managed code
- Patent Title (中): 预编译托管托管代码
-
Application No.: US12814511Application Date: 2010-06-14
-
Publication No.: US08924922B2Publication Date: 2014-12-30
- Inventor: Surupa Biswas , David L. Detlefs , Bruce T. Forstall , Raja Krishnaswamy , Kevin Bradley Frei
- Applicant: Surupa Biswas , David L. Detlefs , Bruce T. Forstall , Raja Krishnaswamy , Kevin Bradley Frei
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agent Kevin Sullivan; Kate Drakos; Micky Minhas
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/455

Abstract:
A hosted pre-compilation system is described herein that provides a way to enable ahead-of-time compilation for managed code running inside a host. The host triggers ahead-of-time compilation at application runtime, after any configuration settings are available. The host can choose which modules to compile, when to compile them, and where to persist the generated images. Upon detecting a module load, the host can trigger pre-compilation, provide the loader an existing pre-compiled image of the module, or do nothing. The runtime/platform validates the integrity of any host-supplied pre-compiled image and provides application programming interfaces (APIs) to inform the host when an image becomes invalid and fails to load. The platform also provides APIs to let the host trigger compilation of binaries at any time relevant to the host, and to generate the images either synchronously or in a background process.
Public/Granted literature
- US20110307858A1 PRE-COMPILING HOSTED MANAGED CODE Public/Granted day:2011-12-15
Information query