System and method providing inlined stub
Abstract
A system and method is provided to facilitate communications between object systems. A caller is provided having optimized in-lined functionality when initiating a remote function call between managed and unmanaged object systems, for example. The in-lined functionality includes utilizing direct calls and returns within a calling function. In this manner, pushing additional arguments onto an execution stack because of an external stub reference is mitigated. In addition, one or more code loops can be analyzed to enable stack markers to be “hoisted” and thus pushed a single time instead of each time the calling function executes. Other aspects of the optimized caller provide garbage collection and thread management, security attribute checking on outgoing calls, calling convention considerations, wherein arguments and return values are organized according to the convention utilized by the remote object system, and in-lined marshalling to provide enhanced performance over external stub code references. Code extensibility options can be included enabling functions to be generalized thereby insulating object systems from implementation details of the called functions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 19.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A system that facilitates communicating between managed and unmanaged code, comprising: a first component that is managed code; and a caller associated with the first component, the caller invokes an object related to a second component, the second component being unmanaged code, the caller's code includes an in-lined stub that facilitates communications to and execution management of the object.
- Claim 2Depends on #1
The system of claim 1 , the in-lined stub including a call and return pair that facilitate the communications and execution management of the object.
- Claim 3Depends on #1
The system of claim 1 , further comprising a stack marker that is hoisted from within a code loop associated with the caller that facilitates code execution performance during communications with the object.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Bershad et al. "Lightweight Remote Procedure Call." ACM Transactions on Computer Systems (TOCS). vol. 8, No. 1, pp. 37-55. Feb. 1990. ACM Press.
- Dussud, P.H. "TICLOS: An Implementation of CLOS for the Explorer Family." Conference Proceedings on Object-Oriented Programming Systems, Languages and Applications. vol. 24, No. 10, pp. 215-219. Sep. 1989. ACM Press.
- Wahbe et al. "Efficient Software-Based Fault Isolation." Proceedings of the Fourteenth ACM Symposium on Operating Systems Principles. vol. 27, No. 5, pp. 203-216. Dec. 1993. ACM Press.