← Back to Patent Explorer
EP0546684A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

Method stubs for redispatch

Assignee: International Business Machines Corp
•
Filing: 1992-11-09
•
Granted: —
•
Expires: 2012-11-09
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method, system and program for allowing an application designed to use static method calls to manipulate objects whose methods are only available through dynamic calls without modifying the binary image of the application. A SOM compiler generates class definitions and generates a redispatch stub for each method defined in a class. A redispatch stub is a short sequence of instructions with an identical calling sequence as its corresponding method. This gives the class' dispatch enough information to determine the correct method procedure in a dynamic manner. The dispatch function employs the redispatch stub to call the appropriate method procedure and return any return value to the calling application via the redispatch stub. Redispatch stubs allows a class with a definition that can vary at runtime to be used by an application that was designed for statically defined classes.

Inventors

  • 👤 Michael Haden Conner
  • 👤 Nurcan Coskun
  • 👤 Andrew Richard Martin
  • 👤 Larry Keith Raper

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-11-07 12:14
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/44; G06F9/448; G06F9/4488; G06F9/449

Claims Analysis

Total Claims: 11
Claim 1
Independent Claim 72 words
An object oriented data processing system having means to generate method stubs for dynamic dispatch of one or more static methods, comprising: (a) storage means for storing the one or more static methods; (b) compiler means for generating class definitions and redispatch stubs for the one or more static methods; and (c) dispatch function means for processing the redispatch stub and transferring control to the static method associated with the redispatch stub.
Claim 2
Dependent Claim 72 words
An object oriented data processing system having means to generate method stubs for dynamic dispatch of one or more static methods, comprising: (a) storage means for storing the one or more static methods; (b) compiler means for generating class definitions and redispatch stubs for the one or more static methods; and (c) dispatch function means for processing the redispatch stub and transferring control to the static method associated with the redispatch stub.
Claim 3
Dependent Claim 27 words
A system as recited in claim 1, wherein any application binary can dynamically invoke any of the one or more static methods without changing the application binary.
Claim 4
Dependent Claim 29 words
A system as recited in claim 1 or 2, wherein the redispatch stub is a short sequence of calling sequence instructions of a particular one or more static methods.
Claim 5
Dependent Claim 19 words
A system as recited in claim 1, 2 or 3, wherein the storage means is a random access memory.
Claim 6
Dependent Claim 30 words
A system as recited in claim 1, 2, 3 or 4, including data structure means for storing the one or more redispatch stubs for the one or more static methods.
Claim 7
Independent Claim 67 words
A method of operating an object oriented data processing system including generating method stubs for dynamic dispatch of one or more static methods, comprising the steps of: (a) storing the one or more static methods; (b) generating class definitions and redispatch stubs for the one or more static methods; and (c) processing the redispatch stub and transferring control to the static method associated with the redispatch stub.
Claim 8
Independent Claim 67 words
A method of operating an object oriented data processing system including generating method stubs for dynamic dispatch of one or more static methods, comprising the steps of: (a) storing the one or more static methods; (b) generating class definitions and redispatch stubs for the one or more static methods; and (c) processing the redispatch stub and transferring control to the static method associated with the redispatch stub.
Claim 9
Dependent Claim 27 words
A method as recited in claim 6, wherein any application binary can dynamically invoke any of the one or more static methods without changing the application binary.
Claim 10
Dependent Claim 27 words
A method as recited in claim 6, wherein the redispatch stub is a short sequence of calling sequence instructions of a particular one or more static methods.
Claim 11
Dependent Claim 15 words
A method as recited in claim 6, wherein step (a) employs a random access memory.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag