Patents
EP 0,908,820 A2#7678583 Most CitedPendingEuropean Patent Office (EPO)Application

Method and apparatus for dynamically deoptimizing compiled activations

13Forward Citations (#7678583 Global)
0.5/yrCitation Velocity (#17408597 Global)
2.27Citation PageRank (#11867366 Global)
0Prior Art Cited
0Structured Claims
0Drawings / Sheets

Abstract

Methods and apparatus for dynamically deoptimizing a frame in a control stack during the execution of a computer program are disclosed. The described methods are particularly suitable for use in computer systems that are arranged to execute both interpreted and compiled byte codes. According to one aspect of the present invention, a computer-implemented method for deoptimizing a compiled method includes creating a data structure. The data structure, which is separate from the control stack, is arranged to store information relating to the compiled method. A reference indicator, such as a pointer, is created to associate the data structure with the frame. The method, which is compiled to a first state of optimization, is then deoptimized to a second state of optimization, and the method in the first state of optimization may be discarded, thereby deoptimizing the frame. When control returns to the deoptimized frame, a migration routine creates at least one new stack frame, and execution may continue using the method in the second state of optimization.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 13.

Claims (0)

No claim text indexed for this record.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (13 of 13 total)

PatentTitleYearCitations
US 7,904,891 B2Checking for instruction invariance to execute previously obtained translation code by comparing instruction to a copy stored when write operation to the memory portion occur20111
US 7,761,857 B1Method for switching between interpretation and dynamic translation in a processor system based upon code sequence execution counts20105
EP 1,242,887 A4Controlling instruction translation using dynamic feedback—0
US 8,464,033 B2Setting a flag bit to defer event handling to one of multiple safe points in an instruction stream20132
US 7,181,732 B2Method and apparatus for facilitating lazy type tagging for compiled activations200717
WO 2013/119441 A1Transferring program execution from compiled code to interpreted code—2
US 8,413,162 B1Multi-threading based on rollback20133
US 8,438,548 B2Consistency checking of source instruction to execute previously translated instructions between copy made upon occurrence of write operation to memory and current version20131
US 8,418,153 B2Method for integration of interpretation and translation in a microprocessor20130
EP 2,812,798 A4Transferring program execution from compiled code to interpreted code—0
WO 03,042,824 A1Lazy type tagging in compiled activation frames for garbage collection in mixed-mode systems with interpreter and compiler—0
US 7,644,210 B1Method and system for storing and retrieving a translation of target program instruction from a host processor using fast look-up of indirect branch destination in a dynamic translation system201018
US 8,019,983 B1Setting a flag bit to defer event handling to a safe point in an instruction stream20113

References Cited — Backward Prior Art (0)

No backward patent references recorded.

Non-Patent Literature (5)

  • DEUTSCH L P, SCHIFFMAN A M: "Efficient implementation of the Smalltalk-80 system" PROCEEDINGS OF THE 11TH ACM SIGACT-SIGPLAN SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, SALT LAKE CITY, UT, USA, 15-18 JAN. 1984, 18 January 1984 (1984-01-18), pages 297-302, XP002276578 ISBN: 0-89791-125-3
  • H\LZLE U, CHAMBERS C, UNGAR D: "DEBUGGING OPTIMIZED CODE WITH DYNAMIC DEOPTIMIZATION" ACM SIGPLAN NOTICES, ASSOCIATION FOR COMPUTING MACHINERY, NEW YORK, US, vol. 27, no. 7, 1 July 1992 (1992-07-01), pages 32-43, XP000332427 ISSN: 0362-1340
  • HUDAK P, KRANZ D: "A combinator-based compiler for a functional language" PROCEEDINGS OF THE 11TH ACM SIGACT-SIGPLAN SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, SALT LAKE CITY, UT, USA, 15-18 JAN. 1984, 18 January 1984 (1984-01-18), pages 122-132, XP002275960 ISBN: 0-89791-125-3
  • MCDERMOTT D: "An efficient environment allocation scheme in an interpreter for a lexically-scoped LISP" PROCEEDINGS OF THE 1980 ACM CONFERENCE ON LISP AND FUNCTIONAL PROGRAMMING, STANFORD UNIVERSITY, CA, USA, 25-27 AUG. 1980, 27 August 1980 (1980-08-27), pages 154 -162, XP002275959
  • STEENSGAARD B, JUL E: "Object and native code thread mobility among heterogeneous computers" FIFTEENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, COPPER MOUNTAIN RESORT, CO, USA, 3-6 DEC. 1995, vol. 29, no. 5, pages 68-78, XP002276577 Operating Systems Review, Dec. 1995, ACM, USA ISSN: 0163-59