VirtualBox

Ignore:
Timestamp:
Jan 28, 2007 12:02:50 AM (18 years ago)
Author:
vboxsync
Message:

Use the vm_map_wire mode as it appears to be kinder to heap consumption.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp

    r392 r394  
    3535#include "internal/memobj.h"
    3636
    37 /*#define USE_VM_MAP_WIRE*/
     37#define USE_VM_MAP_WIRE
    3838
    3939
     
    382382            return VINF_SUCCESS;
    383383        }
     384
    384385        kr = vm_map_unwire(get_task_map(Task), (vm_map_offset_t)pv, (vm_map_offset_t)pv + cb, 0 /* not user */);
    385386        Assert(kr == KERN_SUCCESS);
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