Academia.eduAcademia.edu

Outline

SOAR: Smalltalk without bytecodes

1986, ACM SIGPLAN Notices

Abstract

We have implemented Smalltalk-80 on an instruction-level simulator for a RISC microcomputer called SOAR. Measurements suggest that even a conventional computer can provide high performance for Smalltalk-80 by abandoning the 'Smalltalk Virtual Machine' in favor of compiling Smalltalk directly to SOAR machine code, linearizing the activation records on the machine stack, eliminating the object table, and replacing reference counting with a new technique called Generation Scavenging. In order to implement these techniques, we had to find new ways of hashing objects, accessing often-used objects, invoking blocks, referencing activation records, managing activation record stacks, and converting the virtual machine images.

References (23)

  1. Bibliography !. Turbo-Pascal, Borland International, Scotts Valley, Ca., 1986.
  2. William R. Bush, "Smalltalk-80 to SOAR Code", Master's thesis, University of California at Berkeley, CS Dept., Nov. 1985.
  3. L. Peter Deutsch, "The Dorado Smalltalk-80 Imple- mentation: ]Iardware Arehitecture's Impact on Software Architecture, " in Smalltalk-80: Bits of tlistory, Words of Advice, G. Krasner (editor), September, 1983, pp 113-126.
  4. L. Peter Deutsch, Allan M. Schiffman "Efficient Implementation of the Smalltalk-80 System", llth POPL, Salt Lake City, Utah, 1984 pp 297-302.
  5. Joseph R. Falcons, "The Analysis of the Smalltaik-80 System at Hewlett-Packard", in Smalltalk-80: Bits of ilistory, Words of Advice, G. Krasner (editor), Sep- tember, 1983.
  6. A. Goldberg, D. Robson Smalltalk-80: The Language and its Implementation, Addison-Wesley, Reading, MA, 1983.
  7. G. Krasner, Smalltalk-80: Bits of History, Words of Advice, Addison-Wesley, Reading, MA, 1983.
  8. Manolis G.It. Katevenis, Reduced Instruction Set Computer Architectures for I~LS[, PhD thesis, University of California, Berkeley, October 1983.
  9. O. Butler W. Lampson, "The Dorado: A High- Performance Personal Computer", Xerox PARC Technical Report CSL-81-1, Jan. 1981.
  10. Peter K. Lee, "The Design of a Debugger for SOAR", Master's Report, UC Berkeley, 1984.
  11. l l. David M. Lewis, David R. Galloway, Robert J. Francis, Brian W. Thomson "Swamp: A Fast Proces- sor for Smalltalk-80," Proceedings OOPSLA 1986, ACM, 1086.
  12. D. A. Moon, "Architecture of the Symbolies 3600," Twelfth Annual International Symposium on Com- puter Architecture, l~oston, MA, June 1985, pp 76-83.
  13. David Patterson, "Reduced Instruction Set Comput- ers," Communications of the ACM, 28(1) Jan. 1985, pp 8-21.
  14. Septmnber 1986 OOPSLA '86 Proceedings
  15. Joan Pendleton, "A Design Methodology for VLSI Processors", PhD thesis, Dept. of EECS, University of California, Berkeley, Sept. 1985.
  16. Dain Samples, Mike Klein, Pete Foley, "SOAR Archi- tecture", Computer Science Division (EECS), Univer- sity of California, Tech. rep. UCB/CSD 85/226, March 1985.
  17. Norihisa Suzuki, Minoru Terada "Creating Efficient Systems for Object-Oriented Languages", llth POPL, Salt Like City, Utah, 1984, pp 290-296.
  18. David Ungnr, David Patterson, "Berkeley Smalltalk: Who Knows Where the Time Goes!", in Smalltalk.80: Bits of History, Words of Advice, G. Krasner (editor), September, 1983.
  19. David Ungur, Generation Scavenging: A Non- disruptive High Performance Storage Reclamation Algorithm, ACM Software Eng. NoIes/SIGPLAN Notices Software Engineering Symposium on Practi- cal Software Development Environments, Pittsburgh, PA, April, 1984.
  20. David Ungnr, Ricki Blau, Peter Foley, A. Daln Sam- pies, and David Patterson, "Architecture of SOAR: Smalltalk on a RISC", llth Annual International Symposium on Computer Architecture, Ann Arbor, Michigan, June 4-7, 1084.
  21. David Ungar, "The Design and Evaluation of A High Performance Smalltalk System", PhD thesis, UC Berkeley, 1086; issued as tech. rpt. UCB/CSD 86/287.
  22. Dave Wallace, "Making Smalitalk less Becoming: Removing Primitive Becomes from Smalltalk-80", in Smalitaik on a RISC, Architectural Investigations, Proceedings of CS292R, April, 1983.
  23. Your Waring Cookbook: The /~easure of Blending (For the 14-speed blender), Waring Food Corporation, [undated], p 1.