Handling callouts made by a multi-threaded virtual machine to a single threaded environment
Abstract
Techniques are provided for making call outs from a multi-threaded virtual machine to a server running in a master native thread. When a virtual machine thread that is not running in the master native thread (a “non-master VM thread”) encounters code that requires a call to be made to a server routine, the non-master VM thread transfers control to the master native thread for making the call. The master native thread is then used to make the call out to the specified server routine. If the call returns without an error, then the non-master VM thread switches back to using a non-master native thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 29.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for making a call out from a multi-threaded virtual machine embedded in a server that is executing in a master native thread; the method comprising the steps of: in response to detecting a call to a routine in the server made in a current virtual-machine thread of said virtual machine, determining whether the current virtual-machine thread is associated with the master native thread, if the current virtual-machine thread is associated with the master native thread, then making the call to the routine in the server; if the current virtual-machine thread is not asso
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 29 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (2)
- Helaihel et al. "JMTP: an architecture for exploiting concurrency in embedded Java applications with real-time considerations" 1999 IEEE, pp. 551-557.
- Zalzala et al. "MTGP: a multithreaded Java tool for generic programming applications" 1999 IEEE, pp. 904-912.