Accurate method for inlining virtual calls

Data processing: software development – installation – and managem – Software program development tool – Translation of code

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06N 945

Patent

active

061612170

ABSTRACT:
A computer system (10) is configured as a compiler to translate source code (FIG. 4) into object code (FIG. 6). The source code calls a polymorphic method on a receiver object. The compiler inlines the polymorphic method and guards the inlining with guard code that causes the executing microprocessor to skip the inlining in favor of a virtual method call when it determines that the inlined code is not appropriate for the receiver object. To make that determination, the guard code compares the address of the method version that has been inlined with the receiver object's pointer to its version of the polymorphic method.

REFERENCES:
patent: 5481708 (1996-01-01), Kukol
patent: 5579518 (1996-11-01), Yasumatsu
patent: 5815719 (1998-09-01), Goebel
patent: 5835771 (1998-11-01), Veldhuizen
patent: 5845331 (1998-12-01), Carter et al.
patent: 6003123 (1999-12-01), Carter et al.
Title: Implementation Benefits of C++ Language Mechanisms, Author: David Jordan, ACM 1990.
Title: "The Direct Cost of Virtual Function Calls in C++", Author: Driesen and Holzle, ACM, 1996.
Title: "Optimizing direct threaded code by selective inlining", Author: Piumarta et al, ACM, 1998.
Title: "An Evaluation of Automatic Object Inline Allocation Techniques", Author: Dolby et al, ACM, 1998.
Title "Inlining of Virtual Methods", Author: Detlefs and Agesen, appear in ECOOP, 1999.
Ungar et al., Architecture of SOAR: Smalltalk on a RISC, Proceedings of the Annual International Symposium on computer Arichtecture, vol. 11, 1984, pp. 188-197.
Deutsch et al., Efficient Implementation of the Smalltalk-80 System, Conference Record of the 11th Annual ACM Symposium in Principles of Programming Languages, 1984, pp. 297-302.

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

Accurate method for inlining virtual calls does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Accurate method for inlining virtual calls, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Accurate method for inlining virtual calls will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-226999

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