Skip to content
  • fpizlo@apple.com's avatar
    It's called "Hash Consing" not "Hash Consting" · 8fa6e667
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=112768
    
    Rubber stamped by Mark Hahnenberg.
            
    See http://en.wikipedia.org/wiki/Hash_consing
    
    * heap/GCThreadSharedData.cpp:
    (JSC::GCThreadSharedData::GCThreadSharedData):
    (JSC::GCThreadSharedData::reset):
    * heap/GCThreadSharedData.h:
    (GCThreadSharedData):
    * heap/SlotVisitor.cpp:
    (JSC::SlotVisitor::SlotVisitor):
    (JSC::SlotVisitor::setup):
    (JSC::SlotVisitor::reset):
    (JSC::JSString::tryHashConsLock):
    (JSC::JSString::releaseHashConsLock):
    (JSC::JSString::shouldTryHashCons):
    (JSC::SlotVisitor::internalAppend):
    * heap/SlotVisitor.h:
    (SlotVisitor):
    * runtime/JSGlobalData.cpp:
    (JSC::JSGlobalData::JSGlobalData):
    * runtime/JSGlobalData.h:
    (JSGlobalData):
    (JSC::JSGlobalData::haveEnoughNewStringsToHashCons):
    (JSC::JSGlobalData::resetNewStringsSinceLastHashCons):
    * runtime/JSString.h:
    (JSC::JSString::finishCreation):
    (JSString):
    (JSC::JSString::isHashConsSingleton):
    (JSC::JSString::clearHashConsSingleton):
    (JSC::JSString::setHashConsSingleton):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8fa6e667