Function execution method, function execution apparatus, computer program and recorded medium
Abstract
A function execution method, a function execution apparatus, a computer program and a recorded medium to execute a program of stacking, in a stack area of a memory, a function record area according to a format of an invoked function which is invoked by an invoking function including a process to invoke another function, invoking the invoked function, executing the invoked function and then discarding the stacked function record area, wherein a predetermined alternative function which substitutes the invoking function is executed when it is judged, from analysis of the invoking function by byte-code such as a JVM, that the invoking function is a trail-recursive invoking function, so that the alternative function as an invoking function invokes the invoked function utilizing the function record area utilized for executing the invoking function and the invoked function which has been invoked is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A function execution method comprising steps of: stacking, in a stack area of a memory, a function record area according to a format of a first function which is invoked by executing a first invoking function, wherein the first invoking function includes a process to invoke at least one other function; invoking the first function utilizing the stacked function record area; executing the first function which has been invoked; discarding the stacked function record area; compiling source-codes of the first invoking function into an execution format; analyzing the execution format of the first in
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 (7)
Non-Patent Literature (5)
- Concise English Explanation of Matsuoka, "Open JIT-Jiko Han'ei Keisan ni Motoduita doteki ni henk Kano na Java JIT Compiler," Computer Today, pp. 2-11, 1998, vol. 15, No. 6.
- Eiji Kawai, et al., The Design and Implementation of High Performance and Portable Java Virtual Machine, IPSJ-SIG Note, vol. 8 No. 15, Feb. 26, 1998, pp. 25-30.
- English Language translation of Japanese Patent Appln. No. 60-8944, p. 1, lower right column, line 20 to upper left column, line 1 and p. 3, upper left column, lines 8-19.
- English Language translation of Kawai et al. "The Design and Implementation High Performance and Portable Java Virtual Machine", Research Report of Information Processing Society, vol. 98, No. 15, pp. 25-30 (Feb. 26, 1998), p. 25, left column.
- English Translation of Ishizaki et al. "Design, Implementation and Evaluation of Optimizations In a Java Just-In-Time Complier", Research Report of the Institute of Electronics Information and Communication Engineers, vol. 99, No. 252, pp. 17-24 (Aug. 5, 1999), p. 20, left column.