1.1 --- a/src/os/bsd/vm/perfMemory_bsd.cpp Wed Aug 27 09:36:55 2014 +0200 1.2 +++ b/src/os/bsd/vm/perfMemory_bsd.cpp Wed Aug 27 08:19:12 2014 -0400 1.3 @@ -753,7 +753,7 @@ 1.4 (void)::memset((void*) mapAddress, 0, size); 1.5 1.6 // it does not go through os api, the operation has to record from here 1.7 - MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC); 1.8 + MemTracker::record_virtual_memory_reserve_and_commit((address)mapAddress, size, CURRENT_PC, mtInternal); 1.9 1.10 return mapAddress; 1.11 } 1.12 @@ -918,7 +918,7 @@ 1.13 } 1.14 1.15 // it does not go through os api, the operation has to record from here 1.16 - MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC); 1.17 + MemTracker::record_virtual_memory_reserve_and_commit((address)mapAddress, size, CURRENT_PC, mtInternal); 1.18 1.19 *addr = mapAddress; 1.20 *sizep = size;