Class initialization method semantics
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising a processor operatively coupled to a memory and one or more storage media having stored thereon computer-executable instructions that, when executed by the processor, perform a method for mitigating problems associated with automatic execution of initialization code, the method comprising: determining whether a class has an initializing method comprising class initialization code; determining the execution point at which the initializing method should be called by at least analyzing domain uniqueness information associated with one or more application domains with
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2013061215 A1 | Inter-procedural dead catch handler optimizations | — | 13 |
| US 8,631,395 B2 | Inter-procedural dead catch handler optimizations | 2014 | 16 |
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 5,999,732 A | Techniques for reducing the cost of dynamic class initialization checks in compiled code | 1999 | 91 |
Non-Patent Literature (5)
- Claudio DeMartini, et al. "A Deadlock Detection Tool for Concurrent Java Programs", Software-Practice and Experience, 29 (7): 577-603 (1999).
- Egon Borger, et al., "Initialization Problems for Java", Software-Concepts & Tools, 19: 175-178 (2000).
- Hauptmann, Steffen, et al. "Dynamic Software Reconfiguration keeps critical systems running", Electronic Design, vol. 45, No. 6, Mar. 17, 1997, p. 97-106.
- J. Yantchev, et al. May 1989, "Adaptive, low latency, deadlock-free packet routing for networks of processors", IEEE Proceedings, 136, 178-186.
- Yi-Min Wang, "Guaranteed Deadlock Recovery: Deadlock Resolution with Rollback Propagation", 1995, In Proc. Pacific Rim International Symposium on Fault-Tolerant Systems.