VirtualBox

Changeset 2945 in kBuild


Ignore:
Timestamp:
Sep 20, 2016 1:46:23 AM (9 years ago)
Author:
bird
Message:

kFsCache: Finally tracked down the heap corruption bug in the directory refreshing code. Added kFsCacheObjReleaseTagged for debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/kFsCache.h

    r2930 r2945  
    488488
    489489KU32        kFsCacheObjRelease(PKFSCACHE pCache, PKFSOBJ pObj);
     490KU32        kFsCacheObjReleaseTagged(PKFSCACHE pCache, PKFSOBJ pObj, const char *pszWhere);
     491#ifndef NDEBUG /* enable to debug object release. */
     492# define kFsCacheObjRelease(a_pCache, a_pObj) kFsCacheObjReleaseTagged(a_pCache, a_pObj, __FUNCTION__)
     493#endif
    490494KU32        kFsCacheObjRetain(PKFSOBJ pObj);
    491495PKFSUSERDATA kFsCacheObjAddUserData(PKFSCACHE pCache, PKFSOBJ pObj, KUPTR uKey, KSIZE cbUserData);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette