Skip to content
  • mjs's avatar
    JavaScriptCore: · f5bf985d
    mjs authored
            Reviewed by Hyatt.
            
            - change JavaScript collector statistics calls to use HashCountedSet instead
            of CFSet; other misc cleanup
            http://bugzilla.opendarwin.org/show_bug.cgi?id=7072
            
            * kjs/collector.cpp:
            (KJS::Collector::numProtectedObjects): renamed from numReferencedObjects
            (KJS::typeName):
            (KJS::Collector::rootObjectTypeCounts): renamed from rootObjectClasses,
            use HashSet
            * kjs/collector.h:
            (KJS::Collector::isOutOfMemory): Renamed from outOfMemory.
            * kjs/nodes.cpp:
    
    WebCore:
    
            Reviewed by Hyatt.
    
            - change JavaScript collector statistics calls to use HashCountedSet instead
            of CFSet; other misc cleanup
            http://bugzilla.opendarwin.org/show_bug.cgi?id=7072
    
            * kwq/WebCoreJavaScript.h:
            * kwq/WebCoreJavaScript.mm:
            (+[WebCoreJavaScript protectedObjectCount]): Renamed from referencedObjectCounts
            (+[WebCoreJavaScript rootObjectTypeCounts]): Renamed from rootObjectClasses,
            changed from NSSet to NSCountedSet.
    
    WebKit:
    
            Reviewed by Hyatt.
    
            - change JavaScript collector statistics calls to use HashCountedSet instead
            of CFSet; other misc cleanup
            http://bugzilla.opendarwin.org/show_bug.cgi?id=7072
    
            * Misc.subproj/WebCoreStatistics.h:
            * Misc.subproj/WebCoreStatistics.m:
            (+[WebCoreStatistics javaScriptProtectedObjectsCount]): new
            (+[WebCoreStatistics javaScriptRootObjecTypeCounts]): new
            (+[WebCoreStatistics javaScriptRootObjectClasses]): deprecated
            (+[WebCoreStatistics javaScriptReferencedObjectsCount]): deprecated
            (+[WebCoreStatistics javaScriptNoGCAllowedObjectsCount]): Just return 0. Deprecated.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f5bf985d