1992 · 303 citations · 19 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSystems ProgrammingInterrupt HandlingPerformance OptimizationDebuggingDebugging SupportDeoptimizationDynamic CompilationPerformance DebuggingSource-level Debugging
SELF's debugging system provides complete source-level debugging (expected behavior) with globally optimized code. It shields the debugger from optimizations performed by the compiler by dynamically deoptimizing code on demand. Deoptimization only affects the procedure activations that are actively being debugged; all other code runs at full speed. Deoptimization requires the compiler to supply debugging information at discrete interrupt points; the compiler can still perform extensive optimizations between interrupt points without affecting debuggability. At the same time, the inability to interrupt between interrupt points is invisible to the user. Our debugging system also handles programming changes during debugging. Again, the system provides expected behavior: it is possible to change a running program and immediately observe the effects of the change. Dynamic deoptimization transforms old compiled code (which may contain inlined copies of the old version of the changed procedure) into new versions reflecting the current source-level state. To the best of our knowledge, SELF is the first practical system providing full expected behavior with globally optimized code.
19
David Ungar, Randall B. Smith · 1987 · 909 citations
Efficient implementation of the smalltalk-80 system
L. Peter Deutsch, Allan M. Schiffman · 1984 · 589 citations
Making pure object-oriented languages practical
Craig Chambers, David Ungar · 1991 · 165 citations