[self-interest] Re: Scientific experiment

Mario Wolczko mario at Eng.Sun.COM
Wed Jun 23 02:13:12 UTC 1999


The lobby is not the only root for GC.  This is the full list (from
memory/universe.h in the VM sources).  These are all the objects that
are required for correct VM operation and therefore cannot be
reclaimed.  You probably had some stuff lying around reference from
one or more of these (the object ID array is a likely culprit -- see
the code in the environment for a full GC for how to clear it).

-Mario

# define APPLY_TO_VM_OOPS(template)                                           \
    template(&Memory->lobbyObj)                                               \
    template(&Memory->nilObj)                                                 \
    template(&Memory->trueObj)                                                \
    template(&Memory->falseObj)                                               \
    template(&Memory->stringObj)                                              \
    template(&Memory->assignmentObj)                                          \
    template(&Memory->objVectorObj)                                           \
    template(&Memory->byteVectorObj)                                          \
    template(&Memory->blockTraitsObj)                                         \
    template(&Memory->deadBlockObj)                                           \
    template(&Memory->processObj)                                             \
    template(&Memory->profilerObj)                                            \
    template(&Memory->outerActivationObj)                                     \
    template(&Memory->blockActivationObj)                                     \
    template(&Memory->proxyObj)                                               \
    template(&Memory->fctProxyObj)                                            \
    template(&Memory->literalsObj)                                            \
    template(&Memory->slotAnnotationObj)                                      \
    template(&Memory->objectAnnotationObj)                                    \
    template(&Memory->errorObj)                                               \
                                                                              \
    template(&Memory->assignmentMirrorObj)                                    \
    template(&Memory->blockMirrorObj)                                         \
    template(&Memory->byteVectorMirrorObj)                                    \
    template(&Memory->outerMethodMirrorObj)                                   \
    template(&Memory->blockMethodMirrorObj)                                   \
    template(&Memory->floatMirrorObj)                                         \
    template(&Memory->objVectorMirrorObj)                                     \
    template(&Memory->slotsMirrorObj)                                         \
    template(&Memory->smiMirrorObj)                                           \
    template(&Memory->stringMirrorObj)                                        \
    template(&Memory->processMirrorObj)                                       \
    template(&Memory->outerActivationMirrorObj)                               \
    template(&Memory->blockActivationMirrorObj)                               \
    template(&Memory->proxyMirrorObj)                                         \
    template(&Memory->fctProxyMirrorObj)                                      \
    template(&Memory->profilerMirrorObj)                                      \
    template(&Memory->mirrorMirrorObj)                                        \
                                                                              \
    template(&Memory->objectIDArray)                                          \
    template(&BugHuntNames)                                                   \

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/self-interest
http://www.egroups.com - Simplifying group communications






More information about the Self-interest mailing list