Browse Prior Art Database

Resolution Procedure for Object Oriented Programming Systems

IP.com Disclosure Number: IPCOM000110076D
Original Publication Date: 1992-Oct-01
Included in the Prior Art Database: 2005-Mar-25
Document File: 2 page(s) / 51K

Publishing Venue

IBM

Related People

Conner, MH: AUTHOR [+3]

Abstract

An improvement to object technology is disclosed. A software technique for method resolution is presented that is almost as fast as direct offset resolution, but isolates client binaries from the actual data structures and algorithms used for method resolution.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 64% of the total text.

Resolution Procedure for Object Oriented Programming Systems

       An improvement to object technology is disclosed.  A
software technique for method resolution is presented that is almost
as fast as direct offset resolution, but isolates client binaries
from the actual data structures and algorithms used for method
resolution.

      In typical offset-based OOPS such as C++ the resolution of
methods is performed in line.  The problem with doing this is that it
exposes the internal data structures and algorithms to the client
code and makes it impossible to change it at a later date to take
advantage of improved resolution techniques without changing the
client binaries.

      We propose the use of a resolution procedure to perform the
resolution of all methods as an improvement to this in-line approach.

      The resolution procedure that appears in the System Object
Model (SOM) in OS/2 2.0 (*) is very simple:
      somMethodProc * SOMLINK somResolve(SOMAny *obj, somMData mdata)
      {
         return (obj->mtab->entries[mdata]);
      }

      However, because we have abstracted it from the client code we
are free to change the data structures and algorithm at any time
without any impact upon the client code.

      Although the use of a resolution procedure involves the
overhead of a procedure call per method invocation, we believe this
approach is generally better as it permits us:
 o  To take advantage of improved...