Using constant selectors for method identification

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395703, 395680, G06F 945

Patent

active

058899952

ABSTRACT:
A process for generating method invocation instructions for a source-code program expressed in an object-oriented computer programming language is described. The process can be implemented as a compiler or, alternatively, as a combination of one or more utility routines and a compiler. The process first generates a global method selector list (hereinafter referred to as the dispatch table) comprising all of a target program's known method selector strings. Next, a unique constant value identifier is assigned to each unique method selector. Finally, as each source-code method call instruction is parsed during compilation, the compiler uses the method selector's identifier value to generate an instruction to directly load a unique constant value method identifier. In one embodiment, generation of the dispatch table is done a priori to the source-code program's compilation by a utility routine. In an alternative embodiment, the compiler performs these operations directly. Benefits of the compiler include, but are not limited to, (1) reduced executable code size (2) reduced program initialization time and (3) increased program execution speed.

REFERENCES:
patent: 5421016 (1995-05-01), Conner et al.
patent: 5515536 (1996-05-01), Corbett et al.
patent: 5535391 (1996-07-01), Hejlsberg et al.
Atkinson, "Hurricane: An Optimizing Compiler for Smalltalk," Conference Proceedings from Object-Oriented Programming Systems, Languages and Applications (OOPSLA) '86, Sep. 29--Oct. 2, 1986, Portland, Oregon, vol. 21, No. 11, pp. 151-158 (1986).
Baron et al., "MACH Kernel Interface Manual," Department of Computer Science, Carnegie-Mellon University, Pittsburgh, Pennsylvania, research sponsored by the Defense Advanced Research Projects Agency (DOD), ARPA Order No. 4864, monitored by the Space and Naval Warfare Systems Command under contract N00039-84-C-0467, version of 23 Aug. 1990.
Chambers et al., "An Efficient Implementation of SELF, a Dynamically-Typed Object-Oriented Language Based on Prototypes," Conference Proceedings from OOPSLA '89, Oct. 1-6, 1989, New Orleans, Louisiana, vol. 24, No. 10, pp. 49-70 (1989).
Rose, "Fast Dispatch Mechanisms for Stock Hardware," Conference Proceedings from OOPLSA '88, Sep. 25-30, 1988, San Diego, California, vol. 23, No. 11, pp. 27-35 (1988).
Walmer et al., "A Programmer's Guide to the MACH System Calls," Department of Computer Science, Carnegie-Mellon University, Pittsburgh, Pennsylvania, version of 16 Nov. 1989.
Walmer et al., "A Programmer's Guide to the MACH User Environment," Department of Computer Science, Carnegie-Mellon University, Pittsburgh, Pennsylvania, version of 16 Nov. 1989.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Using constant selectors for method identification does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Using constant selectors for method identification, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Using constant selectors for method identification will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1223657

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.