Changeset 106405 in vbox
- Timestamp:
- Oct 16, 2024 9:24:15 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veExecMem.cpp
r106378 r106405 416 416 } 417 417 418 uint32_t const offPruneEnd = RT_MIN(offChunk + cbToPrune, cbChunk); 418 uint32_t const offPruneStart = offChunk; 419 uint32_t const offPruneEnd = RT_MIN(offChunk + cbToPrune, cbChunk); 419 420 420 421 /* … … 480 481 /* Set the hint to the start of the pruned region. */ 481 482 pExecMemAllocator->idxChunkHint = idxChunk; 482 pExecMemAllocator->aChunks[idxChunk].idxFreeHint = off Chunk/ IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SIZE;483 pExecMemAllocator->aChunks[idxChunk].idxFreeHint = offPruneStart / IEMEXECMEM_ALT_SUB_ALLOC_UNIT_SIZE; 483 484 484 485 STAM_REL_PROFILE_STOP(&pExecMemAllocator->StatPruneProf, a);
Note:
See TracChangeset
for help on using the changeset viewer.