VirtualBox

Changeset 37518 in vbox for trunk


Ignore:
Timestamp:
Jun 16, 2011 7:25:50 PM (13 years ago)
Author:
vboxsync
Message:

TM.cpp: Re-enabled assertion that triggered because of virtual sync timers standing to long in the rescheduling queue. (#2753)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r37517 r37518  
    20892089        STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncRunStoppedAlready);
    20902090        u64Now = pVM->tm.s.u64VirtualSync;
    2091 #ifdef DEBUG_bird
    20922091        Assert(u64Now <= pNext->u64Expire);
    2093 #endif
    20942092    }
    20952093    else
     
    21622160
    21632161    /* assert sanity */
    2164 #ifdef DEBUG_bird
    21652162    Assert(u64Now <= u64VirtualNow - offSyncGivenUp);
    21662163    Assert(u64Max <= u64VirtualNow - offSyncGivenUp);
    21672164    Assert(u64Now <= u64Max);
    21682165    Assert(offSyncGivenUp == pVM->tm.s.offVirtualSyncGivenUp);
    2169 #endif
    21702166
    21712167    /*
    21722168     * Process the expired timers moving the clock along as we progress.
    21732169     */
    2174 #ifdef DEBUG_bird
    21752170#ifdef VBOX_STRICT
    21762171    uint64_t u64Prev = u64Now; NOREF(u64Prev);
    2177 #endif
    21782172#endif
    21792173    while (pNext && pNext->u64Expire <= u64Max)
     
    21932187        /* Advance the clock - don't permit timers to be out of order or armed
    21942188           in the 'past'. */
    2195 #ifdef DEBUG_bird
    21962189#ifdef VBOX_STRICT
    21972190        AssertMsg(pTimer->u64Expire >= u64Prev, ("%'RU64 < %'RU64 %s\n", pTimer->u64Expire, u64Prev, pTimer->pszDesc));
    21982191        u64Prev = pTimer->u64Expire;
    2199 #endif
    22002192#endif
    22012193        ASMAtomicWriteU64(&pVM->tm.s.u64VirtualSync, pTimer->u64Expire);
     
    22472239        const uint64_t u64VirtualNow2 = TMVirtualGetNoCheck(pVM);
    22482240        Assert(u64VirtualNow2 >= u64VirtualNow);
    2249 #ifdef DEBUG_bird
    22502241        AssertMsg(pVM->tm.s.u64VirtualSync >= u64Now, ("%'RU64 < %'RU64\n", pVM->tm.s.u64VirtualSync, u64Now));
    2251 #endif
    22522242        const uint64_t offSlack = pVM->tm.s.u64VirtualSync - u64Now;
    22532243        STAM_STATS({
Note: See TracChangeset for help on using the changeset viewer.

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