Ignore:
Timestamp:
Dec 2, 2009, 10:25:58 PM (15 years ago)
Author:
[email protected]
Message:

Add zombies to JSC
https://bugs.webkit.org/show_bug.cgi?id=32103

Reviewed by Gavin Barraclough.

Add a compile time flag to make the JSC collector replace "unreachable"
objects with zombie objects. The zombie object is a JSCell subclass that
ASSERTs on any attempt to use the JSCell methods. In addition there are
a number of additional assertions in bottleneck code to catch zombie usage
as quickly as possible.

Grrr. Argh. Brains.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Collector.h

    r49365 r51624  
    6161        size_t numLiveObjectsAtLastCollect;
    6262        size_t extraCost;
     63#if ENABLE(JSC_ZOMBIES)
     64        size_t numZombies;
     65#endif
    6366
    6467        OperationInProgress operationInProgress;
Note: See TracChangeset for help on using the changeset viewer.