Invention Grant
- Patent Title: Class initialization method semantics
- Patent Title (中): 类初始化方法语义
-
Application No.: US11465091Application Date: 2006-08-16
-
Publication No.: US07941793B2Publication Date: 2011-05-10
- Inventor: Gopala Krishna R. Kakivaya , Christopher W. Brumme , James S. Miller , Vance P. Morrison , David S. Mortenson , Sean E. Trowbridge
- Applicant: Gopala Krishna R. Kakivaya , Christopher W. Brumme , James S. Miller , Vance P. Morrison , David S. Mortenson , Sean E. Trowbridge
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/46 ; G06F9/30 ; G06F9/40

Abstract:
A system and method for mitigating problems associated with automatic execution of initialization code is provided. The system includes an initialization method activator that can call a class initialization method at a pre-determined execution point. The system also includes a deadlock analyzer that can determine whether calling the initialization method will create a deadlock, and, if a deadlock is detected that can resolve such a deadlock. The system also includes a semantic analyzing component that can analyze a semantic type associated with the initialization method and a domain uniqueness analyzer that can analyze the uniqueness of the domain with which the class will interact, to facilitate determining where to place code that will check whether a class is initialized, and if the class is not initialized that will invoke the class initializing method.
Public/Granted literature
- US20070006198A1 CLASS INITIALIZATION METHOD SEMANTICS Public/Granted day:2007-01-04
Information query