Performing java interrupt with two program counters
Abstract
A method and system for performing a Java interrupt. At least some of the illustrative embodiments are methods comprising executing a thread having a context on a stack based on a first program counter, detecting an interrupt while executing the thread (wherein execution of the thread is temporarily suspended), and executing a method portion to handle the interrupt (wherein the method portion is executed on the stack based on the first program counter, and wherein the context during execution of the method portion is the same as during execution of the thread).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A process of handling an interrupt by execution of Java bytecodes inside an interrupt execution flow without making a context switch, comprising: A. executing Java code as a thread 1 according to a first stack frame and a first program counter; B. while thread 1 is executing, detecting an interrupt, suspending the execution of thread 1 , pushing the first stack frame onto a stack, and switching program execution flow to an Interrupt Service Routine, the Interrupt Service Routine including both a micro-sequence handler and a Java portion, the Java portion including at least one Java method
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (3)
- Harold S. Stone, Introduction to Computer Architectur,1980, 1975, Science Research Associates, Inc, Second Edition, pp. 167-170.
- Warford, Computer Systems, 2005, Jones and Bartlett, Third Edition, pp. 46, 48-50.
- Warford, Computer Systmes, 2005, Jones and Bartlett, Third Edition, pp. Cover Page, 11,47, 152-154, 166-168 and 418-420.