Ignore:
Timestamp:
Sep 18, 2008, 4:30:23 PM (17 years ago)
Author:
Darin Adler
Message:

2008-09-18 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • JavaScriptCore.exp: Updated, and also added an export needed for future WebCore use of JSC::StructureID.
  • wtf/RefCountedLeakCounter.cpp: (WTF::RefCountedLeakCounter::suppressMessages): Added. (WTF::RefCountedLeakCounter::cancelMessageSuppression): Added. (WTF::RefCountedLeakCounter::RefCountedLeakCounter): Tweaked a bit. (WTF::RefCountedLeakCounter::~RefCountedLeakCounter): Added code to log the reason there was no leak checking done. (WTF::RefCountedLeakCounter::increment): Tweaked a bit. (WTF::RefCountedLeakCounter::decrement): Ditto.
  • wtf/RefCountedLeakCounter.h: Replaced setLogLeakMessages with two new functions, suppressMessages and cancelMessageSuppression. Also added m_ prefixes to the data member names.

2008-09-18 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

  • WebView/WebPreferences.mm: (-[WebPreferences setFullDocumentTeardownEnabled:]): Removed unneeded call to setLogLeakMessages.
  • WebView/WebView.mm: (-[WebView _closeWithFastTeardown]): Call RefCountedLeakCounter::suppressMessages, telling it that we can't track leaks because at least one WebView was closed with fast teardown. (-[WebView _close]): Removed unneeded call to setLogLeakMessages. Added a call to cancelMessageSuppression since the WebView is no longer open. Added an explicit garbage collect to help with the case where we're closing during the quit process -- the garbageCollectSoon() calls done inside WebCore won't help us in that case. (-[WebView initWithFrame:frameName:groupName:]): Call RefCountedLeakCounter::suppressMessages telling it that we can't track leaks because at least one WebView is currently open.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r36417 r36631  
    111111__ZN3JSC11StructureID24fromDictionaryTransitionEPS0_
    112112__ZN3JSC11StructureID25changePrototypeTransitionEPS0_PNS_7JSValueE
     113__ZN3JSC11StructureIDC1EPNS_7JSValueENS_6JSTypeE
    113114__ZN3JSC11StructureIDD1Ev
    114115__ZN3JSC12DateInstance4infoE
     
    262263__ZN3WTF16callOnMainThreadEPFvPvES0_
    263264__ZN3WTF16fastZeroedMallocEm
    264 __ZN3WTF18setLogLeakMessagesEb
    265265__ZN3WTF19initializeThreadingEv
     266__ZN3WTF21RefCountedLeakCounter16suppressMessagesEPKc
     267__ZN3WTF21RefCountedLeakCounter24cancelMessageSuppressionEPKc
    266268__ZN3WTF21RefCountedLeakCounter9decrementEv
    267269__ZN3WTF21RefCountedLeakCounter9incrementEv
Note: See TracChangeset for help on using the changeset viewer.