• Rudi Chen's avatar
    Fix class-freed-before-instance-bug. · e70f6d88
    Rudi Chen authored
    In some rare instances, class objects can be freed before the last
    instance of that class, causing a problem in the sweep phase where
    we look at the class of the object being freed.
    
    So we keep unreachable classes around for an extra collection to be
    safe.
    e70f6d88
heap.cpp 27.1 KB