VirtualBox

Changeset 18811 in vbox for trunk/src/VBox/VMM/PGMPhys.cpp


Ignore:
Timestamp:
Apr 7, 2009 12:21:17 PM (16 years ago)
Author:
vboxsync
Message:

PGMPhys.cpp,MMHyper.cpp: The MMR3UkHeap bits seems to be working and we're not running out of heap as the guest uses more and more of the memory. Removed the old disabled code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r18792 r18811  
    27852785     * Allocate a new tracking structure first.
    27862786     */
    2787 #if 1 /* disable on regression */
    27882787# ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    27892788    PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3HeapAlloc(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk));
     
    27922791# endif
    27932792    AssertReturn(pChunk, VERR_NO_MEMORY);
    2794 #else
    2795     PPGMCHUNKR3MAP pChunk;
    2796     rc = MMHyperAlloc(pVM, sizeof(*pChunk), 0, MM_TAG_PGM_CHUNK_MAPPING, (void **)&pChunk);
    2797     AssertRCReturn(rc, rc);
    2798 #endif
    27992793    pChunk->Core.Key = idChunk;
    28002794    pChunk->AgeCore.Key = pVM->pgm.s.ChunkR3Map.iNow;
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