VirtualBox

Changeset 79788 in vbox for trunk


Ignore:
Timestamp:
Jul 15, 2019 11:41:35 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132155
Message:

IPRT/lockvalidator: Changed rtLockValidatorRecSharedMakeRoom() to grow by 16 entires instead of just 1, code should've been tested sufficiently by now (it's been 9 years).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r79787 r79788  
    38383838                 * Ok, still not enough space.  Reallocate the table.
    38393839                 */
    3840 #if 0  /** @todo enable this after making sure growing works flawlessly. */
    38413840                uint32_t                cInc = RT_ALIGN_32(pShared->cEntries - cAllocated, 16);
    3842 #else
    3843                 uint32_t                cInc = RT_ALIGN_32(pShared->cEntries - cAllocated, 1);
    3844 #endif
    38453841                PRTLOCKVALRECSHRDOWN   *papOwners;
    38463842                papOwners = (PRTLOCKVALRECSHRDOWN *)RTMemRealloc((void *)pShared->papOwners,
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