1.1 --- a/src/os/solaris/vm/perfMemory_solaris.cpp Wed Aug 27 09:36:55 2014 +0200 1.2 +++ b/src/os/solaris/vm/perfMemory_solaris.cpp Wed Aug 27 08:19:12 2014 -0400 1.3 @@ -770,7 +770,8 @@ 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, 1.9 + size, CURRENT_PC, mtInternal); 1.10 1.11 return mapAddress; 1.12 } 1.13 @@ -941,7 +942,8 @@ 1.14 } 1.15 1.16 // it does not go through os api, the operation has to record from here 1.17 - MemTracker::record_virtual_memory_reserve((address)mapAddress, size, mtInternal, CURRENT_PC); 1.18 + MemTracker::record_virtual_memory_reserve_and_commit((address)mapAddress, 1.19 + size, CURRENT_PC, mtInternal); 1.20 1.21 *addr = mapAddress; 1.22 *sizep = size;