发明申请
- 专利标题: DECLARATIVE EXECUTION CONTEXT SPLITTING
- 专利标题(中): 宣告执行背景分割
-
申请号: US12023041申请日: 2008-01-31
-
公开(公告)号: US20090199159A1公开(公告)日: 2009-08-06
- 发明人: Henricus Johannes Maria Meijer , Brian Beckman , John Wesley Dyer , Jeffrey van Gogh , Benjamin Livshits , Dragos A. Manolescu , Danny van Velzen , Harish V. Kantamneni
- 申请人: Henricus Johannes Maria Meijer , Brian Beckman , John Wesley Dyer , Jeffrey van Gogh , Benjamin Livshits , Dragos A. Manolescu , Danny van Velzen , Harish V. Kantamneni
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
Various technologies and techniques are disclosed for enabling code to be executed on one or more execution contexts based upon declarative annotations contained in the code or other locations. An annotation associated with a region of code is located. The annotation specifies information about an execution context where the region of code should be executed. A caller proxy is generated that is responsible for calling a callee adapter to execute the region of code. The callee adapter is generated that is responsible for receiving a call from the caller proxy and for dispatching a call to the region of code at the execution context. At runtime, the caller proxy receives a request to call the region of code and sends an execution request to the callee adapter. The callee adapter receives the execution request and dispatches a call to an executable version of the region of code.