Skip to main content

Module oo

Module oo 

Source
Expand description

Object-oriented COBOL, compiled and checked. A class written in COBOL becomes code the interpreter runs within the run unit: each method is compiled as a program whose LINKAGE SECTION ends with the records of the OBJECT or FACTORY WORKING-STORAGE it works on, and each INVOKE finds its method by name and Java signature, as the JNI does. Running is in machine/oo.rs; a Java class is checked here and never run.

Structs§

Objects
The run unit’s classes and objects, the references to them, and the JNI environment once a program uses JNIENVPTR.

Constants§

JAVA_LANG_OBJECT
MAX_MEMORY
Run-unit memory past which creating objects and classes abends.
MAX_OBJECTS
Objects a run unit may create before it abends; they are never freed.
MAX_REFERENCES
References a run unit may make before it abends; each is kept, so that an expired one can say where it expired.