ITEM: P2638L

Having trouble with aic



ENV: AIC 1.2

DESCRIPTION:
        Customer is using a lot of methods rather than auxiliary functions.
She has received the error:

5756-832 method .... (name) cannot be tested because the interpreter
has run out of function pointers.

Response:
    In AIC 1.2, there is a fixed number of "stub functions" that are used
    whenever interpreted code uses the address of an interpreted function
    This occurs whenever a function pointer (either a variable or a forma
    parameter) is initialized by assigning the name of a function to it.
    It also occurs whenever a method is defined in an interface, because
    AIC needs the address of the method in order to implement polymorph
    by calling methods virtually.  The fixed number of "stub functions"
    is 256.

    Here's some suggestions for this problem:

       Do not work on the entire project at once (ie load in a few interf
       at a time).

       Augment UIM/X with the project's mature interfaces.

    Both of these methods would reduce the number of stubs the interprete
    needs and therefore avoid reaching the 256 limit.

Response:

D: The customers will be able to get UIM/X 2.8(?) for AIX 4.1.
Will any changes be made to AIC 1.2 for this limitation?  Does UIM/X
2.8 increase this limit?

Response:

A future release of UIM/X will support a much larger number of 
stub functions.  The current limitation is not changeable. 

The best way for your user to avoid this limitation with the current
release is to design their testing procedures such that once a certain
number of functions have been fully tested and debugged they can be
augmented into UIM/X, freeing up function stubs for new functions still
under development.  

UIM/X provides a means of testing interfaces and functions under
development. Once a number of functions have been thoroughly tested and
have been verified both within UIM/x and stand-alone in generated code,
they can be augmented into UIM/X (refer to the Developer's guide for 
more information on this topic).  New functions that are being developed
and tested can be used in test mode, and the production quality tested
functions can still be used - they will not be loaded into the
Interpreter and so naturally if there is a problem within the user's
functions  UIM/X will not be able to trap the errors. 
Hope this helps your user's situation! 


Support Line: Having trouble with aic ITEM: P2638L
Dated: April 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:38
Comments or suggestions? Contact us