Browse Prior Art Database

Two-Phase Deferred Class Redefinition for Object Profiling

IP.com Disclosure Number: IPCOM000117493D
Original Publication Date: 1996-Mar-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 24K

Publishing Venue

IBM

Related People

Smith, LC: AUTHOR

Abstract

Disclosed is a two-phase deferred class redefinition scheme used to delay monitoring of an instance until it is ready to accept messages.

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

Two-Phase Deferred Class Redefinition for Object Profiling

      Disclosed is a two-phase deferred class redefinition scheme
used to delay monitoring of an instance until it is ready to accept
messages.

      When using class redefinition to monitor instance behavior, a
two-phase deferred class redefinition scheme can be used.  In the
first phase, the object's class is redefined as a transitional class
which may be a subclass of the original class.  The transitional
class is not set up to do object monitoring; rather, the transitional
class behaves in the same way as the original until one or more
trigger messages are received.  When a trigger message is received,
the transitional object knows that it is now ready to be monitored.
The object's class is then changed from the transitional class to the
monitoring class, and the monitoring is set up.  Thus, monitoring is
deferred until the object is ready to be monitored.