Method for generating a Java bytecode data flow graph
Abstract
According to a first aspect of the present invention, a method for linking bytecodes of an uninterrupted block of bytecodes in the formation of a data flow graph comprises the steps of scanning the uninterrupted block of bytecodes in a forward manner to identify the start of each of the bytecodes, scanning in a backward manner bytecodewise each of the bytecodes in the uninterrupted block of bytecodes, and generating a link in the data flow graph that links each of the bytecodes to all other of the bytecodes used by the each of the bytecodes. According to a second aspect of the present invention, a method for linking bytecodes between uninterrupted blocks of bytecodes in the formation of a data flow graph, the uninterrupted blocks of bytecodes having links according to an order of execution of the uninterrupted blocks and wherein a stack state has been generated for each of the uninterrupted blocks of bytecodes, comprises the steps of stepping through a first path of a plurality of paths of the order of execution that terminates in a join to generate a link in the data flow graph between each bytecode producing a value in one of the uninterrupted blocks and each bytecode consuming t
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 46.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for linking bytecodes of an uninterrupted block of bytecodes in the formation of a data flow graph, the bytecodes including instruction bytecodes and operand bytecodes, the method comprising: scanning said uninterrupted block of bytecodes in a forward manner to identify the start of each of said bytecodes; scanning in a backward manner bytecodewise each of said bytecodes in said uninterrupted block of bytecodes, said scanning in a forward manner and said scanning in a backward manner performed without constructing a stack state to determine values used by bytecodes; determining which
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 46 total)
References Cited — Backward Prior Art (1)
Non-Patent Literature (5)
- Aho, et al., "Code Optimization", Mar. 1988, Compliers-Principles, Techniques, and Tools, Addison-Wesley Publishing Co., Chapter 10, pp. 585-722.
- Allen, et al., "A Program Data Flow Analysis Procedure", Mar. 1976, Communications of the ACM, vol. 19, No. 3, pp. 137-147.
- Hecht, et al., "A Simple Algorithm for Global Data Flow Analysis Problems", Dec. 1975, SIAM Journal of Computing, vol. 4, No. 4, pp. 519-532.
- Kennedy, Ken, "A Global Flow Analysis Algorithm", 1971, International Journal of Computer Math, Section A., vol. 3, pp. 5-15.
- O'Connor, J.M., et al., "PicoJava-I: The Java Virtual Machine in Hardware", Citation and Abstract Search Results View Full Page, IEEE/IEE Electronic Library, Mar./Apr. 1997, pp. 45-53.