GCSTATS parameter

From m204wiki
Jump to navigation Jump to search

Garbage collector statistics

Summary

Default value
X'00'
Parameter type
User
Where set
User resettable
Related products
Janus SOAP
Introduced
Sirius Mods 7.5

Description

This bitmask parameter controls the reporting of SOUL garbage collection statistics. The statistics, provided in an MSIR error message, include the number of objects discarded by the garbage collection process and the amount of time taken.

These are the GCSTATS bit settings:

X'00'
Do not send garbage collection statistics. This is the default.
X'01'
Send statistics to the audit trail.
X'03'
Send statistics to the audit trail and to the terminal.

The message that is sent is similar to the following, which reports the discarding of 10001 of the 10002 objects still occupying system resources for this thread and session after this request's normal cleanup:

*** MSIR.0995: (explicit) Garbage collection completed in 16ms realtime with 16ms CPU time. Discarded 10001/10002 objects.

The (explicit) tag in the message above signifies that garbage collection was initiated explicitly by a %(object):GarbageCollect call. An (implicit) tag displays if the garbage collection is invoked for a user by the system because more than the AUTOGCN parameter threshold number of "orphaned" objects remained after the request's normal object cleanup.

For more information about garbage collection, see Cleanup by garbage collection.